Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Ardren
on March 9, 2014
|
parent
|
context
|
favorite
| on:
Python Language Features and Tricks
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
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: