From 9e10c49739b8f49cb747d0c0a46ca049943e7e34 Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Tue, 19 Oct 2010 04:15:38 +0000 Subject: [PATCH] Fixed bug #52526 (Documentation for T_STRING implying bad programming style) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304494 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/tokens.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/appendices/tokens.xml b/appendices/tokens.xml index aa74b5377f..fc5df01e31 100644 --- a/appendices/tokens.xml +++ b/appendices/tokens.xml @@ -658,9 +658,12 @@ T_STRING - "$a['a']" - string array index - inside string + "parent" + + identifiers, e.g. strings, + object oriented keywords like parent and self, + functions, classes and more are matched. + T_STRING_CAST