PHP 4.0 Bug #7938: string problem with interpretation of variable-names

From: Date: Thu, 23 Nov 2000 09:46:24 +0000
Subject: PHP 4.0 Bug #7938: string problem with interpretation of variable-names
Groups: php.dev 
Request: Send a blank email to php-dev+get-38971@lists.php.net to get a copy of this message
From: mweis@durp.com Operating system: RedHat Linux 7 PHP version: 4.0.1pl2 PHP Bug Type: Unknown/Other Function Bug description: string problem with interpretation of variable-names Try this ... is not really a bug because a "_" can be part of a variable-name. $var1="1"; $var2="2"; echo "$var1-$var2". "\n<br>"; //delivers: 1-2 echo "$var1_$var2" . "\n<br>"; //delivers: 2 ???????????????? echo "$var1\_$var2". "\n<br>"; //delivers: 1\_2 -- Edit Bug report at: http://bugs.php.net/?id=7938&edit=1

« previous php.dev (#38971) next »