$email = "deneme@deneme.com";
$user = strstr($email, '@', true);
echo $user;
Bu kadar basit..