3v4l.org

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

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

End of function dotest

End of class SomeClass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.49 ms | 1397 KiB | 14 Q