3v4l.org

run code in 300+ PHP versions simultaneously
<?php $strings = array('Caint Use My Phone (Suite) 3:34', 'Hi 0:35', 'Cel U Lar Device 6:28', 'Phone Down 3:29', 'U Use To Call Me 1:13', 'Mr. Telephone Man 3:12'); foreach ($strings as $string) { echo preg_replace('/\d+:\d+\s*$/', '', $string). PHP_EOL; }
Output for git.master, git.master_jit, rfc.property-hooks
Caint Use My Phone (Suite) Hi Cel U Lar Device Phone Down U Use To Call Me Mr. Telephone Man

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:
44.83 ms | 1472 KiB | 4 Q