3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.45 ms | 1386 KiB | 15 Q