3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = 'Tom'; $message = 'Hi, my name is $name'; echo $message . PHP_EOL; $message = "Hi, my name is $name"; echo $message . PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RXpu1
function name:  (null)
number of ops:  10
compiled vars:  !0 = $name, !1 = $message
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Tom'
    5     1        ASSIGN                                                   !1, 'Hi%2C+my+name+is+%24name'
    6     2        CONCAT                                           ~4      !1, '%0A'
          3        ECHO                                                     ~4
    8     4        NOP                                                      
          5        FAST_CONCAT                                      ~5      'Hi%2C+my+name+is+', !0
          6        ASSIGN                                                   !1, ~5
    9     7        CONCAT                                           ~7      !1, '%0A'
          8        ECHO                                                     ~7
   10     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.72 ms | 988 KiB | 13 Q