note 124004 added to function.list
| From: | PaulMarti@php.net | Date: | Tue, 02 Jul 2019 21:45:53 +0000 |
| Subject: | note 124004 added to function.list | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-211462@lists.php.net to get a copy of this message | ||
Since 7.1.0, you can use an array directly without list():
<?php
[$test, $test2] = explode(",", "hello, world");
echo $test . $test2; // hello, world
?>
----
Server IP: 208.43.231.9
Probable Submitter: 82.199.157.34 (proxied: 200.194.39.170)
----
Manual Page -- http://php.net/manual/en/function.list.php
Edit -- https://master.php.net/note/edit/124004
Del: integrated -- https://master.php.net/note/delete/124004/integrated
Del: useless -- https://master.php.net/note/delete/124004/useless
Del: bad code -- https://master.php.net/note/delete/124004/bad+code
Del: spam -- https://master.php.net/note/delete/124004/spam
Del: non-english -- https://master.php.net/note/delete/124004/non-english
Del: in docs -- https://master.php.net/note/delete/124004/in+docs
Del: other reasons-- https://master.php.net/note/delete/124004
Reject -- https://master.php.net/note/reject/124004
Search -- https://master.php.net/manage/user-notes.php