3v4l.org

run code in 300+ PHP versions simultaneously
<?php class X { function __descruct() { echo "I'm done!"; } } function make_x() { new X(); } for ($i = 0; $i < 10; $i++) { echo "Making X $i\n"; make_x(); }
Output for git.master, git.master_jit, rfc.property-hooks
Making X 0 Making X 1 Making X 2 Making X 3 Making X 4 Making X 5 Making X 6 Making X 7 Making X 8 Making X 9

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.19 ms | 401 KiB | 8 Q