php stripos 返回不正确
ringa_lee
ringa_lee 2017-04-10 16:46:37
0
1
746
<?php

if (stripos('int', 'int(10)') !== false) {
    echo 'int';
} else {
    echo 'other';
}

是我自己弄错了,看手册烟花了,不好意思

ringa_lee
ringa_lee

ringa_lee

reply all(1)
黄舟

stripos('int(10)', 'int')

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!