3v4l.org

run code in 300+ PHP versions simultaneously
<?php register_shutdown_function ('shutdown'); function shutdown () { file_put_contents ('/tmp/test.txt', "shutdown 1 \n", FILE_APPEND | LOCK_EX); file_put_contents ('/tmp/test.txt', "shutdown 2 \n", FILE_APPEND | LOCK_EX); var_dump(file_get_contents("/tmp/test.txt")); exit; }
Output for rfc.property-hooks, git.master_jit, git.master
string(24) "shutdown 1 shutdown 2 "

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:
54.47 ms | 1672 KiB | 4 Q