3v4l.org

run code in 300+ PHP versions simultaneously
<?php class SomeClass { public static function doTest(){} } function something_doTest(){} SomeClass::doTest(); $someObj = new SomeClass(); $someObj->doTest(); something_doTest();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7Vck9
function name:  (null)
number of ops:  10
compiled vars:  !0 = $someObj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_STATIC_METHOD_CALL                                  'SomeClass', 'doTest'
          1        DO_FCALL                                      0          
   10     2        NEW                                              $2      'SomeClass'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !0, $2
   11     5        INIT_METHOD_CALL                                         !0, 'doTest'
          6        DO_FCALL                                      0          
   12     7        INIT_FCALL                                               'something_dotest'
          8        DO_FCALL                                      0          
          9      > RETURN                                                   1

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

End of function something_dotest

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

End of function dotest

End of class SomeClass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.23 ms | 1397 KiB | 14 Q