Doc #60835 [Opn->Csd]: __halt_compiler is a keyword (not in the manual)

From: Date: Sat, 21 Jan 2012 22:07:45 +0000
Subject: Doc #60835 [Opn->Csd]: __halt_compiler is a keyword (not in the manual)
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-7805@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60835&edit=1 ID: 60835 Updated by: frozenfire@php.net Reported by: 0gb dot us at 0gb dot us Summary: __halt_compiler is a keyword (not in the manual) -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: none PHP Version: Irrelevant -Assigned To: +Assigned To: frozenfire Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2012-01-21 22:07:29] frozenfire@php.net Automatic comment from SVN on behalf of frozenfire Revision: http://svn.php.net/viewvc/?view=revision&revision=322547 Log: Added __halt_compiler to list of language constructs. Closes bug #60835. ------------------------------------------------------------------------ [2012-01-21 21:42:35] 0gb dot us at 0gb dot us Editing package type. ------------------------------------------------------------------------ [2012-01-21 21:40:57] 0gb dot us at 0gb dot us 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 this bug report at https://bugs.php.net/bug.php?id=60835&edit=1

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