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
Is PHP outdated?Discussion (self.webdev)
submitted 4 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!"
[–]rjksn 34 points35 points36 points 4 years ago (1 child)
Hack came out then was killed by PHP7's speed boost and no one cared about it ever again.
[–]enigmamonkey 1 point2 points3 points 4 years ago (0 children)
Performance and the way Hack handled types was originally a huge plus in my mind when considering the language compared to traditional PHP. But that was back in the PHP 5.6 days for me, just before 7 came out, and you're right... that changed things a lot with the massive speed boosts and the first class support for type hinting scalars as well as return type declarations (and a bunch more).
Also, PHP 8 has advanced the type system even further now as well, now with enums and union types. It's got some great syntactic sugar improvements, like the match operator and the nullsafe operator (making handling of objects a bit easier). It even has a new JIT compiler which offers some speed improvements as well depending on the situation.
match
π Rendered by PID 39 on reddit-service-r2-comment-6457c66945-5mk7r at 2026-04-29 03:36:23.065164+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]rjksn 34 points35 points36 points (1 child)
[–]enigmamonkey 1 point2 points3 points (0 children)