3v4l.org

run code in 300+ PHP versions simultaneously
<?php const B = 1; const C = 2; class A { public $var = B ^ C; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mR22L
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CONST                                            'B', 1
    4     1        DECLARE_CONST                                            'C', 2
    9     2      > RETURN                                                   1

Class A: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.62 ms | 1392 KiB | 13 Q