PHP 4.0 Bug #4432 Updated: parse error
| From: | Bug Database | Date: | Fri, 12 May 2000 23:35:50 +0000 |
| Subject: | PHP 4.0 Bug #4432 Updated: parse error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18663@lists.php.net to get a copy of this message | ||
ID: 4432
User Update by: apostolicteacher@yahoo.com
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