3v4l.org

run code in 300+ PHP versions simultaneously
<?php my_function(); if (TRUE) { function my_function() { print 'here'; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 4
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
filename:       /in/TWNDj
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'my_function'
          1        DO_FCALL                                      0          
    3     2      > JMPZ                                                     <true>, ->4
    5     3    >   DECLARE_FUNCTION                                         'my_function'
    9     4    > > RETURN                                                   1

Function %00my_function%2Fin%2FTWNDj%3A5%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TWNDj
function name:  my_function
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     'here'
    8     1      > RETURN                                                   null

End of function %00my_function%2Fin%2FTWNDj%3A5%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.44 ms | 1393 KiB | 13 Q