Bug #17053 Updated: argc,argv not defined when running php -q

From: Date: Mon, 06 May 2002 22:55:01 +0000
Subject: Bug #17053 Updated: argc,argv not defined when running php -q
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7090@lists.php.net to get a copy of this message
ID: 17053 Updated by: alan_k@php.net Reported By: gribnaw@hotmail.com -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: Windows PHP Version: 4.2.0 New Comment: In PHP 4.2.0, the 'register_globals' setting default changed to be off. See http://www.php.net/release_4_2_0.php for more info. Previous Comments: ------------------------------------------------------------------------ [2002-05-06 18:40:41] gribnaw@hotmail.com On clean install of Windows binary 4.2.0 installer: While running php -q on windows release 4.2.0, argc and argv are not defined. The following script reproduces the error message: <?php print $argc; ?> This worked in 4.0.6. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17053&edit=1

« previous php.bugs (#7090) next »