3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $r = 1; $tr = $r + 5; echo $r ."\n"; $r++; echo $r ."\n"; echo $tr;
based on Iua9i
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1SXE7
function name:  (null)
number of ops:  11
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        POST_INC                                         ~6      !0
         6        FREE                                                     ~6
  10     7        CONCAT                                           ~7      !0, '%0A'
         8        ECHO                                                     ~7
  11     9        ECHO                                                     !1
        10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0