3v4l.org

run code in 300+ PHP versions simultaneously
<?php function callback($buffer, $status) { return "callback $buffer"; } ob_start( 'callback', 0, PHP_OUTPUT_HANDLER_FLUSHABLE | PHP_OUTPUT_HANDLER_REMOVABLE); echo 'test'; echo ob_get_clean(); //this should not work as no CLEANABLE flag was set on ob_start //ob_end_clean is ran as well //ob_clean -> failed to delete buffer notice echo "\n".ob_get_level();
Output for git.master, git.master_jit, rfc.property-hooks
test 0

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:
60.72 ms | 401 KiB | 8 Q