3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.29 ms | 1393 KiB | 13 Q