3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.07 ms | 1383 KiB | 13 Q