<?php $a="123456789.xyz"; if(strstr($a,"xyz")) { echo "xyz\n"; } elseif(strstr($a,"123")) { echo "一二三\n"; } else { echo "全无"; } ?>打赏感谢支持与鼓励~