3v4l.org

run code in 300+ PHP versions simultaneously
<?php $variable = 1; print <<<END This uses the "here document" syntax to output multiple lines with $variable interpolation. Note that the here document terminator must appear on a line with just a semicolon no extra whitespace! END; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/20rh8
function name:  (null)
number of ops:  6
compiled vars:  !0 = $variable
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1
    6     1        ROPE_INIT                                     3  ~3      'This+uses+the+%22here+document%22+syntax+to+output%0Amultiple+lines+with+'
    7     2        ROPE_ADD                                      1  ~3      ~3, !0
          3        ROPE_END                                      2  ~2      ~3, '+interpolation.+Note%0Athat+the+here+document+terminator+must+appear+on+a%0Aline+with+just+a+semicolon+no+extra+whitespace%21'
          4        ECHO                                                     ~2
   12     5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.7 ms | 1384 KiB | 13 Q