3v4l.org

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

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

End of function f

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.35 ms | 1396 KiB | 16 Q