Category: PHP

PHP.

PHPUnit data provider methods can have protected/private visibility in PHP 8.1+

Just accidentally stumbled on this… Was mindlessly making methods private – everything worked locally but broke on another machine. Seems related to this: https://www.php.net/manual/en/migration81.other-changes.php#migration81.other-changes.functions.reflection https://3v4l.org/c92Io That's it… Just felt like sharing. Probably still best to keep these methods public. submitted by /u/ssnepenthe [link] [comments] * This article was originally published here

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] * This article was originally published here

I like the PHP constant RAM characteristics under a load but struggle to find a semi-decent req/s PHP framework/library for API backends

I like PHP, it's the third language I learned after Basic and Pascal. So, I would like to use it for my web project which containes an API backend behind a Nginx proxy server and a MySQL (probably also Redis for storing the most searched/used DB stuff/queries and speeding things up) I did some hello-world…

PHP Annotated – September 2022

Greetings everyone! Welcome to the September installment of PHP Annotated, where we’ll catch up on the most interesting things that have happened in the PHP world over the last month, including curated news, articles, tools, and videos. News PHP 8.2 RC 3 has been released Another RC has been delivered according to the schedule. The…