Reading view

phpsadness is outdated. what's changed since then?

phpsadness.com

This weird site highlighted many issues with PHP.
But, hasn't been updated since 2018.

Let's take a look at the changes in PHP.
I've kept the same order as on the website.

'*' is fix or changed php version

Useless Error Reporting

#16 Exception thrown without a stack frame

* php 8.5

#1 Unexpected T_PAAMAYIM_NEKUDOTAYIM

* php 8.0

#7 Parse error: syntax error, unexpected T_SL in...

* php 8.0

#54 Empty T_ENCAPSED_AND_WHITESPACE tokens

* php 8.0

INCONSISTENCY

#52 Comparison operators

* He created an example that violates PHP's type casting.

Outright Bugs

#50 Segfault during deep recursion

* php 8.3 bug fixed

#30 Ternary operator associativity

* php 8.0

#39 Declaring a function called __lambda_func() completely breaks create_function()

* php 8.0 removed the funciton

Misleading/Confusing topics

#27 Bad function names - parse_str()

* php 8.5 new URL parser class

Arbitrary Restrictions

#14 - Can't throw exceptions from __toString() functions

* php 8.0

Object-Oriented System Issues

#8 Implementing all the right methods (array) still doesn't work in array functions

* php 8.0 (deprecated because TypeError)

Wow, PHP has improved a lot over the years.
I'd like to thank everyone who works on PHP !

submitted by /u/rioco64 to r/PHP
[link] [comments]
❌