3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string_to_parse ="ADDING MEMBER ID 199867 TO THE 25 MATRIX... Checking For Next Paid Sponsor in Level 25 SPONSOR ID FOUND IS 199849 Sponsor ID found to be: 199849 Checking Row 1 Checking Row 2 COULD NOT FIND AN OPEN SPOT IN THE MATRIX OF SPONSOR ID: 2377893"; function FindSponserId($string_to_parse) { if (preg_match("/COULD NOT FIND AN OPEN SPOT IN THE MATRIX OF SPONSOR ID:/", $string_to_parse, $matches)) { $array_index = explode("COULD NOT FIND AN OPEN SPOT IN THE MATRIX OF SPONSOR ID:",$string_to_parse); $sponsor_id = $array_index[1]; print_r("Sponsor Id :: ".$sponsor_id); } } FindSponserId($string_to_parse); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Sponsor Id :: 2377893

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