ID:               17053
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Bogus
 Bug Type:         *General Issues
 Operating System: Windows
 PHP Version:      4.2.0
 New Comment:

That's not the problem. 
The problem is you're using the CGI-binary and you should use the
CLI-binary (php-cli.exe).
$argc and $argv will be registered regardless of the register_globals
setting.


Previous Comments:
------------------------------------------------------------------------

[2002-05-06 18:55:01] [EMAIL PROTECTED]

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.

------------------------------------------------------------------------

[2002-05-06 18:40:41] [EMAIL PROTECTED]

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

Reply via email to