svn: /phpdoc/en/trunk/language/types/ string.xml

From: Date: Tue, 21 Sep 2010 00:30:34 +0000
Subject: svn: /phpdoc/en/trunk/language/types/ string.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7135@lists.php.net to get a copy of this message
joey Tue, 21 Sep 2010 00:30:34 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=303636 Log: Add an additional example of complex string syntax that doesn't work. Changed paths: U phpdoc/en/trunk/language/types/string.xml Modified: phpdoc/en/trunk/language/types/string.xml =================================================================== --- phpdoc/en/trunk/language/types/string.xml 2010-09-21 00:22:46 UTC (rev 303635) +++ phpdoc/en/trunk/language/types/string.xml 2010-09-21 00:30:34 UTC (rev 303636) @@ -638,6 +638,9 @@ echo "This is the value of the var named by the return value of getName(): {${getName()}}"; echo "This is the value of the var named by the return value of \$object->getName(): {${$object->getName()}}"; + +// Won't work, outputs: This is the return value of getName(): {getName()} +echo "This is the return value of getName(): {getName()}"; ?> ]]> <!-- maybe it's better to leave this out??

« previous php.doc.cvs (#7135) next »