Update page '[DRAFT] List of PHP weakness AerScript addresses'
parent
da5da345f1
commit
36d2d4ee72
@ -5,4 +5,5 @@ 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 object’s 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.
|
||||
6. Incrementing a NULL produces 1, while decrementing NULL produces NULL. Only numeric values could allow these operations.
|
||||
7. New functionality is implemented as function (eg. array() or list(), but also include(), etc...) - already partially fixed.
|
Loading…
Reference in New Issue
Block a user