3v4l.org

run code in 300+ PHP versions simultaneously
<?php $handler = function() { echo 'error handler!'; throw new \ErrorException(); }; set_error_handler($handler); register_shutdown_function($handler); try { mcrypt_decrypt(MCRYPT_RIJNDAEL_256, 'asdf', 'asdf', MCRYPT_MODE_CBC); } catch (\Exception $e) { echo 'caught!'; } echo 'done';
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function mcrypt_decrypt() in /in/RgVV0:7 Stack trace: #0 {main} thrown in /in/RgVV0 on line 7 error handler! Fatal error: Uncaught ErrorException in /in/RgVV0:2 Stack trace: #0 [internal function]: {closure}() #1 {main} thrown in /in/RgVV0 on line 2
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:
44.2 ms | 401 KiB | 8 Q