3v4l.org

run code in 500+ PHP versions simultaneously
<?php set_error_handler(function() { echo 'Error handler executed' . PHP_EOL; return null; }); trigger_error(E_ERROR); echo PHP_EOL; echo PHP_EOL; echo "hello"; echo PHP_EOL; echo 'Now with return false:'; echo PHP_EOL; set_error_handler(function() { echo 'Error handler executed' . PHP_EOL; return false; }); trigger_error(E_ERROR); echo "hello";
Output for git.master, git.master_jit, rfc.property-hooks
Error handler executed hello Now with return false: Error handler executed Notice: 1 in /in/rSesI on line 23 hello

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:
59.15 ms | 1639 KiB | 4 Q