3v4l.org

run code in 300+ PHP versions simultaneously
<?php /*E_ERROR */ function exception_error_handler($errno, $errstr, $errfile, $errline) { var_dump($errstr); } set_error_handler("exception_error_handler", error_reporting()); function shutDownFunction() { echo 'as'; $error = error_get_last(); if ($error['type'] == 1) { //do your stuff } } register_shutdown_function('shutdownFunction'); require __DIR__ . '/../src/E2EX/Converter.php';

preferences:
36 ms | 402 KiB | 5 Q