Date: 09/25/01
- Next message: jimw <email protected>: "[PHP-DEV] Bug #13443 Updated: gethostbyname returns the name not the IP addr."
- Previous message: brooks <email protected>: "[PHP-DEV] Bug #13443: gethostbyname returns the name not the IP addr."
- In reply to: john <email protected>: "[PHP-DEV] Bug #13441: Evaluation of {$ in strings"
- Next in thread: derick <email protected>: "[PHP-DEV] Bug #13441 Updated: Evaluation of {$ in strings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <email protected>> wrote in message news:bug-13441 <email protected>
> From: john <email protected>
> 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
>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: jimw <email protected>: "[PHP-DEV] Bug #13443 Updated: gethostbyname returns the name not the IP addr."
- Previous message: brooks <email protected>: "[PHP-DEV] Bug #13443: gethostbyname returns the name not the IP addr."
- In reply to: john <email protected>: "[PHP-DEV] Bug #13441: Evaluation of {$ in strings"
- Next in thread: derick <email protected>: "[PHP-DEV] Bug #13441 Updated: Evaluation of {$ in strings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

