3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.1 ms | 1392 KiB | 13 Q