3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { public static function something() { $somethingElseFunction = "somethingElse"; self::$somethingElseFunction("bla"); } public static function somethingElse($a) { var_dump($a); } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2vNnP
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/2vNnP
function name:  something
number of ops:  5
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        SEND_VAL_EX                                              'bla'
          3        DO_FCALL                                      0          
    8     4      > 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/2vNnP
function name:  somethingElse
number of ops:  5
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV                                             !0      
   11     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
   12     4      > RETURN                                                   null

End of function somethingelse

End of class test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.75 ms | 1395 KiB | 15 Q