3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "rami@gmail.com:Password This email is from Gmail email subscription is valid omar@yahoo.com:password this email is from yahoo email subscription is valid monkey@wrench.com:P@ss:word this email is a possible moneywrench email subscription is valid "; var_export(preg_match_all('~([^@\s]+@[^:\s]+):(.*)~', $text, $matches, PREG_SET_ORDER) ? $matches: "none");
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => array ( 0 => 'rami@gmail.com:Password', 1 => 'rami@gmail.com', 2 => 'Password', ), 1 => array ( 0 => 'omar@yahoo.com:password ', 1 => 'omar@yahoo.com', 2 => 'password ', ), 2 => array ( 0 => 'monkey@wrench.com:P@ss:word', 1 => 'monkey@wrench.com', 2 => 'P@ss:word', ), )

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:
29.66 ms | 406 KiB | 5 Q