05120130806091840
我想取0 中间的0要怎么取啊 只要中间的0 每次数字是不一样的,我用字符串截取的总跑偏啊,求解决
回复讨论(解决方案)
preg_match('/<resultcode>(\d+)<\/resultcode>/s',$s,$m);echo $m[1];
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn