3v4l.org

run code in 300+ PHP versions simultaneously
<?php class F { public static function c() { echo 'hi'; }}var_dump(is_callable('F::c'));$callable = 'F::c';$callable();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GNV8i
function name:  (null)
number of ops:  10
compiled vars:  !0 = $callable
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'is_callable'
          2        SEND_VAL                                                 'F%3A%3Ac'
          3        DO_ICALL                                         $1      
          4        SEND_VAR                                                 $1
          5        DO_ICALL                                                 
          6        ASSIGN                                                   !0, 'F%3A%3Ac'
          7        INIT_DYNAMIC_CALL                                        !0
          8        DO_FCALL                                      0          
          9      > RETURN                                                   1

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

End of function c

End of class F.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.74 ms | 1394 KiB | 17 Q