3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
261.26 ms | 3262 KiB | 14 Q