Notice: A non well formed numeric value encountered in C:\xampp\htdocs\Space\Find\index.php on line 21

后端 未结 2 1892
梦谈多话
梦谈多话 2021-01-25 21:28


        
2条回答
  •  轮回少年
    2021-01-25 22:21

    while($strpos=strpos($text,$search,(int)($offset))){
        echo $offset=($strpos+$search_length)."
    "; }

    Need a type casting in while loop... (int)($offset) That's it.

提交回复
热议问题