3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "this is a test sentence"; var_export(preg_split('~[^a-z]*~i', $string, 0, PREG_SPLIT_NO_EMPTY));
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => 't', 1 => 'h', 2 => 'i', 3 => 's', 4 => 'i', 5 => 's', 6 => 'a', 7 => 't', 8 => 'e', 9 => 's', 10 => 't', 11 => 's', 12 => 'e', 13 => 'n', 14 => 't', 15 => 'e', 16 => 'n', 17 => 'c', 18 => 'e', )

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:
122.47 ms | 406 KiB | 5 Q