hehexu

博客园 首页 新随笔 联系 订阅 管理

2018年9月8日 #

摘要: 修饰符 s 模式中的点号元字符匹配所有字符 非打印字符 字符 含义 \cx 匹配由x指明的控制字符。例如, \cM 匹配一个 Control-M 或回车符。x 的值必须为 A-Z 或 a-z 之一。否则,将 c 视为一个原义的 'c' 字符。 \f 匹配一个换页符。等价于 \x0c 和 \cL。 \ 阅读全文
posted @ 2018-09-08 11:08 hehexu 阅读(120) 评论(0) 推荐(0) 编辑

摘要: function _require($filename){ ob_start(); include $filename; $content = ob_get_contents(); ob_end_clean(); return $content;}include 引入的内容也可以在输入缓存中获取 i 阅读全文
posted @ 2018-09-08 09:59 hehexu 阅读(637) 评论(0) 推荐(0) 编辑