3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $email = 'aaa@aaa.com'."\r"; var_dump( str_replace($email, array('/', '\\', '<', '>', ',', ':', ';', "\t", "\n", "\r", '"', "'", ' '), '') == $email );
Output for 4.3.0 - 5.6.21, 7.0.0 - 7.1.0
Notice: Array to string conversion in /in/UPTUX on line 5 bool(false)
Output for hhvm-3.12.0
Notice: Array to string conversion in /in/UPTUX on line 5 Notice: Array to string conversion in /in/UPTUX on line 5 bool(false)
Output for hhvm-3.10.0

Process exited with code 153.