3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php$email = 'facebook@yahoo.com'; echo preg_replace('/(?<=.).(?=.*@)/u','*',$email);
Output for 5.4.34
Parse error: syntax error, unexpected '$email' (T_VARIABLE) in /in/UiZU1 on line 1
Process exited with code 255.
Output for 5.4.0 - 5.4.32
<?php$email = 'facebook@yahoo.com'; echo preg_replace('/(?<=.).(?=.*@)/u','*',$email);