Re: Bug #13441: Evaluation of {$ in strings

From: Date: Tue, 25 Sep 2001 20:45:28 +0000
Subject: Re: Bug #13441: Evaluation of {$ in strings
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-66595@lists.php.net to get a copy of this message
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 <john@scl.co.uk> wrote in message news:bug-13441@bugs.php.net... > From: john@scl.co.uk > Operating system: linux > PHP version: 4.0.5 > PHP Bug Type: Scripting Engine problem > Bug description: Evaluation of {$ in strings > > $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 bug report at: http://bugs.php.net/?id=13441&edit=1 >

« previous php.dev (#66595) next »