3v4l.org

run code in 300+ PHP versions simultaneously
<?php $h = 'hello'; $w = 'world'; print "$h $w"; echo "\n PHP", PHP_VERSION;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ES5rM
function name:  (null)
number of ops:  9
compiled vars:  !0 = $h, !1 = $w
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'hello'
    3     1        ASSIGN                                                   !1, 'world'
    4     2        ROPE_INIT                                     3  ~5      !0
          3        ROPE_ADD                                      1  ~5      ~5, '+'
          4        ROPE_END                                      2  ~4      ~5, !1
          5        ECHO                                                     ~4
    6     6        ECHO                                                     '%0A+PHP'
          7        ECHO                                                     '8.0.0'
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.35 ms | 1392 KiB | 13 Q