Changes to $GLOBALS
23/32
Change Default mysqli Error Mode
Phasing out Serializable interface
Writes to
$GLOBALS
as a whole are no longer supported
Generates compile-time error:
$GLOBALS = [];
$GLOBALS += [];
This no longer modifies
$a
:
$a = 4;
$globals = $GLOBALS;
$globals['a'] = 1;
var_dump($a);
int(4)