NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP 5.4.0

Anthony W. ant92083 at gmail.com
Fri Mar 2 09:50:44 EST 2012


I am looking forward to array dereferencing from function return statements.

function foo() {
     return array('awesomeness'=>'PHP');
}

echo foo()['awesomeness'];

-- 
Anthony W.
ant92083 at gmail.com




More information about the talk mailing list