3v4l.org

run code in 300+ PHP versions simultaneously
<?php $names='toto, jean, dupont,de; la toureell'; echo trim(preg_replace('/[^A-Z]+/i', ' ', $names)); var_dump(explode(' ', trim(preg_replace('/[^A-Z]+/i', ' ', $names))));
Output for git.master, git.master_jit, rfc.property-hooks
toto jean dupont de la toureellarray(6) { [0]=> string(4) "toto" [1]=> string(4) "jean" [2]=> string(6) "dupont" [3]=> string(2) "de" [4]=> string(2) "la" [5]=> string(8) "toureell" }

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