3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = '5m Grab a beer!'; $p = str_split($a); var_dump(array_values($p));
Output for git.master, git.master_jit, rfc.property-hooks
array(15) { [0]=> string(1) "5" [1]=> string(1) "m" [2]=> string(1) " " [3]=> string(1) "G" [4]=> string(1) "r" [5]=> string(1) "a" [6]=> string(1) "b" [7]=> string(1) " " [8]=> string(1) "a" [9]=> string(1) " " [10]=> string(1) "b" [11]=> string(1) "e" [12]=> string(1) "e" [13]=> string(1) "r" [14]=> string(1) "!" }

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