php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #17276 example in CLI docs uses CGI command line option
Submitted: 2002-05-16 15:37 UTC Modified: 2002-05-16 16:54 UTC
From: steffann@php.net Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.2.1 OS: -
Private report: No CVE-ID: None
 [2002-05-16 15:37 UTC] steffann@php.net
The page at /manual/en/features.commandline.php uses a CGI-only option in the last example:

Example 24-2. Batch file to run a command line PHP script (script.bat)

@c:\php\php.exe -q script.php %1 %2 %3 %4 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-16 15:39 UTC] jan@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php
 [2002-05-16 15:46 UTC] goba@php.net
This *is* a bug. The CLI version, command line options, etc. is explained in the text but the example uses the CGI version. Reopening.
 [2002-05-16 16:54 UTC] goba@php.net
OK, I had the time and facilities to correct this bug. I hope it will be OK now. It will show up in some days in the manual.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Jul 18 18:00:02 2025 UTC