$email = '13366540193@163.com' ;
$domain = strstr ( $email , '@' );
echo $domain ; // 打印 @163.com
$user = strstr ( $email , '@' , true ); // 从 PHP 5.3.0 起
echo $user ; // 打印 13366540193
2022-04-10 23:52:22
$email = '13366540193@163.com' ;
$domain = strstr ( $email , '@' );
echo $domain ; // 打印 @163.com
$user = strstr ( $email , '@' , true ); // 从 PHP 5.3.0 起
echo $user ; // 打印 13366540193