<?php $email = 'usertanye'; $domain = strstr($email, 't'); echo $domain; // 输出 tanye ?>
12-18
03-18
677
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-20
1106
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-15
<?php $email = 'usertanye'; $domain = strstr($email, 't'); echo $domain; // 输出 tanye ?>