PHP 4.0 Bug #4894: Parse Error during variable initialization of a class
| From: | michael dot bell at rz dot hu-berlin dot de | Date: | Thu, 08 Jun 2000 11:03:44 +0000 |
| Subject: | PHP 4.0 Bug #4894: Parse Error during variable initialization of a class | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-20557@lists.php.net to get a copy of this message | ||
From: michael.bell@rz.hu-berlin.de
Operating system: SunOS webmania 5.6 Generic_105181-16 sun4u sparc SUNW,Ultra-1
PHP version: 4.0 Release Candidate 2
PHP Bug Type: Compile Failure
Bug description: Parse Error during variable initialization of a class
example code which works under php3 and not under php4
class test {
var $name = "Michael ".
"Bell";
}
The problem is the combination of ". \n " if You write
var $name = "Michael Bell";
The Problem is away.