PHP: The latest news in the PHP world
submitted by /u/paragon_init [link] [comments]
Hey everyone, we recently realized that when using PHP's built in timeout mechanisms like set_time_limit or similar ones, not all the time spent in the request is being counted towards that time limit. CURL calls for example don't get included so if you start with a time limit of 10s, you can no problem make 5 HTTP calls of 3s each and spend 15s in...
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),...
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...
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...