Wednesday, November 28, 2012

PHP 5.4: Cannot re-assign auto-global variable GLOBALS

Error
Fatal error: Cannot re-assign auto-global variable GLOBALS in - on line 2

Solution You can't have a global variable or $_SESSION as a function argument any more in PHP 5.4, check the link below

https://bugs.php.net/bug.php?id=54657


1 comment:

  1. This is what I was looking for... Thanks for sharing here.

    ReplyDelete