Bug #52515 [NEW]: php -l (lint) documentation incorrect/confusing
| From: | exaxngxums at mailinator dot com | Date: | Mon, 02 Aug 2010 13:13:18 +0000 |
| Subject: | Bug #52515 [NEW]: php -l (lint) documentation incorrect/confusing | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-4781@lists.php.net to get a copy of this message | ||
From:
Operating system:
PHP version: 5.3.3
Package: Documentation problem
Bug Type: Bug
Bug description:php -l (lint) documentation incorrect/confusing
Description:
------------
Under the -l option at
http://php.net/manual/en/features.commandline.options.php
it says
"This option won't find fatal errors (like undefined functions). Use -f
if you would like to test for fatal errors too."
"-f"? Really? That doesn't make any sense, given what -f is for (actually
running the script).
I asked on the users mailing list and Peter Lnid said
"Sounds like a roundabout way of saying "You can only find run-time
errors (such as undefined functions) by actually running the script".
Could definitely need some clarification"
I agree with him, on both points. Please make it explicitly clear what you
mean.
--
Edit bug report at http://bugs.php.net/bug.php?id=52515&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52515&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52515&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52515&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=52515&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52515&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=52515&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=52515&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=52515&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=52515&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=52515&r=support
Expected behavior: http://bugs.php.net/fix.php?id=52515&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=52515&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=52515&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=52515&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52515&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52515&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=52515&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=52515&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=52515&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=52515&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=52515&r=mysqlcfg