php5 RC3 misbehaviour when using empty on $$name?

From: Date: Wed, 09 Jun 2004 17:42:10 +0000
Subject: php5 RC3 misbehaviour when using empty on $$name?
Groups: php.qa 
Request: Send a blank email to php-qa+get-18162@lists.php.net to get a copy of this message
<?php $test = 'doo'; $var = 'test'; echo trim($$var); // doo if (empty(trim($$var)); // Fatal error: Can't use function return value in write context in C:\htdocs\test4.php on line 8 ?> Any ideas? Cheers, Andi

« previous php.qa (#18162) next »