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