3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 23; $aa = 2233; echo "a${'a'+'b'}b";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/svl1D
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a, !1 = $aa
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 23
    3     1        ASSIGN                                                   !1, 2233
    4     2        ROPE_INIT                                     3  ~7      'a'
          3        ADD                                              ~4      'a', 'b'
          4        FETCH_R                      local               ~5      ~4
          5        ROPE_ADD                                      1  ~7      ~7, ~5
          6        ROPE_END                                      2  ~6      ~7, 'b'
          7        ECHO                                                     ~6
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.12 ms | 1384 KiB | 13 Q