3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); echo "Don't do this: $_SERVER[DOCUMENT_ROOT]";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/78Cel
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    4     3        NOP                                                      
          4        FETCH_R                      global              ~1      '_SERVER'
          5        FETCH_DIM_R                                      ~2      ~1, 'DOCUMENT_ROOT'
          6        FAST_CONCAT                                      ~3      'Don%27t+do+this%3A+', ~2
          7        ECHO                                                     ~3
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.69 ms | 1394 KiB | 15 Q