3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = "Coulthard Sally Coulthard Location: Surrey Expertise Covered: Horse, Dog, Horse and Rider Website: www.veterinaryphysio.co.uk Tel: 07865095005 Email: sally@veterinaryphysio.co.uk Kate Haynes Location: Surrey, Sussex, Kent Expertise Covered: Horse, Performance, Horse and Rider Tel: 07957 344688 Email: katehaynesphysio@yahoo.co.uk"; if (preg_match_all("~^(.+)\RLocation:[\s\S]*?^Email: (\S*)~m", $input, $matches, PREG_SET_ORDER)) { foreach ($matches as $data) { echo "{$data[1]}, {$data[2]}\n"; } }
Output for git.master, git.master_jit, rfc.property-hooks
Sally Coulthard, sally@veterinaryphysio.co.uk Kate Haynes, katehaynesphysio@yahoo.co.uk

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