3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if (trim($_POST['email1']) != "" && trim($_POST['email1']) = $_POST['email2'] && preg_match('@', trim($_POST['email1'])) && preg_match('.', trim($_POST['email1'])) && !preg_match(',', trim($_POST['email1'])) && trim($_POST['email1']) . "'") = 0)
Output for 5.3.0 - 5.4.24
Fatal error: Can't use function return value in write context in /in/qAntg on line 2
Process exited with code 255.