3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { public static function something() { $somethingElseFunction = "somethingElse"; self::$somethingElseFunction(); } public static function somethingElse($a) { echo 'bla'; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SIsXF
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E > > RETURN                                                   1

Class test:
Function something:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SIsXF
function name:  something
number of ops:  4
compiled vars:  !0 = $somethingElseFunction
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 'somethingElse'
    7     1        INIT_STATIC_METHOD_CALL                                  !0
          2        DO_FCALL                                      0          
    8     3      > RETURN                                                   null

End of function something

Function somethingelse:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SIsXF
function name:  somethingElse
number of ops:  3
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV                                             !0      
   11     1        ECHO                                                     'bla'
   12     2      > RETURN                                                   null

End of function somethingelse

End of class test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.02 ms | 1393 KiB | 13 Q