PHP: The latest news in the PHP world
Hey everyone. I have some problems logging in into my survey. The following debug information was shown. Maybe someone can help me, because the support is not answering. Thanks!! 🙏🏻 SimpleSAML\Error\Error: UNHANDLEDEXCEPTION Backtrace: 2 public/_include.php:28 (SimpleSAML_exception_handler) 1 vendor/symfony/error-handler/ErrorHandler.php:607 (Symfony\Component\ErrorHandler\ErrorHandler::handleException)...
I know that there are many debates on the subject but in general what are you looking at when you are choosing a framework? I would like to know what is the thinking process, I can see people defending specific frameworks to death so i want to know why. I'm somewhere between junior and senior so i'm using the frameworks and understand design patterns...
I know this is a matter of opinion, but I'd like to see if there is a preferred / best-practice way to handle "if-else" statements. This only applies to 2 state or "boolean-like" statements. e.g. multi-line: if ( $age >= 18 ) { $restrict = false; } else { $restrict = true; } or shorthand: $restrict = ( $age >= 18 ) ? false : true; Which do you...
submitted by /u/OndrejMirtes [link] [comments]
Hey there! This subreddit isn't meant for help threads, though there's one exception to the rule: in this thread you can ask anything you want PHP related, someone will probably be able to help you out! submitted by /u/brendt_gd [link] [comments]
Have you ever wondered how Laravel switches between different drivers' implementations? Well, hang tight, we will learn how! TL;DR: We will discuss the strategy pattern in Laravel, how it works under the hood, and we will also discuss two other patterns: the builder pattern and the pending object pattern. Any feedback or questions are welcome. I've...
Crea tu propio feed de noticias
¿Listo para probarlo?
Comienza una prueba de 14 días, no es necesaria tarjeta de crédito.