#30544 [NEW]: conflicted -C descriptions
| From: | terrafrost at gmail dot com | Date: | Sat, 23 Oct 2004 19:03:31 +0000 |
| Subject: | #30544 [NEW]: conflicted -C descriptions | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969364638@lists.php.net to get a copy of this message | ||
From: terrafrost at gmail dot com
Operating system:
PHP version: 4.3.9
PHP Bug Type: Documentation problem
Bug description: conflicted -C descriptions
Description:
------------
The portion of the PHP manual entitled "Using PHP from the command line"
states that "The CGI SAPI supports the CLI SAPI behaviour by means of the
-C switch when run from the command line.":
http://us2.php.net/features.commandline
However, "php -h" says of the -C switch, "Do not chdir to the script's
directory".
Further, running php -Cr "echo 'test';" results in an error saying that
the -r switch doesn't exist, even though it should if it were acting like
the cli version.
So.. the doc would appear to be wrong.
--
Edit bug report at http://bugs.php.net/?id=30544&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30544&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30544&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30544&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30544&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30544&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30544&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30544&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30544&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30544&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30544&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30544&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30544&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30544&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30544&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30544&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30544&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30544&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30544&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30544&r=mysqlcfg