3v4l.org

run code in 300+ PHP versions simultaneously
<?php class myClass { static function myMethod(){ echo "mine"; } } myClass::myMethod(); echo is_callable("myClass::myMethod");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hDDrO
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_STATIC_METHOD_CALL                                  'myClass', 'myMethod'
          1        DO_FCALL                                      0          
   10     2        INIT_FCALL                                               'is_callable'
          3        SEND_VAL                                                 'myClass%3A%3AmyMethod'
          4        DO_ICALL                                         $1      
          5        ECHO                                                     $1
          6      > RETURN                                                   1

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

End of function mymethod

End of class myClass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.41 ms | 1394 KiB | 15 Q