-
Couldn't load subscription status.
- Fork 8k
Description
Description
ReflectionClass could return isUserDefined() or not
Most angry case for me when migration old goddamn projects to PHP8 from old 7/5 is REQUIREMENT to reimplement ANY class that based on PHP internals like \ArrayAccess, \Countable, \Serializable, \IteratorAggregate and so on
Damn, once i copy 700 classes (and then create 300 factories) just to add mixed to return type of ->offsetGet() and ->jsonSerialize()
Please, add the flag in PHP 8.5 config (or what) to ignore signature check for Internal classes only. Please.
Also would be great if your team write DLL that can be installed on PHP 5/7 that ignores (just ignores!) property types and attributes from PHP8 giving ENOUGH code migration support, then we can copy PHP8 class and... just use it!
Accidentally your "community RFC" forces all the world to rewrite their own projects from scratch.
And accidentally (!) yes, then "GoLang" start to be VERY ATTRACTIVE to half of the people.
I know that this reply could appear 5 years before... But it has to appear.