51CTO博客开发
htmlspecialchars() string htmlspecialchars ( string string [, int quote_style [, string charset]] ) 只转换5个特殊的字符 '&' 转换成 '&' '"'转换成'"' ''' 转换成''' '<' 转换成'&
isset() 与 is_null() 的结果相反 在下列情况下,一个变量被认为是 NULL: 1 被赋值为 NULL 2 尚未被赋值; 3 被 unset() 没有定义,或者被设置成NULL的变量,isset()都返回falseisset()只能用于检测变量,检测常量,使用defined()函数 empty() "" 、0 、"0" 、NULL
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号