Date: 09/17/00
- Next message: msquillace <email protected>: "[PHP-DEV] PHP 4.0 Bug #6784: Apache 1.3.12 SegFaults at curl_init()"
- Previous message: Stanislav Malyshev: "Re: [PHP-DEV] fread/fwrite and binary data"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: alain <email protected>
Operating system: Linux RedHat 5.2 2.0.36, gcc 2.95
PHP version: 4.0.2
PHP Bug Type: Scripting Engine problem
Bug description: { needs to be backslashed if followed by a variable
I'm not sure this is a bug :
this works :
====================
<?php
echo "{\n";
?>
====================
this fails :
====================
<?php
$s="hello";
echo "{$s";
?>
====================
Parse error: parse error, expecting `'}'' on line 3
Just in case :
http://www.onesite.org/phpinfo.php
Alain
-- 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: msquillace <email protected>: "[PHP-DEV] PHP 4.0 Bug #6784: Apache 1.3.12 SegFaults at curl_init()"
- Previous message: Stanislav Malyshev: "Re: [PHP-DEV] fread/fwrite and binary data"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

