3v4l.org

run code in 300+ PHP versions simultaneously
<?php $r = 1; $tr = $r + 5; echo $r ."\n"; ++$r; echo $r ."\n"; echo $tr;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tX5mh
function name:  (null)
number of ops:  10
compiled vars:  !0 = $r, !1 = $tr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
    4     1        ADD                                              ~3      !0, 5
          2        ASSIGN                                                   !1, ~3
    6     3        CONCAT                                           ~5      !0, '%0A'
          4        ECHO                                                     ~5
    8     5        PRE_INC                                                  !0
   10     6        CONCAT                                           ~7      !0, '%0A'
          7        ECHO                                                     ~7
   11     8        ECHO                                                     !1
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.72 ms | 1392 KiB | 13 Q