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");

preferences:
27.66 ms | 405 KiB | 5 Q