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

From: Date: Thu, 23 Nov 2000 12:33:27 +0000
Subject: PHP 4.0 Bug #7938 Updated: string problem with interpretation of variable-names
Groups: php.dev 
Request: Send a blank email to php-dev+get-38990@lists.php.net to get a copy of this message
ID: 7938 Updated by: stas Reported By: mweis@durp.com Status: Closed Bug Type: Unknown/Other Function Assigned To: Comments: Yes, exactly: this is not really a bug because a "_" can be part of a variable-name. Previous Comments: --------------------------------------------------------------------------- [2000-11-23 04:46:24] mweis@durp.com 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 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7938

« previous php.dev (#38990) next »