3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * DIRECCION EJECUTIVA DE INGRESOS * GENERADOR DE URL CORTA, DEI-MOVIL * 2014 */ require 'load.php'; $metodo = (isset($_GET['metodo'])) ? @$_GET['metodo'] : NULL; //$post_datos = (isset($_POST['post_datos'])) ? $_POST['post_datos'] : NULL; // Debug mode GET $post_datos = (isset($_GET['post_datos'])) ? $_GET['post_datos'] : NULL; //echo "Debug: " . $post_datos; if(!is_null($post_datos)){ $objeto_post_datos = json_decode(stripslashes($post_datos)); }else{ $objeto_post_datos = new stdClass(); } header('Content-Type: application/json; charset=utf-8'); $api = new Api($datosDB, $metodo, $objeto_post_datos, $FormulariosEstaticos, URL_HOST, TAM_TOKEN, URL_FORMULARIOS, VALIDEZ_URL, REQUEST_PER_LINK); echo $api->api_response; ?>
Output for 8.0.0 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Warning: require(): open_basedir restriction in effect. File(load.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/P9e0v on line 8 Warning: require(load.php): Failed to open stream: Operation not permitted in /in/P9e0v on line 8 Fatal error: Uncaught Error: Failed opening required 'load.php' (include_path='.:') in /in/P9e0v:8 Stack trace: #0 {main} thrown in /in/P9e0v on line 8
Process exited with code 255.
Output for 8.0.13
Warning: require(load.php): Failed to open stream: No such file or directory in /in/P9e0v on line 8 Fatal error: Uncaught Error: Failed opening required 'load.php' (include_path='.:') in /in/P9e0v:8 Stack trace: #0 {main} thrown in /in/P9e0v on line 8
Process exited with code 255.
Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.7 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.7, 7.3.32 - 7.3.33, 7.4.33
Warning: require(load.php): failed to open stream: No such file or directory in /in/P9e0v on line 8 Fatal error: require(): Failed opening required 'load.php' (include_path='.:') in /in/P9e0v on line 8
Process exited with code 255.
Output for 7.2.29 - 7.2.33, 7.3.16 - 7.3.31, 7.4.0 - 7.4.32
Warning: require(): open_basedir restriction in effect. File(load.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/P9e0v on line 8 Warning: require(load.php): failed to open stream: Operation not permitted in /in/P9e0v on line 8 Fatal error: require(): Failed opening required 'load.php' (include_path='.:') in /in/P9e0v on line 8
Process exited with code 255.
Output for 7.1.20, 7.2.5 - 7.2.6
Warning: require(): open_basedir restriction in effect. File(load.php) is not within the allowed path(s): (/tmp:/in) in /in/P9e0v on line 8 Warning: require(load.php): failed to open stream: Operation not permitted in /in/P9e0v on line 8 Fatal error: require(): Failed opening required 'load.php' (include_path='.:') in /in/P9e0v on line 8
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5
Warning: main(load.php): failed to open stream: No such file or directory in /in/P9e0v on line 8 Fatal error: main(): Failed opening required 'load.php' (include_path='.:') in /in/P9e0v on line 8
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: main(load.php) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /in/P9e0v on line 8 Fatal error: main() [http://www.php.net/function.main]: Failed opening required 'load.php' (include_path='.:') in /in/P9e0v on line 8

preferences:
220.35 ms | 402 KiB | 312 Q