3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.39 ms | 943 KiB | 14 Q