3v4l.org

run code in 300+ PHP versions simultaneously
<?php function hello() { echo "hello\n"; } declare(ticks=1); if (function_exists('register_tick_function')): register_tick_function('hello'); endif;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 9
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/QRHe7
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   TICKS                                                    
    9     1        INIT_FCALL                                               'function_exists'
          2        SEND_VAL                                                 'register_tick_function'
          3        DO_ICALL                                         $0      
          4      > JMPZ                                                     $0, ->9
   10     5    >   INIT_FCALL                                               'register_tick_function'
          6        SEND_VAL                                                 'hello'
          7        DO_ICALL                                                 
          8        TICKS                                                    
   11     9    > > RETURN                                                   1

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

End of function hello

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.31 ms | 1394 KiB | 17 Q