Doc #60835 [NEW]: __halt_compiler is a keyword (not in the manual)

From: Date: Sat, 21 Jan 2012 21:40:57 +0000
Subject: Doc #60835 [NEW]: __halt_compiler is a keyword (not in the manual)
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-7802@lists.php.net to get a copy of this message
From: Operating system: none PHP version: Irrelevant Package: *Programming Data Structures Bug Type: Documentation Problem Bug description:__halt_compiler is a keyword (not in the manual) Description: ------------ --- From manual page: http://www.php.net/reserved.keywords --- I was just going to post a note, but I think this might qualify as missing documentation? "Missing documentation. Also, report that as a bug. " http://php.net/manual/add-note.php?sect=reserved.keywords&redirect=http://www.php.net/manual/en/reserved.keywords.php http://php.net/manual/en/function.halt-compiler.php http://php.net/manual/en/reserved.keywords.php I think the __halt_compiler() function should be listed in the list of PHP keywords. The name "__halt_compiler" cannot be used to name any function, class, constant, or namespace, just like other keywords that look like functions, such as isset() and print(). Trying will result in an unexpected T_HALT_COMPILER token. Test script: --------------- __halt_compiler() isn't listed on this page: http://php.net/manual/en/reserved.keywords.php Expected result: ---------------- __halt_compiler() should be listed on this page: http://php.net/manual/en/reserved.keywords.php Actual result: -------------- __halt_compiler() isn't listed on this page: http://php.net/manual/en/reserved.keywords.php -- Edit bug report at https://bugs.php.net/bug.php?id=60835&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60835&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60835&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60835&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=60835&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60835&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=60835&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=60835&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=60835&r=needscript Try newer version: https://bugs.php.net/fix.php?id=60835&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=60835&r=support Expected behavior: https://bugs.php.net/fix.php?id=60835&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=60835&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=60835&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=60835&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60835&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=60835&r=dst IIS Stability: https://bugs.php.net/fix.php?id=60835&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=60835&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=60835&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=60835&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=60835&r=mysqlcfg

« previous php.doc.bugs (#7802) next »