3v4l.org

run code in 300+ PHP versions simultaneously
<?php $variable="name"; $literally='My $variable will not print!\ '; print($literally); $literally="My $variable will print\ "; print($literally); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/39MPb
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%5C%0A'
    5     2        ECHO                                                     !1
    6     3        ROPE_INIT                                     3  ~5      'My+'
          4        ROPE_ADD                                      1  ~5      ~5, !0
          5        ROPE_END                                      2  ~4      ~5, '+will+print%5C%0A'
          6        ASSIGN                                                   !1, ~4
    8     7        ECHO                                                     !1
    9     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.03 ms | 1392 KiB | 13 Q