Date: 04/05/01
- Next message: Chuck Hagenbuch: "Re: [PHP-DEV] RE: ; arg seperator"
- Previous message: phil.whittaker <email protected>: "[PHP-DEV] PHP 4.0 Bug #10184: Define and empty multi line string fault"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 10184
User Update by: phil.whittaker <email protected>
Status: Open
Bug Type: Strings related
Description: Define and empty multi line string fault
Previous Comments:
---------------------------------------------------------------------------
[2001-04-05 10:16:52] phil.whittaker <email protected>
CODE USED-
$var = <<<EOF
EOF;
define("CONSTANT", $var) ;
ERROR PRODUCED -
Warning: Constants may only evaluate to scalar values in /home/sites/site5/cnf/lib2.cnf on line 26
The empty multi-line string does not evaluate to the same thing as:
$var = "";
Bug? Fault? User just being thick?
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=10184
-- 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: Chuck Hagenbuch: "Re: [PHP-DEV] RE: ; arg seperator"
- Previous message: phil.whittaker <email protected>: "[PHP-DEV] PHP 4.0 Bug #10184: Define and empty multi line string fault"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

