3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 1; var_dump(--$x || $x + $x++);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/VvCo8
function name:  (null)
number of ops:  10
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
    4     1        INIT_FCALL                                               'var_dump'
          2        PRE_DEC                                          ~2      !0
          3      > JMPNZ_EX                                         ~2      ~2, ->7
          4    >   POST_INC                                         ~3      !0
          5        ADD                                              ~4      !0, ~3
          6        BOOL                                             ~2      ~4
          7    >   SEND_VAL                                                 ~2
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.96 ms | 1394 KiB | 15 Q