3v4l.org

run code in 500+ PHP versions simultaneously
<?php function f(mixed ...$args): void { var_dump(array_is_list($args)); var_dump($args); } f(...[ 3 => false, 4 => false, 5 => false, 15 => true, 'a' => 'aa', '' => 'nope', 'bb' => 'bb', ]);
Output for rfc.property-hooks, git.master_jit, git.master
bool(false) array(7) { [0]=> bool(false) [1]=> bool(false) [2]=> bool(false) [3]=> bool(true) ["a"]=> string(2) "aa" [""]=> string(4) "nope" ["bb"]=> string(2) "bb" }

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:
36.27 ms | 2774 KiB | 4 Q