$pos = strpos('paihangbang2864195', strval(2864195));
类型必须一致 不然没办法准确判断 查看原文:http://newmiracle.cn/?p=2047