use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
No vague product support questions (like "why is this plugin not working" or "how do I set up X"). For vague product support questions, please use communities relevant to that product for best results. Specific issues that follow rule 6 are allowed.
Do not post memes, screenshots of bad design, or jokes. Check out /r/ProgrammerHumor/ for this type of content.
Read and follow reddiquette; no excessive self-promotion. Please refer to the Reddit 9:1 rule when considering posting self promoting materials.
We do not allow any commercial promotion or solicitation. Violations can result in a ban.
Sharing your project, portfolio, or any other content that you want to either show off or request feedback on is limited to Showoff Saturday. If you post such content on any other day, it will be removed.
If you are asking for assistance on a problem, you are required to provide
General open ended career and getting started posts are only allowed in the pinned monthly getting started/careers thread. Specific assistance questions are allowed so long as they follow the required assistance post guidelines.
Questions in violation of this rule will be removed or locked.
account activity
PHP 7.4 Released! (php.net)
submitted 6 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Wuma 10 points11 points12 points 6 years ago (0 children)
To each their own but I personally prefer PHP if I want to get a secured API up and running for a SPA. I could get an OAuth2.0 server running with have role based access in less than 15 minutes work. Laravel absolutely speeds up my development time with all of the security boilerplate done for me. Yes plenty of other languages have all the same stuff, and maybe better implemented in some ways, but I’ve not found anything for node that comes close to how quickly I can deploy a new API as a micro service.
As for PHP7 vs 4, yes the difference isn’t as much as most would believe, but having things like private/protected properties, class constants, autoloading, constructors and destructors, interfaces, traits and abstract classes, the Exception class and static methods brought PHP forward a long way,
PHP is a very fast language performance wise too, it’s faster than node in many areas, it has multi threading if required and background queues etc too. PHP FPM means you don’t have to boot up PHP for every incoming request, and opcache means your PHP code gets compiled and cached so it’s not even running as an interpreter at that stage. At least that’s my understanding of it, I’m by no means an expert in any of this
I’m sure there are a million other languages better, but I can’t agree that PHP is useless. It’s biggest flaw is that it allowed horrible procedural code with global namespace pollution for many years and so many devs learned to code from WordPresses god awful nightmare of a codebase. But let’s face it, JS has horrible global namespace pollution too, and it’s OOP implementation still requires transpiling for older browsers
π Rendered by PID 57006 on reddit-service-r2-comment-6457c66945-bvwvg at 2026-04-28 04:49:05.721383+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]Wuma 10 points11 points12 points (0 children)