|
Tinkerwell
Tutorials
FAQ
Docs
Get Tinkerwell
Buy
Tutorials
Support
Docs
Destructuring assignment in php
4 years ago
RomkaLTU
Code
$arr = [ 'red', 'yellow', 'gray', 'black', ]; [$first,$second] = $arr; echo $second;
Output
yellow
Video course:
PHP Package Development
PHP Package Development
Learn how we build and maintain code that is downloaded more than 40 Million times.
Get access