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', 'eyJpdiI6Ik5CRzQzTG5KRXdpdWwzSWhcL2JpNkYzd0NZNUUzY01yY0QrYjYwT2ZYXC9zST0iLCJ2YWx1ZSI6IlJPSXpuaktTZVY4M2ZhQkN4U2J0UUdZR0NyMnNoanE5VTloT2JESVYzcXc9IiwibWFjIjoiNzk0YWUyYmRkZTM0NmMzZGJlNDFkMzM3YjgyYzk4NWZjMTAyZTJiMmE0NTUyZmY0YzRjNzUyOGFmMmJmZTBkZCJ9', 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/Ej18f:7 Stack trace: #0 {main} thrown in /in/Ej18f on line 7 error handler! Fatal error: Uncaught ErrorException in /in/Ej18f:2 Stack trace: #0 [internal function]: {closure}() #1 {main} thrown in /in/Ej18f 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:
32.5 ms | 401 KiB | 8 Q