From 2eb8cfe2d41125066a57bde39c7f854a3b63b67b Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Mon, 18 Aug 2008 08:28:06 +0000 Subject: [PATCH] * Added missing T_GOTO parser token * goto is a reserved keyword as of 5.3, not 6.0 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265049 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/reserved.xml | 4 ++-- appendices/tokens.xml | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/appendices/reserved.xml b/appendices/reserved.xml index dacecb57cf..3644d7cd63 100755 --- a/appendices/reserved.xml +++ b/appendices/reserved.xml @@ -1,5 +1,5 @@ - + List of Reserved Words @@ -271,7 +271,7 @@ namespace (as of PHP 5.3) - goto (PHP 6 only) + goto (as of PHP 5.3) __DIR__ (as of PHP 5.3) diff --git a/appendices/tokens.xml b/appendices/tokens.xml index 5a83aaa9de..c85c75ecfa 100644 --- a/appendices/tokens.xml +++ b/appendices/tokens.xml @@ -1,5 +1,5 @@ - + List of Parser Tokens @@ -337,6 +337,11 @@ global variable scope + + T_GOTO + goto + undocumented (available since PHP 5.3.0) + T_HALT_COMPILER __halt_compiler()