3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { return ['variable' => 11, 'variable1' => 12]; } extract(test()); echo $variable.'--'.$variable1;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aVkpI
function name:  (null)
number of ops:  9
compiled vars:  !0 = $variable, !1 = $variable1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'extract'
          1        INIT_FCALL                                               'test'
          2        DO_FCALL                                      0  $2      
          3        SEND_VAL                                                 $2
          4        DO_ICALL                                                 
    7     5        CONCAT                                           ~4      !0, '--'
          6        CONCAT                                           ~5      ~4, !1
          7        ECHO                                                     ~5
    8     8      > RETURN                                                   1

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

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.3 ms | 1011 KiB | 15 Q