Ask questions about frameworks, try your hand at php golf and strike gold or simply show off your latest work.
376 followers 27 статия/седмица
Is it Possible to Force a SQL Pulled String Displayed in FPDF to have Different Sizing to Another String in the Same Double Quotes/Cell?

Context This project is for an invoice application that generates a pdf from a button click. Its plain and simple, approched with the MVP concept. Over time, I did add a few details but they do not interfere with the PDF generation. My Tool Belt The tools I've used for R&D are: M1 with Sonoma 14.3.1, Visual Studio Code Version: 1.89.1 (Universal),...

Tue May 14, 2024 09:05
PHP needs a fork

PHP is a great language but needs a fresh start in my opinion. It has so, so, so, much potential outside of web development. Why it can only be used for web development: get_current_user() returns the user who owns __FILE__, not the owner of the current process. is_file(), is_dir(), etc. cache their results. No multi-threading. Sometimes different...

Tue May 14, 2024 09:05
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

Създайте своя емисия с новини

Готови ли сте да опитате?
Стартирайте 14-дневен пробен период, не се изисква кредитна карта.

Създаване на акаунт