3v4l.org

run code in 300+ PHP versions simultaneously
<?php const A = 5; const B = A * 2; echo B; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Yii11
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   DECLARE_CONST                                            'A', 5
    3     1        DECLARE_CONST                                            'B', <const ast>
    5     2        FETCH_CONSTANT                                   ~0      'B'
          3        ECHO                                                     ~0
    6     4      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.74 ms | 1392 KiB | 13 Q