3v4l.org

run code in 300+ PHP versions simultaneously
<?php function fcall() { return [1,2,3]; } list($a[1], $c,$b) = fcall();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/esbWa
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a, !1 = $c, !2 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'fcall'
          1        DO_FCALL                                      0  $3      
          2        FETCH_LIST_R                                     $4      $3, 0
          3        ASSIGN_DIM                                               !0, 1
          4        OP_DATA                                                  $4
          5        FETCH_LIST_R                                     $6      $3, 1
          6        ASSIGN                                                   !1, $6
          7        FETCH_LIST_R                                     $8      $3, 2
          8        ASSIGN                                                   !2, $8
          9        FREE                                                     $3
         10      > RETURN                                                   1

Function fcall:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/esbWa
function name:  fcall
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > RETURN                                                   <array>
          1*     > RETURN                                                   null

End of function fcall

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
184.72 ms | 1397 KiB | 14 Q