标签:main echo lis dom mail ros com email value
<?php
$email=‘microsoft@exam!ple.com‘;
$domain = split(‘\.|@|!‘,$email);//split分割函数,第一个是‘/‘,后面的都是‘|‘
while(list($key,$value)=each($domain))
echo‘<br>‘.$value;
?>
标签:main echo lis dom mail ros com email value
原文地址:http://www.cnblogs.com/nickup/p/6723018.html