Bug #13441 Updated: Evaluation of {$ in strings

From: Date: Tue, 25 Sep 2001 20:47:07 +0000
Subject: Bug #13441 Updated: Evaluation of {$ in strings
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-66597@lists.php.net to get a copy of this message
ID: 13441 Updated by: derick Reported By: john@scl.co.uk Old Status: Open Status: Bogus Bug Type: Scripting Engine problem Operating System: linux PHP Version: 4.0.5 New Comment: Not a bug: Steve writes: This behavior is clearly documented in the manual under "Migrating from PHP 3.0 to PHP 4.0" http://www.php.net/manual/en/migration4.strings.php Previous Comments: ------------------------------------------------------------------------ [2001-09-25 15:26:43] john@scl.co.uk $x="hello"; echo "1={$x} 2=\{$x}" -> 1=hello 2={hello} It "should" have produced -> 1={hello} 2=\{hello} No doubt this is related to evaluation of variable variables but the behavior has certainly changed since PHP3 and I think it deserves to be called a bug? ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13441&edit=1

« previous php.dev (#66597) next »