码迷,mamicode.com
首页 > Web开发 > 详细

php关键字

时间:2017-02-23 14:01:59      阅读:159      评论:0      收藏:0      [点我收藏+]

标签:nts   bre   val   compiler   logs   eof   bsp   UI   判断   

\b(
(a(bstract|nd|rray|s))|
(c(a(llable|se|tch)|l(ass|one)|on(st|tinue)))|
(d(e(clare|fault)|ie|o))|
(e(cho|lse(if)?|mpty|nd(declare|for(each)?|if|switch|while)|val|x(it|tends)))|
(f(inal|or(each)?|unction))|
(g(lobal|oto))|
(i(f|mplements|n(clude(_once)?|st(anceof|eadof)|terface)|sset))|
(n(amespace|ew))|
(p(r(i(nt|vate)|otected)|ublic))|
(re(quire(_once)?|turn))|
(s(tatic|witch))|
(t(hrow|r(ait|y)))|
(u(nset|se))|
(__halt_compiler|break|list|(x)?or|var|while)
)\b

正则,判断php关键字。

 

php关键字

标签:nts   bre   val   compiler   logs   eof   bsp   UI   判断   

原文地址:http://www.cnblogs.com/lmaster/p/6432957.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!