3v4l.org

run code in 300+ PHP versions simultaneously
<?php class TestClass { public static function meth() { echo '-'; } } function funA() { echo 'A'; } function funB() { echo 'B'; } register_shutdown_function('TestClass', 'meth'); register_shutdown_function('funA'); register_shutdown_function('funB'); register_shutdown_function('TestClass', 'meth');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NSa2W
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'register_shutdown_function'
          1        SEND_VAL                                                 'TestClass'
          2        SEND_VAL                                                 'meth'
          3        DO_ICALL                                                 
    8     4        INIT_FCALL                                               'register_shutdown_function'
          5        SEND_VAL                                                 'funA'
          6        DO_ICALL                                                 
    9     7        INIT_FCALL                                               'register_shutdown_function'
          8        SEND_VAL                                                 'funB'
          9        DO_ICALL                                                 
   10    10        INIT_FCALL                                               'register_shutdown_function'
         11        SEND_VAL                                                 'TestClass'
         12        SEND_VAL                                                 'meth'
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

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

End of function funa

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

End of function funb

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

End of function meth

End of class TestClass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.76 ms | 1396 KiB | 15 Q