3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var="PHP Tutorial"; $text="PHP, an acronym for Hypertext Preprocessor, is a widely-used open source general-purpose scripting language. It is a cross-platform, HTML embedded server-side scripting language and is especially suited for web development."; echo "<html>\n "; echo "<head>\n"; echo "\t<title>".$var."</title>\n"; echo "</head>\n"; echo "<body>\n"; echo "<h3>$var</h3>"; echo "<p>$text</p>\n"; echo "</body>\n"; echo "</html>"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mUpPW
function name:  (null)
number of ops:  20
compiled vars:  !0 = $var, !1 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'PHP+Tutorial'
    4     1        ASSIGN                                                   !1, 'PHP%2C+an+acronym+for+Hypertext+Preprocessor%2C+is+a+widely-used+open+source+general-purpose+scripting+language.+It+is+a+cross-platform%2C+HTML+embedded+server-side+scripting+language+and+is+especially+suited+for+web+development.'
    6     2        ECHO                                                     '%3Chtml%3E%0A+'
    7     3        ECHO                                                     '%3Chead%3E%0A'
    8     4        CONCAT                                           ~4      '%09%3Ctitle%3E', !0
          5        CONCAT                                           ~5      ~4, '%3C%2Ftitle%3E%0A'
          6        ECHO                                                     ~5
    9     7        ECHO                                                     '%3C%2Fhead%3E%0A'
   10     8        ECHO                                                     '%3Cbody%3E%0A'
   11     9        ROPE_INIT                                     3  ~7      '%3Ch3%3E'
         10        ROPE_ADD                                      1  ~7      ~7, !0
         11        ROPE_END                                      2  ~6      ~7, '%3C%2Fh3%3E'
         12        ECHO                                                     ~6
   12    13        ROPE_INIT                                     3  ~10     '%3Cp%3E'
         14        ROPE_ADD                                      1  ~10     ~10, !1
         15        ROPE_END                                      2  ~9      ~10, '%3C%2Fp%3E%0A'
         16        ECHO                                                     ~9
   13    17        ECHO                                                     '%3C%2Fbody%3E%0A'
   14    18        ECHO                                                     '%3C%2Fhtml%3E'
   16    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.49 ms | 1394 KiB | 13 Q