Doc #72444 [Opn->Csd]: Documentation doesn't reflect loosening of reserved word restrictions

From: Date: Fri, 17 Jun 2016 17:42:16 +0000
Subject: Doc #72444 [Opn->Csd]: Documentation doesn't reflect loosening of reserved word restrictions
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-13550@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72444&edit=1 ID: 72444 Updated by: cmb@php.net Reported by: junk at talpa dot plus dot com Summary: Documentation doesn't reflect loosening of reserved word restrictions -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: ALL PHP Version: 7.0.7 -Assigned To: +Assigned To: cmb 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: ------------------------------------------------------------------------ [2016-06-17 17:41:42] cmb@php.net Automatic comment from SVN on behalf of cmb Revision: http://svn.php.net/viewvc/?view=revision&revision=339385 Log: Fix #72444: Documentation doesn't reflect loosening of reserved word restrictions ------------------------------------------------------------------------ [2016-06-17 16:02:56] junk at talpa dot plus dot com Description: ------------ --- From manual page: http://www.php.net/reserved.keywords --- "You cannot use any of the following words as constants, class names, function or method names". As of PHP 7 however - these words *can* be used as constants and method names as per http://php.net/manual/en/migration70.other-changes.php Test script: --------------- Visit http://www.php.net/reserved.keywords Expected result: ---------------- The page reflects the situations in which reserved words cannot be used with appropriate note about 7.0 vs. pre-7.0 Actual result: -------------- The page reflects out of date information which isn't accurate with the current release of PHP. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=72444&edit=1

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