3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(array_fill(1, 5, 'hi')); var_dump(array_fill(-3, 5, 'crap!'));
Output for git.master_jit, git.master, rfc.property-hooks
array(5) { [1]=> string(2) "hi" [2]=> string(2) "hi" [3]=> string(2) "hi" [4]=> string(2) "hi" [5]=> string(2) "hi" } array(5) { [-3]=> string(5) "crap!" [-2]=> string(5) "crap!" [-1]=> string(5) "crap!" [0]=> string(5) "crap!" [1]=> string(5) "crap!" }

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