3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [ "0" => "Integer index", "03" => "Integer index with leading 0", "2b" => "waifu", "02 " => "trash waifu", " 1" => "I'm running out of ideas", "5.5" => "Float", ]; var_dump($a);
Output for git.master, git.master_jit, rfc.property-hooks
array(6) { [0]=> string(13) "Integer index" ["03"]=> string(28) "Integer index with leading 0" ["2b"]=> string(5) "waifu" ["02 "]=> string(11) "trash waifu" [" 1"]=> string(24) "I'm running out of ideas" ["5.5"]=> string(5) "Float" }

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:
66.87 ms | 402 KiB | 8 Q