3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 1; $b = &$a; $c = (++$a)+(++$a)+(++$a); var_dump($c); $x = 1; //$y = &$x; $z = (++$x)+(++$x)+(++$x); var_dump($z);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GnfFs
function name:  (null)
number of ops:  22
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $x, !4 = $z
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1
    4     1        ASSIGN_REF                                               !1, !0
    5     2        PRE_INC                                          ~7      !0
          3        PRE_INC                                          ~8      !0
          4        ADD                                              ~9      ~7, ~8
          5        PRE_INC                                          ~10     !0
          6        ADD                                              ~11     ~9, ~10
          7        ASSIGN                                                   !2, ~11
    6     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !2
         10        DO_ICALL                                                 
    8    11        ASSIGN                                                   !3, 1
   10    12        PRE_INC                                          ~15     !3
         13        PRE_INC                                          ~16     !3
         14        ADD                                              ~17     ~15, ~16
         15        PRE_INC                                          ~18     !3
         16        ADD                                              ~19     ~17, ~18
         17        ASSIGN                                                   !4, ~19
   11    18        INIT_FCALL                                               'var_dump'
         19        SEND_VAR                                                 !4
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.54 ms | 1395 KiB | 15 Q