3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = 'hello form world. i am windows. i am linux; I and me! You and I; ponies?'; $foos=preg_split('/(?<=[.;!?]\s)(?=[a-z])/',$foo); print_r($foos); //only needed split foreach ($foos as &$f) $f[0]=$f[0]^' '; //xor it uppercase $foo=implode(' ',$foos); print '<br>'.$foo;
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => hello form world. [1] => i am windows. [2] => i am linux; I and me! You and I; [3] => ponies? ) <br>Hello form world. I am windows. I am linux; I and me! You and I; Ponies?

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