fork download
  1. <?php
  2.  
  3. // your code goes here
  4.  
  5.  
  6. $a = function (){
  7. return [1, 2, 3, 4];
  8. };
  9.  
  10. [$b, $d, $e, $c] = $a();
  11.  
  12. echo "B: $b\n";
  13. echo "C: $c";
Success #stdin #stdout 0.02s 25904KB
stdin
Standard input is empty
stdout
B: 1
C: 4