3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$link = mysql_connect('localhost', 'root', '') or die('ERROR: ' . mysql_error()); //$sel = mysql_select_db(DB_NAME, $link) or die('ERROR: ' . mysql_error()); echo 'Hello World'; echo $_SERVER['HTTP_USER_AGENT']; echo 'Hello World'; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7HnrN
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ECHO                                                     'Hello+World'
    7     1        FETCH_R                      global              ~0      '_SERVER'
          2        FETCH_DIM_R                                      ~1      ~0, 'HTTP_USER_AGENT'
          3        ECHO                                                     ~1
    8     4        ECHO                                                     'Hello+World'
    9     5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
186.05 ms | 1392 KiB | 13 Q