Bug #53614 [Bgs]: Strings variable parsing - problematic example among complex syntax examples

From: Date: Thu, 10 Feb 2011 17:53:45 +0000
Subject: Bug #53614 [Bgs]: Strings variable parsing - problematic example among complex syntax examples
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5968@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53614&edit=1 ID: 53614 Updated by: rquadling@php.net Reported by: chealer at gmail dot com Summary: Strings variable parsing - problematic example among complex syntax examples Status: Bogus Type: Bug Package: Documentation problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: See http://docs.php.net/manual/en/language.types.string.php#language.types.string.parsing.complex Previous Comments: ------------------------------------------------------------------------ [2011-02-10 18:47:10] chealer at gmail dot com Huh, what is already where? ------------------------------------------------------------------------ [2011-02-10 14:15:40] vrana@php.net It's already there: echo "This is {$great}"; echo "This is ${great}"; ------------------------------------------------------------------------ [2010-12-27 03:20:22] chealer at gmail dot com Description: ------------ Strings variables parsing, documented on http://ca2.php.net/manual/en/language.types.string.php#language.types.string.parsing , has a complex form that puts an expression inside braces. This allows many kinds of expressions, so the page gives several examples, but one isn't an example of that: echo "This is ${great}"; I don't know where that example belongs. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=53614&edit=1

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