From: jidanni at jidanni dot org Operating system: linux PHP version: 5.2.9 PHP Bug Type: Feature/Change Request Bug description: check all of command line for bad args
Description: ------------ Many command line arguments should print an error if there is unexpected junk abord: $ php -l LocalSettings.php ZZZZZ No syntax errors detected in LocalSettings.php $ php -l ZZZZZ LocalSettings.php Could not open input file: ZZZZZ We see only the first argument is ever parsed. There should be an error for the first line too. -l is affected, and probably many other options are too. -- Edit bug report at http://bugs.php.net/?id=47541&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47541&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47541&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47541&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47541&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47541&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47541&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47541&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47541&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47541&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47541&r=support Expected behavior: http://bugs.php.net/fix.php?id=47541&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47541&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47541&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47541&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47541&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47541&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47541&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47541&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47541&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47541&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47541&r=mysqlcfg
