3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $mail="jejej@asdf.com"; $user = substr($email, 0, strrpos($mail, '@')); echo $user;
Output for 5.0.4 - 7.2.0
Notice: Undefined variable: email in /in/0d0HR on line 3
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: email in /in/0d0HR on line 3