3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyClass { static function __invokeStatic() { echo "Dear God, why would you do this\n"; } } function MyClass() { MyClass::__invokeStatic(); } MyClass();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FPZF9
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   INIT_FCALL                                               'myclass'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Function myclass:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FPZF9
function name:  MyClass
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_STATIC_METHOD_CALL                                  'MyClass', '__invokeStatic'
          1        DO_FCALL                                      0          
   14     2      > RETURN                                                   null

End of function myclass

Class MyClass:
Function __invokestatic:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FPZF9
function name:  __invokeStatic
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     'Dear+God%2C+why+would+you+do+this%0A'
    8     1      > RETURN                                                   null

End of function __invokestatic

End of class MyClass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.52 ms | 1396 KiB | 14 Q