3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.53 ms | 1005 KiB | 13 Q