3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo1($stream = STDOUT) { //do nothing } echo "before\n"; foo1(); echo "after\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TYTX0
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     'before%0A'
    8     1        INIT_FCALL                                               'foo1'
          2        DO_FCALL                                      0          
    9     3        ECHO                                                     'after%0A'
          4      > RETURN                                                   1

Function foo1:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TYTX0
function name:  foo1
number of ops:  2
compiled vars:  !0 = $stream
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV_INIT                                        !0      <const ast>
    6     1      > RETURN                                                   null

End of function foo1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.88 ms | 1396 KiB | 14 Q