3v4l.org

run code in 300+ PHP versions simultaneously
<?php function exception_error_handler($errno, $errstr, $errfile, $errline) { var_dump($errstr); } set_error_handler("exception_error_handler", error_reporting()); register_shutdown_function( "fatal_handler" ); function fatal_handler() { $errfile = "unknown file"; $errstr = "shutdown"; $errno = E_CORE_ERROR; $errline = 0; $error = error_get_last(); if( $error !== NULL) { $errno = $error["type"]; $errfile = $error["file"]; $errline = $error["line"]; $errstr = $error["message"]; } echo $errstr; } require __DIR__ . '/../src/E2EX/Converter.php';
Output for git.master, git.master_jit, rfc.property-hooks
string(133) "require(): open_basedir restriction in effect. File(/in/../src/E2EX/Converter.php) is not within the allowed path(s): (/tmp:/in:/etc)" string(86) "require(/in/../src/E2EX/Converter.php): Failed to open stream: Operation not permitted" Fatal error: Uncaught Error: Failed opening required '/in/../src/E2EX/Converter.php' (include_path='.:') in /in/EkQoU:37 Stack trace: #0 {main} thrown in /in/EkQoU on line 37 Uncaught Error: Failed opening required '/in/../src/E2EX/Converter.php' (include_path='.:') in /in/EkQoU:37 Stack trace: #0 {main} thrown
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
32.25 ms | 401 KiB | 8 Q