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/a6q6P
function name:  (null)
number of ops:  8
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        FETCH_CLASS_CONSTANT                             ~1      'myClass', 'myMethod'
          4        SEND_VAL                                                 ~1
          5        DO_ICALL                                         $2      
          6        ECHO                                                     $2
          7      > RETURN                                                   1

Class myClass:
Function mymethod:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/a6q6P
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:
160.03 ms | 1398 KiB | 15 Q