Date: 05/12/00
- Next message: bens <email protected>: "[PHP-DEV] PHP 4.0 Bug #4433: sizeof($array) isn't accurate"
- Previous message: apostolicteacher <email protected>: "[PHP-DEV] PHP 4.0 Bug #4432: parse error"
- Next in thread: Bug Database: "[PHP-DEV] PHP 4.0 Bug #4432 Updated: parse error"
- Maybe reply: Bug Database: "[PHP-DEV] PHP 4.0 Bug #4432 Updated: parse error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 4432
User Update by: apostolicteacher <email protected>
Status: Open
Bug Type: Scripting Engine problem
Description: parse error
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 ..."
Full Bug description available at: http://bugs.php.net/version4/?id=4432
-- 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: bens <email protected>: "[PHP-DEV] PHP 4.0 Bug #4433: sizeof($array) isn't accurate"
- Previous message: apostolicteacher <email protected>: "[PHP-DEV] PHP 4.0 Bug #4432: parse error"
- Next in thread: Bug Database: "[PHP-DEV] PHP 4.0 Bug #4432 Updated: parse error"
- Maybe reply: Bug Database: "[PHP-DEV] PHP 4.0 Bug #4432 Updated: parse error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

