fork download
  1. <?php
  2.  
  3. function foo() {
  4. return array('a' => 1);
  5. }
  6.  
  7. echo foo()['a'];
  8. echo "\n";
  9. echo phpversion();
Success #stdin #stdout 0.01s 20520KB
stdin
Standard input is empty
stdout
1
5.4.4-12