note 112696 added to function.list
| From: | Achilles at thegreatwarrior dot com | Date: | Sun, 14 Jul 2013 00:58:06 +0000 |
| Subject: | note 112696 added to function.list | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-195608@lists.php.net to get a copy of this message | ||
Second, when youâre using the list() function, you must acknowledge each array element. You
could not do this
list($weekday, $month) = $date;
But you can use empty values to ignore elements:
list ($weekday, , $month) = $date;
----
Server IP: 59.162.86.123
Probable Submitter: 120.89.75.12
----
Manual Page -- http://php.net/manual/en/function.list.php
Edit -- https://master.php.net/note/edit/112696
Del: integrated -- https://master.php.net/note/delete/112696/integrated
Del: useless -- https://master.php.net/note/delete/112696/useless
Del: bad code -- https://master.php.net/note/delete/112696/bad+code
Del: spam -- https://master.php.net/note/delete/112696/spam
Del: non-english -- https://master.php.net/note/delete/112696/non-english
Del: in docs -- https://master.php.net/note/delete/112696/in+docs
Del: other reasons-- https://master.php.net/note/delete/112696
Reject -- https://master.php.net/note/reject/112696
Search -- https://master.php.net/manage/user-notes.php