Update page '[DRAFT] List of PHP weakness AerScript addresses'
parent
fa14b0e7bf
commit
8bbaae0d04
@ -1 +1,7 @@
|
||||
List will go here.
|
||||
The list of PHP weakness, that are still not resolved, but AerScript is going to fix:
|
||||
|
||||
1. PHP returns NULL when trying to access non-existen array index.
|
||||
2. PHP does not allow to create final abstract class, that might be useful as a container for only static methods and properties.
|
||||
3. Inconsistent library implements builtin functions with different naming conventions. Some use underscores between words, while others do not.
|
||||
4. PHP implements completely broken comparison operators (eg: "0" equals to 0, NULL is less than -1 but it also equals to 0)
|
||||
5. Some functions that could do two slightly different things are implemented as two separate function (eg. sort() and rsort()), while some other functions does completely different things depending on context (eg. get_class($obj) returns the object’s class name. get_class() returns the name of the class the function is being called in).
|
Loading…
Reference in New Issue
Block a user