Date: 05/12/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #4432 Updated: parse error"
- Previous message: alex <email protected>: "[PHP-DEV] Bug #4431: Internal Server Error - Premature end of script headers"
- Next in thread: Zeev Suraski: "Re: [PHP-DEV] PHP 4.0 Bug #4432: parse error"
- Reply: Zeev Suraski: "Re: [PHP-DEV] PHP 4.0 Bug #4432: parse error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: apostolicteacher <email protected>
Operating system: RedHat 6.2
PHP version: 4.0 Release Candidate 2
PHP Bug Type: Scripting Engine problem
Bug description: parse error
This works: fwrite($fp, "RatAlias add Personal $row[alias] {%s, %s} $row[item] {}\n",$row[lname],$row[fname]);
This works: fwrite($fp, "RatAlias add Personal $row[alias] {%s, %s} $row[item] {}\n",$row[lname],$row[fname]);
This does not: fwrite($fp, "RatAlias add Personal $row[alias] {$row[lname], $row[fname]} $row[item] {}\n");
Notice the parameter replacement when using {%s, %s} works but {$row[lname], $row[fname]} does not. The error is "expected } at line ..."
-- 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: Bug Database: "[PHP-DEV] PHP 4.0 Bug #4432 Updated: parse error"
- Previous message: alex <email protected>: "[PHP-DEV] Bug #4431: Internal Server Error - Premature end of script headers"
- Next in thread: Zeev Suraski: "Re: [PHP-DEV] PHP 4.0 Bug #4432: parse error"
- Reply: Zeev Suraski: "Re: [PHP-DEV] PHP 4.0 Bug #4432: parse error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

