note 39460 deleted from language.variables by didou

From: Date: Thu, 29 Jan 2004 12:58:12 +0000
Subject: note 39460 deleted from language.variables by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-64372@lists.php.net to get a copy of this message
Note Submitter: volf44@mail.ru ---- How about this: <?php $select = true; $test = 0; // to do: reference $test if $select is true else init $val to 1 $val = ( $select )? &$test: 1; // syntax error // equivalence $val = 1; if( $select ) $val = &$test; ?>

« previous php.notes (#64372) next »