3v4l.org

run code in 300+ PHP versions simultaneously
<?php $vals = [["foo" => "bar", "quux" => 3], ["foo" => "baz", "quux => 4"]]; if (in_array(["foo" => "bar", "quux" => 3], $vals)) { echo "first one found\n"; } else { echo "first one not found\n"; } if (in_array(["foo" => "quuux", "quux" => 27], $vals)) { echo "second one found\n"; } else { echo "second one not found\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
first one found second one not found

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