在php中,若变量$test没有定义,则:

empty($test)返回true;

!empty($test)返回false;

具体可参考http://www.jb51.net/article/24666.htm

相关文章:

  • 2021-05-16
  • 2021-05-18
  • 2021-05-18
  • 2021-07-11
  • 2022-03-08
  • 2022-12-23
  • 2021-05-24
  • 2021-12-31
猜你喜欢
  • 2021-08-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-27
  • 2021-10-29
  • 2022-12-23
相关资源
相似解决方案