3v4l.org

run code in 300+ PHP versions simultaneously
<?php // in the first expression $a + $a++; // "++" has higher precedence than "+", so "$a++" is grouped: $a + ($a++); // in the second expressions $a + $a + $a++; // "++" again has higher precedence than "+": $a + $a + ($a++); // and "+" is a left-associative operator, so the left "+" is grouped: ($a + $a) + ($a++);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VbAqY
function name:  (null)
number of ops:  19
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   POST_INC                                         ~1      !0
          1        ADD                                              ~2      !0, ~1
          2        FREE                                                     ~2
    6     3        POST_INC                                         ~3      !0
          4        ADD                                              ~4      !0, ~3
          5        FREE                                                     ~4
    9     6        ADD                                              ~5      !0, !0
          7        POST_INC                                         ~6      !0
          8        ADD                                              ~7      ~5, ~6
          9        FREE                                                     ~7
   11    10        ADD                                              ~8      !0, !0
         11        POST_INC                                         ~9      !0
         12        ADD                                              ~10     ~8, ~9
         13        FREE                                                     ~10
   13    14        ADD                                              ~11     !0, !0
         15        POST_INC                                         ~12     !0
         16        ADD                                              ~13     ~11, ~12
         17        FREE                                                     ~13
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.95 ms | 1384 KiB | 13 Q