3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.39 ms | 1006 KiB | 13 Q