3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.49 ms | 1394 KiB | 15 Q