3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo strpos('asdasasd.net', '@') !== false ? substr('asdas@asd.net', 0, strpos('asdas@asd.net', '@')) : 'norm login';
Output for 4.3.0 - 7.1.0
norm login