1.stristr 忽略大小写

$string = 'Hello World!';
if(stristr($string, 'earth') === FALSE) {
echo '"earth" not found in string<br />';
}// 输出: "earth" not found in string
echo stristr($string, 'lo');  //输出 lo World!

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-25
  • 2021-05-31
  • 2021-06-06
  • 2022-12-23
  • 2022-03-05
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案