3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.52 ms | 1394 KiB | 15 Q