3v4l.org

run code in 500+ PHP versions simultaneously
<?php class A { #[Deprecated] const A='a'; } interface B { #[Deprecated] const B='b'; } var_dump(A::A); var_dump(B::B);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rGPoD
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                                   'var_dump'
          1        FETCH_CLASS_CONSTANT                                 ~0      'A', 'A'
          2        SEND_VAL                                                     ~0
          3        DO_ICALL                                                     
   12     4        INIT_FCALL                                                   'var_dump'
          5        FETCH_CLASS_CONSTANT                                 ~2      'B', 'B'
          6        SEND_VAL                                                     ~2
          7        DO_ICALL                                                     
          8      > RETURN                                                       1

Class A: [no user functions]
Class B: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
176.76 ms | 1617 KiB | 14 Q