3v4l.org

run code in 300+ PHP versions simultaneously
<?php // capture any unexpected output and exit execution ob_start(function($buffer) { ob_end_clean(); echo 'unexpected output: ' . $buffer . "\n"; exit; }, 1); // do some work on shutdown register_shutdown_function(function() { echo 'shutting down'; }); echo 'test_1'; echo 'test_2';
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: ob_end_clean(): Cannot use output buffering in output buffering display handlers in /in/39Faa on line 5 shutting down
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:
34.27 ms | 401 KiB | 8 Q