3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ok = new Exception(); //echo serialize($ok); //var_dump($_SERVER); //echo file_get_contents("/var/www/html/index.php"); echo ini_get('allow_url_include'); ini_set('allow_url_include', '1'); echo ini_get('allow_url_include'); include("http://www.google.com/");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TFPfM
function name:  (null)
number of ops:  17
compiled vars:  !0 = $ok
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'Exception'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    7     3        INIT_FCALL                                               'ini_get'
          4        SEND_VAL                                                 'allow_url_include'
          5        DO_ICALL                                         $4      
          6        ECHO                                                     $4
    8     7        INIT_FCALL                                               'ini_set'
          8        SEND_VAL                                                 'allow_url_include'
          9        SEND_VAL                                                 '1'
         10        DO_ICALL                                                 
    9    11        INIT_FCALL                                               'ini_get'
         12        SEND_VAL                                                 'allow_url_include'
         13        DO_ICALL                                         $6      
         14        ECHO                                                     $6
   10    15        INCLUDE_OR_EVAL                                          'http%3A%2F%2Fwww.google.com%2F', INCLUDE
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
237.34 ms | 1394 KiB | 17 Q