Update page '[DRAFT] List of PHP weakness AerScript addresses'

Rafal Kupiec 2019-05-17 13:17:00 +02:00
parent 8bbaae0d04
commit da5da345f1

@ -5,3 +5,4 @@ The list of PHP weakness, that are still not resolved, but AerScript is going to
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 objects class name. get_class() returns the name of the class the function is being called in).
6. Incrementing a NULL produces 1, while decrementing NULL produces NULL. Only numeric values could allow these operations.