3v4l.org

run code in 300+ PHP versions simultaneously
<?php const ONE = 1; const TWO = TWO + ONE; print TWO ."\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/en7qK
function name:  (null)
number of ops:  6
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>
    5     2        FETCH_CONSTANT                                   ~0      'TWO'
          3        CONCAT                                           ~1      ~0, '%0A'
          4        ECHO                                                     ~1
          5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.08 ms | 1392 KiB | 13 Q