3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.9 ms | 1392 KiB | 13 Q