3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * * @author wywrzal * *@deprecated */ class AC { static function fxxx() { } } trait T { /** * * @deprecated * */ public static function f() { return new DateTime (); } } T::f (); AC::fxxx ();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jBQP1
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   24     0  E >   INIT_STATIC_METHOD_CALL                                  'T', 'f'
          1        DO_FCALL                                      0          
   25     2        INIT_STATIC_METHOD_CALL                                  'AC', 'fxxx'
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Class AC:
Function fxxx:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jBQP1
function name:  fxxx
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     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/jBQP1
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:
139.99 ms | 1384 KiB | 13 Q