摘要:
要求php5.3以上//定义多个命名空间和不包含在命名空间的代码使用示例:fuck.php文件:namespace Foo\Bar\subnamespace;const FOO = 1;function foo(){echo 'this is fuck foo\bar\subnamespace';}... 阅读全文
摘要:
int preg_match(string $pattern, string $subject[, $arr][, int $flags]);$pattern 正则表达式$subject: 要搜索的字符串$arr: 成功返回存放的数组返回值:匹配不成功为 0,否则为 1$arr[0]: 为包含与整个... 阅读全文