3v4l.org

run code in 300+ PHP versions simultaneously
<?php function a() { echo "function a\n"; return true; } function b() { echo "function b\n"; return false; } function c() { echo "function c\n"; return false; } var_dump(min(a(), b(), c())); echo "\n"; var_dump(max(a(), b(), c())); echo "\n";
Output for git.master, git.master_jit, rfc.property-hooks
function a function b function c bool(false) function a function b function c bool(true)

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:
89.63 ms | 405 KiB | 5 Q