. Removed ASP (<%) and script (<script language=php>) tags.
(RFC: https://wiki.php.net/rfc/remove_alternative_php_tags)
. call_user_method() and call_user_method_array() no longer exists.
+ . PHP 7 doesn't keep original values of arguments passed to user functions,
+ so func_get_arg() and func_get_args() will return current value of argument
+ instead of the actually passed. The following code is going to be affected:
+ function foo($x) { $x = 2; return func_get_arg(0);} var_dump(foo(1));
+ It will now produce 2, not 1.
+ . Function parameters with duplicate name are not allowed anymore. Definitions
+ like “function foo($x,$x) {}” will lead to compile time error.
- DBA
. dba_delete() now returns false if the key was not found for the inifile