From 4c4a26d7539c1a05c16825d007a7dc9ae1df9ba3 Mon Sep 17 00:00:00 2001 From: Rafal Kupiec Date: Mon, 9 Sep 2019 20:34:20 +0200 Subject: [PATCH] --- %5BDRAFT%5D-List-of-PHP-weakness-AerScript-addresses.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/%5BDRAFT%5D-List-of-PHP-weakness-AerScript-addresses.md b/%5BDRAFT%5D-List-of-PHP-weakness-AerScript-addresses.md index cbaede4..7b4c0ec 100644 --- a/%5BDRAFT%5D-List-of-PHP-weakness-AerScript-addresses.md +++ b/%5BDRAFT%5D-List-of-PHP-weakness-AerScript-addresses.md @@ -1,7 +1,7 @@ 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. +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).