3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r($_SERVER); echo file_get_contents($_SERVER['DOCUMENT_ROOT']."/index.php");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZBZjn
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'print_r'
          1        FETCH_R                      global              ~0      '_SERVER'
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'file_get_contents'
          5        FETCH_R                      global              ~2      '_SERVER'
          6        FETCH_DIM_R                                      ~3      ~2, 'DOCUMENT_ROOT'
          7        CONCAT                                           ~4      ~3, '%2Findex.php'
          8        SEND_VAL                                                 ~4
          9        DO_ICALL                                         $5      
         10        ECHO                                                     $5
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.04 ms | 1398 KiB | 17 Q