Ask questions about frameworks, try your hand at php golf and strike gold or simply show off your latest work.
376 followers 30 artículos/semana
Need some help!

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)...

Mon May 13, 2024 21:05
As a senior developer, how do you choose which framework to use or which one is better?

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...

Mon May 13, 2024 18:05
Shorthand or multi-line "if-else" statements

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...

Mon May 13, 2024 12:04
PHPStan 1.11 With Error Identifiers, PHPStan Pro Reboot and Much More

submitted by /u/OndrejMirtes [link] [comments]

Mon May 13, 2024 12:04
Weekly help thread

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]

Mon May 13, 2024 09:04
Laravel Under The Hood - The Strategy Pattern

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...

Mon May 13, 2024 01:01

Crea tu propio feed de noticias

¿Listo para probarlo?
Comienza una prueba de 14 días, no es necesaria tarjeta de crédito.

Crear cuenta