3v4l.org

run code in 300+ PHP versions simultaneously
<?php function update_hook(): \Stringable|string|null|none { echo "123"; } update_hook();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LQPcN
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'update_hook'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

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

End of function update_hook

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.31 ms | 1450 KiB | 14 Q