What is going on here? list() = each()
| From: | Chris Boget | Date: | Wed, 23 Jan 2002 21:43:28 +0000 |
| Subject: | What is going on here? list() = each() | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81767@lists.php.net to get a copy of this message | ||
<?
$var = "this.that";
list( $thisVal, $thatVal ) = each( explode( ".", $var ));
echo "$thisVal, $thatVal"
?>
What is getting echo'd out is:
"0, this"
Why? What am I missing here?
Chris