From:             [EMAIL PROTECTED]
Operating system: RedHat 7.3
PHP version:      4.2.1
PHP Bug Type:     Scripting Engine problem
Bug description:  register_argc_argv on command line

I've been using 4.1.2, but just compiled and installed 4.2.1.  I compiled
as a CGI, and run local scripts from the command line like this:

#!/usr/local/php/bin -q -d register_argc_argv=1
<?php print 'hello'; ?>

This has been working fine, but with 4.2.1, I get the odd error:

Error in argument 1, char 3: option not found
Error in argument 1, char 4: option not found -
Error in argument 1, char 3: option not found

I've compiled 4.2.1 both as a regular CGI and with --enable-cli.  Both are
the same as well.

Thanks,

Hans
-- 
Edit bug report at http://bugs.php.net/?id=17348&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=17348&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=17348&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=17348&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=17348&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17348&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=17348&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=17348&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=17348&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=17348&r=globals

Reply via email to