Can you try the latest CVS version? It should be fixed there. Let me know... Thanks, Andi
At 11:04 PM 6/24/2002 +0200, Marcus Boerger wrote: >Since i use ZendEngine2 i cannot use global $argc,$argv. > >Example: > >function somefunction() { > global $argc, $argv; >} > >worked before ZE2, PHP-3.0-dev >now i get: Fatal error - Can't assign by reference non-referencable value! > >function somefunction() { > $argc = $GLOBALS['argc']; > $argv = $GLOBALS['argv']; >} > >works just fine. > >I assume global creates a reference and checks if the variable is writeable. >But a readonly variable or constant *should* also be referenceable. > >regards >marcus > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php