3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('B', '1'); class A{ } $a = new A(); //echo $a->B;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cbsu0
function name:  (null)
number of ops:  8
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'B'
          2        SEND_VAL                                                 '1'
          3        DO_ICALL                                                 
    7     4        NEW                                              $2      'A'
          5        DO_FCALL                                      0          
          6        ASSIGN                                                   !0, $2
    8     7      > RETURN                                                   1

Class A: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.31 ms | 1394 KiB | 15 Q