note 97074 deleted from function.list by googleguy
| From: | googleguy@php.net | Date: | Thu, 13 Sep 2012 10:02:15 +0000 |
| Subject: | note 97074 deleted from function.list by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-190694@lists.php.net to get a copy of this message | ||
Note Submitter: develop at dieploegers dot de
----
Remember, that list starts from index 0. You can skip an index if you just leave the column blank
like this:
<?php
list(,$a,$b,$c) = array(1,2,3,4);
?>
You CAN'T (at least not in 5.3.1, what I have tested) set the column to null:
<?php
list(null,$a,$b,$c) = array(1,2,3,4);
?>
This will fail.