3v4l.org

run code in 300+ PHP versions simultaneously
<?php $alphabet = 'abcdefghijklmnopqrstuvwxyz'; $letters = str_split($alphabet, 2); print_r($letters); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => ab [1] => cd [2] => ef [3] => gh [4] => ij [5] => kl [6] => mn [7] => op [8] => qr [9] => st [10] => uv [11] => wx [12] => yz )

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:
25.69 ms | 405 KiB | 5 Q