3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php set_error_handler(function($errno, $errstr){ echo "Error handler"; echo "\n"; echo $errstr; }); try { fopen('php://temp/maxmemory:-1', 'w+'); } catch (Throwable $e) { echo "Catch"; }
based on FiSqf