1
2
3
4
5
6
7
8
9
10
11
<?php
 
  $testVar=0;
  if(empty($testVar))
  {
    echo 'msg:true';
  }
  else{
    echo 'msg:false';
  }
?>

输出结果为 msg:true

相关文章:

  • 2021-05-22
  • 2021-06-21
  • 2022-12-23
  • 2021-10-11
  • 2022-12-23
  • 2021-08-23
  • 2021-11-19
猜你喜欢
  • 2022-03-04
  • 2022-12-23
  • 2022-02-12
  • 2021-06-12
  • 2021-11-06
相关资源
相似解决方案