3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.1 ms | 1384 KiB | 13 Q