Hacker News new | ask | show | jobs
by alien3d 4479 days ago
Cool like this,hope implement in php. No need to explode
1 comments

PHP has the list construct which is a little uglier, and has a couple of odd behaviors

    php > $t = array(1, 2);
    php > list($a, $b) = $t;
    php > echo "$a, $b";
    1, 2