PHP 4.0 Bug #8092: variables in strings not working

From: Date: Mon, 04 Dec 2000 11:35:08 +0000
Subject: PHP 4.0 Bug #8092: variables in strings not working
Groups: php.dev 
Request: Send a blank email to php-dev+get-39942@lists.php.net to get a copy of this message
From: joker@telenetz.com Operating system: linux 2.2.17 PHP version: 4.0.3pl1 PHP Bug Type: Strings related Bug description: variables in strings not working hi, the following script does not work: <?php $ab = "N6"; $test = "TESTSTRING"; $str = "test_$ab_$test"; echo "$str<BR>"; exit(0); ?> output: test_TESTSTRING if i write: $str = "test_".$ab."_$test"; the script works... is this a bug or just an undocumented feature ? -- Edit Bug report at: http://bugs.php.net/?id=8092&edit=1

« previous php.dev (#39942) next »