3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class AC { /** * * @deprecated * */ static function fxxx() { } } trait T { public static $test = "hahaha"; /** * * @deprecated * */ static function f() { return new DateTime (); } } // AC::fxxx (); echo T::test;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CDnVh
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   26     0  E >   FETCH_CLASS_CONSTANT                             ~0      'T', 'test'
          1        ECHO                                                     ~0
          2      > RETURN                                                   1

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

End of function fxxx

End of class AC.

Class T:
Function f:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CDnVh
function name:  f
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   20     0  E >   NEW                                              $0      'DateTime'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   $0
   21     3*     > RETURN                                                   null

End of function f

End of class T.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.5 ms | 1396 KiB | 14 Q