3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.23 ms | 1398 KiB | 15 Q