PageRenderTime 366ms CodeModel.GetById 65ms RepoModel.GetById 1ms app.codeStats 0ms

/yii/framework/vendors/TextHighlighter/Text/Highlighter/PHP.php

https://github.com/joshuaswarren/weatherhub
PHP | 1089 lines | 1048 code | 4 blank | 37 comment | 0 complexity | b651f1ffc6c6825dd947e3263acaa301 MD5 | raw file
  1. <?php
  2. /**
  3. * Auto-generated class. PHP syntax highlighting
  4. *
  5. * PHP version 4 and 5
  6. *
  7. * LICENSE: This source file is subject to version 3.0 of the PHP license
  8. * that is available through the world-wide-web at the following URI:
  9. * http://www.php.net/license/3_0.txt. If you did not receive a copy of
  10. * the PHP License and are unable to obtain it through the web, please
  11. * send a note to license@php.net so we can mail you a copy immediately.
  12. *
  13. * @copyright 2004-2006 Andrey Demenev
  14. * @license http://www.php.net/license/3_0.txt PHP License
  15. * @link http://pear.php.net/package/Text_Highlighter
  16. * @category Text
  17. * @package Text_Highlighter
  18. * @version generated from: : php.xml,v 1.1 2007/06/03 02:35:28 ssttoo Exp
  19. * @author Andrey Demenev <demenev@gmail.com>
  20. *
  21. */
  22. /**
  23. * Auto-generated class. PHP syntax highlighting
  24. *
  25. * @author Andrey Demenev <demenev@gmail.com>
  26. * @category Text
  27. * @package Text_Highlighter
  28. * @copyright 2004-2006 Andrey Demenev
  29. * @license http://www.php.net/license/3_0.txt PHP License
  30. * @version Release: 0.7.1
  31. * @link http://pear.php.net/package/Text_Highlighter
  32. */
  33. class Text_Highlighter_PHP extends Text_Highlighter
  34. {
  35. var $_language = 'php';
  36. /**
  37. * Constructor
  38. *
  39. * @param array $options
  40. * @access public
  41. */
  42. function __construct($options=array())
  43. {
  44. $this->_options = $options;
  45. $this->_regs = array (
  46. -1 => '/((?i)(\\<\\?(php|=)?)?)/',
  47. 0 => '/((?i)\\{)|((?i)\\()|((?i)\\[)|((?i)\\/\\*)|((?i)")|((?i)`)|((?mi)\\<\\<\\<[\\x20\\x09]*(\\w+)$)|((?i)\')|((?i)(#|\\/\\/))|((?i)[a-z_]\\w*)|((?i)\\((array|int|integer|string|bool|boolean|object|float|double)\\))|((?i)0[xX][\\da-f]+)|((?i)\\$[a-z_]\\w*)|((?i)\\d\\d*|\\b0\\b)|((?i)0[0-7]+)|((?i)(\\d*\\.\\d+)|(\\d+\\.\\d*))|((?i)((\\d+|((\\d*\\.\\d+)|(\\d+\\.\\d*)))[eE][+-]?\\d+))/',
  48. 1 => '/((?i)\\{)|((?i)\\()|((?i)\\[)|((?i)\\/\\*)|((?i)")|((?i)`)|((?mi)\\<\\<\\<[\\x20\\x09]*(\\w+)$)|((?i)\')|((?i)(#|\\/\\/))|((?i)[a-z_]\\w*)|((?i)\\((array|int|integer|string|bool|boolean|object|float|double)\\))|((?i)\\?\\>)|((?i)0[xX][\\da-f]+)|((?i)\\$[a-z_]\\w*)|((?i)\\d\\d*|\\b0\\b)|((?i)0[0-7]+)|((?i)(\\d*\\.\\d+)|(\\d+\\.\\d*))|((?i)((\\d+|((\\d*\\.\\d+)|(\\d+\\.\\d*)))[eE][+-]?\\d+))/',
  49. 2 => '/((?i)\\{)|((?i)\\()|((?i)\\[)|((?i)\\/\\*)|((?i)")|((?i)`)|((?mi)\\<\\<\\<[\\x20\\x09]*(\\w+)$)|((?i)\')|((?i)(#|\\/\\/))|((?i)[a-z_]\\w*)|((?i)\\((array|int|integer|string|bool|boolean|object|float|double)\\))|((?i)0[xX][\\da-f]+)|((?i)\\$[a-z_]\\w*)|((?i)\\d\\d*|\\b0\\b)|((?i)0[0-7]+)|((?i)(\\d*\\.\\d+)|(\\d+\\.\\d*))|((?i)((\\d+|((\\d*\\.\\d+)|(\\d+\\.\\d*)))[eE][+-]?\\d+))/',
  50. 3 => '/((?i)\\{)|((?i)\\()|((?i)\\[)|((?i)\\/\\*)|((?i)")|((?i)`)|((?mi)\\<\\<\\<[\\x20\\x09]*(\\w+)$)|((?i)\')|((?i)(#|\\/\\/))|((?i)[a-z_]\\w*)|((?i)\\((array|int|integer|string|bool|boolean|object|float|double)\\))|((?i)0[xX][\\da-f]+)|((?i)\\$[a-z_]\\w*)|((?i)\\d\\d*|\\b0\\b)|((?i)0[0-7]+)|((?i)(\\d*\\.\\d+)|(\\d+\\.\\d*))|((?i)((\\d+|((\\d*\\.\\d+)|(\\d+\\.\\d*)))[eE][+-]?\\d+))/',
  51. 4 => '/((?i)\\s@\\w+\\s)|((?i)((https?|ftp):\\/\\/[\\w\\?\\.\\-\\&=\\/%+]+)|(^|[\\s,!?])www\\.\\w+\\.\\w+[\\w\\?\\.\\&=\\/%+]*)|((?i)\\w+[\\.\\w\\-]+@(\\w+[\\.\\w\\-])+)|((?i)\\bnote:)|((?i)\\$\\w+\\s*:.*\\$)/',
  52. 5 => '/((?i)\\\\[\\\\"\'`tnr\\$\\{])|((?i)\\{\\$[a-z_].*\\})|((?i)\\$[a-z_]\\w*)/',
  53. 6 => '/((?i)\\\\\\\\|\\\\"|\\\\\'|\\\\`)|((?i)\\{\\$[a-z_].*\\})|((?i)\\$[a-z_]\\w*)/',
  54. 7 => '/((?i)\\\\[\\\\"\'`tnr\\$\\{])|((?i)\\{\\$[a-z_].*\\})|((?i)\\$[a-z_]\\w*)/',
  55. 8 => '/((?i)\\\\\\\\|\\\\"|\\\\\'|\\\\`)/',
  56. 9 => '/((?i)\\s@\\w+\\s)|((?i)((https?|ftp):\\/\\/[\\w\\?\\.\\-\\&=\\/%+]+)|(^|[\\s,!?])www\\.\\w+\\.\\w+[\\w\\?\\.\\&=\\/%+]*)|((?i)\\w+[\\.\\w\\-]+@(\\w+[\\.\\w\\-])+)|((?i)\\bnote:)|((?i)\\$\\w+\\s*:.*\\$)/',
  57. 10 => '//',
  58. );
  59. $this->_counts = array (
  60. -1 =>
  61. array (
  62. 0 => 2,
  63. ),
  64. 0 =>
  65. array (
  66. 0 => 0,
  67. 1 => 0,
  68. 2 => 0,
  69. 3 => 0,
  70. 4 => 0,
  71. 5 => 0,
  72. 6 => 1,
  73. 7 => 0,
  74. 8 => 1,
  75. 9 => 0,
  76. 10 => 1,
  77. 11 => 0,
  78. 12 => 0,
  79. 13 => 0,
  80. 14 => 0,
  81. 15 => 2,
  82. 16 => 5,
  83. ),
  84. 1 =>
  85. array (
  86. 0 => 0,
  87. 1 => 0,
  88. 2 => 0,
  89. 3 => 0,
  90. 4 => 0,
  91. 5 => 0,
  92. 6 => 1,
  93. 7 => 0,
  94. 8 => 1,
  95. 9 => 0,
  96. 10 => 1,
  97. 11 => 0,
  98. 12 => 0,
  99. 13 => 0,
  100. 14 => 0,
  101. 15 => 0,
  102. 16 => 2,
  103. 17 => 5,
  104. ),
  105. 2 =>
  106. array (
  107. 0 => 0,
  108. 1 => 0,
  109. 2 => 0,
  110. 3 => 0,
  111. 4 => 0,
  112. 5 => 0,
  113. 6 => 1,
  114. 7 => 0,
  115. 8 => 1,
  116. 9 => 0,
  117. 10 => 1,
  118. 11 => 0,
  119. 12 => 0,
  120. 13 => 0,
  121. 14 => 0,
  122. 15 => 2,
  123. 16 => 5,
  124. ),
  125. 3 =>
  126. array (
  127. 0 => 0,
  128. 1 => 0,
  129. 2 => 0,
  130. 3 => 0,
  131. 4 => 0,
  132. 5 => 0,
  133. 6 => 1,
  134. 7 => 0,
  135. 8 => 1,
  136. 9 => 0,
  137. 10 => 1,
  138. 11 => 0,
  139. 12 => 0,
  140. 13 => 0,
  141. 14 => 0,
  142. 15 => 2,
  143. 16 => 5,
  144. ),
  145. 4 =>
  146. array (
  147. 0 => 0,
  148. 1 => 3,
  149. 2 => 1,
  150. 3 => 0,
  151. 4 => 0,
  152. ),
  153. 5 =>
  154. array (
  155. 0 => 0,
  156. 1 => 0,
  157. 2 => 0,
  158. ),
  159. 6 =>
  160. array (
  161. 0 => 0,
  162. 1 => 0,
  163. 2 => 0,
  164. ),
  165. 7 =>
  166. array (
  167. 0 => 0,
  168. 1 => 0,
  169. 2 => 0,
  170. ),
  171. 8 =>
  172. array (
  173. 0 => 0,
  174. ),
  175. 9 =>
  176. array (
  177. 0 => 0,
  178. 1 => 3,
  179. 2 => 1,
  180. 3 => 0,
  181. 4 => 0,
  182. ),
  183. 10 =>
  184. array (
  185. ),
  186. );
  187. $this->_delim = array (
  188. -1 =>
  189. array (
  190. 0 => 'inlinetags',
  191. ),
  192. 0 =>
  193. array (
  194. 0 => 'brackets',
  195. 1 => 'brackets',
  196. 2 => 'brackets',
  197. 3 => 'comment',
  198. 4 => 'quotes',
  199. 5 => 'quotes',
  200. 6 => 'quotes',
  201. 7 => 'quotes',
  202. 8 => 'comment',
  203. 9 => '',
  204. 10 => '',
  205. 11 => '',
  206. 12 => '',
  207. 13 => '',
  208. 14 => '',
  209. 15 => '',
  210. 16 => '',
  211. ),
  212. 1 =>
  213. array (
  214. 0 => 'brackets',
  215. 1 => 'brackets',
  216. 2 => 'brackets',
  217. 3 => 'comment',
  218. 4 => 'quotes',
  219. 5 => 'quotes',
  220. 6 => 'quotes',
  221. 7 => 'quotes',
  222. 8 => 'comment',
  223. 9 => '',
  224. 10 => '',
  225. 11 => 'inlinetags',
  226. 12 => '',
  227. 13 => '',
  228. 14 => '',
  229. 15 => '',
  230. 16 => '',
  231. 17 => '',
  232. ),
  233. 2 =>
  234. array (
  235. 0 => 'brackets',
  236. 1 => 'brackets',
  237. 2 => 'brackets',
  238. 3 => 'comment',
  239. 4 => 'quotes',
  240. 5 => 'quotes',
  241. 6 => 'quotes',
  242. 7 => 'quotes',
  243. 8 => 'comment',
  244. 9 => '',
  245. 10 => '',
  246. 11 => '',
  247. 12 => '',
  248. 13 => '',
  249. 14 => '',
  250. 15 => '',
  251. 16 => '',
  252. ),
  253. 3 =>
  254. array (
  255. 0 => 'brackets',
  256. 1 => 'brackets',
  257. 2 => 'brackets',
  258. 3 => 'comment',
  259. 4 => 'quotes',
  260. 5 => 'quotes',
  261. 6 => 'quotes',
  262. 7 => 'quotes',
  263. 8 => 'comment',
  264. 9 => '',
  265. 10 => '',
  266. 11 => '',
  267. 12 => '',
  268. 13 => '',
  269. 14 => '',
  270. 15 => '',
  271. 16 => '',
  272. ),
  273. 4 =>
  274. array (
  275. 0 => '',
  276. 1 => '',
  277. 2 => '',
  278. 3 => '',
  279. 4 => '',
  280. ),
  281. 5 =>
  282. array (
  283. 0 => '',
  284. 1 => '',
  285. 2 => '',
  286. ),
  287. 6 =>
  288. array (
  289. 0 => '',
  290. 1 => '',
  291. 2 => '',
  292. ),
  293. 7 =>
  294. array (
  295. 0 => '',
  296. 1 => '',
  297. 2 => '',
  298. ),
  299. 8 =>
  300. array (
  301. 0 => '',
  302. ),
  303. 9 =>
  304. array (
  305. 0 => '',
  306. 1 => '',
  307. 2 => '',
  308. 3 => '',
  309. 4 => '',
  310. ),
  311. 10 =>
  312. array (
  313. ),
  314. );
  315. $this->_inner = array (
  316. -1 =>
  317. array (
  318. 0 => 'code',
  319. ),
  320. 0 =>
  321. array (
  322. 0 => 'code',
  323. 1 => 'code',
  324. 2 => 'code',
  325. 3 => 'comment',
  326. 4 => 'string',
  327. 5 => 'string',
  328. 6 => 'string',
  329. 7 => 'string',
  330. 8 => 'comment',
  331. 9 => 'identifier',
  332. 10 => 'reserved',
  333. 11 => 'number',
  334. 12 => 'var',
  335. 13 => 'number',
  336. 14 => 'number',
  337. 15 => 'number',
  338. 16 => 'number',
  339. ),
  340. 1 =>
  341. array (
  342. 0 => 'code',
  343. 1 => 'code',
  344. 2 => 'code',
  345. 3 => 'comment',
  346. 4 => 'string',
  347. 5 => 'string',
  348. 6 => 'string',
  349. 7 => 'string',
  350. 8 => 'comment',
  351. 9 => 'identifier',
  352. 10 => 'reserved',
  353. 11 => 'default',
  354. 12 => 'number',
  355. 13 => 'var',
  356. 14 => 'number',
  357. 15 => 'number',
  358. 16 => 'number',
  359. 17 => 'number',
  360. ),
  361. 2 =>
  362. array (
  363. 0 => 'code',
  364. 1 => 'code',
  365. 2 => 'code',
  366. 3 => 'comment',
  367. 4 => 'string',
  368. 5 => 'string',
  369. 6 => 'string',
  370. 7 => 'string',
  371. 8 => 'comment',
  372. 9 => 'identifier',
  373. 10 => 'reserved',
  374. 11 => 'number',
  375. 12 => 'var',
  376. 13 => 'number',
  377. 14 => 'number',
  378. 15 => 'number',
  379. 16 => 'number',
  380. ),
  381. 3 =>
  382. array (
  383. 0 => 'code',
  384. 1 => 'code',
  385. 2 => 'code',
  386. 3 => 'comment',
  387. 4 => 'string',
  388. 5 => 'string',
  389. 6 => 'string',
  390. 7 => 'string',
  391. 8 => 'comment',
  392. 9 => 'identifier',
  393. 10 => 'reserved',
  394. 11 => 'number',
  395. 12 => 'var',
  396. 13 => 'number',
  397. 14 => 'number',
  398. 15 => 'number',
  399. 16 => 'number',
  400. ),
  401. 4 =>
  402. array (
  403. 0 => 'inlinedoc',
  404. 1 => 'url',
  405. 2 => 'url',
  406. 3 => 'inlinedoc',
  407. 4 => 'inlinedoc',
  408. ),
  409. 5 =>
  410. array (
  411. 0 => 'special',
  412. 1 => 'var',
  413. 2 => 'var',
  414. ),
  415. 6 =>
  416. array (
  417. 0 => 'special',
  418. 1 => 'var',
  419. 2 => 'var',
  420. ),
  421. 7 =>
  422. array (
  423. 0 => 'special',
  424. 1 => 'var',
  425. 2 => 'var',
  426. ),
  427. 8 =>
  428. array (
  429. 0 => 'special',
  430. ),
  431. 9 =>
  432. array (
  433. 0 => 'inlinedoc',
  434. 1 => 'url',
  435. 2 => 'url',
  436. 3 => 'inlinedoc',
  437. 4 => 'inlinedoc',
  438. ),
  439. 10 =>
  440. array (
  441. ),
  442. );
  443. $this->_end = array (
  444. 0 => '/(?i)\\?\\>/',
  445. 1 => '/(?i)\\}/',
  446. 2 => '/(?i)\\)/',
  447. 3 => '/(?i)\\]/',
  448. 4 => '/(?i)\\*\\//',
  449. 5 => '/(?i)"/',
  450. 6 => '/(?i)`/',
  451. 7 => '/(?mi)^%1%;?$/',
  452. 8 => '/(?i)\'/',
  453. 9 => '/(?mi)$|(?=\\?\\>)/',
  454. 10 => '/(?i)\\<\\?(php|=)?/',
  455. );
  456. $this->_states = array (
  457. -1 =>
  458. array (
  459. 0 => 0,
  460. ),
  461. 0 =>
  462. array (
  463. 0 => 1,
  464. 1 => 2,
  465. 2 => 3,
  466. 3 => 4,
  467. 4 => 5,
  468. 5 => 6,
  469. 6 => 7,
  470. 7 => 8,
  471. 8 => 9,
  472. 9 => -1,
  473. 10 => -1,
  474. 11 => -1,
  475. 12 => -1,
  476. 13 => -1,
  477. 14 => -1,
  478. 15 => -1,
  479. 16 => -1,
  480. ),
  481. 1 =>
  482. array (
  483. 0 => 1,
  484. 1 => 2,
  485. 2 => 3,
  486. 3 => 4,
  487. 4 => 5,
  488. 5 => 6,
  489. 6 => 7,
  490. 7 => 8,
  491. 8 => 9,
  492. 9 => -1,
  493. 10 => -1,
  494. 11 => 10,
  495. 12 => -1,
  496. 13 => -1,
  497. 14 => -1,
  498. 15 => -1,
  499. 16 => -1,
  500. 17 => -1,
  501. ),
  502. 2 =>
  503. array (
  504. 0 => 1,
  505. 1 => 2,
  506. 2 => 3,
  507. 3 => 4,
  508. 4 => 5,
  509. 5 => 6,
  510. 6 => 7,
  511. 7 => 8,
  512. 8 => 9,
  513. 9 => -1,
  514. 10 => -1,
  515. 11 => -1,
  516. 12 => -1,
  517. 13 => -1,
  518. 14 => -1,
  519. 15 => -1,
  520. 16 => -1,
  521. ),
  522. 3 =>
  523. array (
  524. 0 => 1,
  525. 1 => 2,
  526. 2 => 3,
  527. 3 => 4,
  528. 4 => 5,
  529. 5 => 6,
  530. 6 => 7,
  531. 7 => 8,
  532. 8 => 9,
  533. 9 => -1,
  534. 10 => -1,
  535. 11 => -1,
  536. 12 => -1,
  537. 13 => -1,
  538. 14 => -1,
  539. 15 => -1,
  540. 16 => -1,
  541. ),
  542. 4 =>
  543. array (
  544. 0 => -1,
  545. 1 => -1,
  546. 2 => -1,
  547. 3 => -1,
  548. 4 => -1,
  549. ),
  550. 5 =>
  551. array (
  552. 0 => -1,
  553. 1 => -1,
  554. 2 => -1,
  555. ),
  556. 6 =>
  557. array (
  558. 0 => -1,
  559. 1 => -1,
  560. 2 => -1,
  561. ),
  562. 7 =>
  563. array (
  564. 0 => -1,
  565. 1 => -1,
  566. 2 => -1,
  567. ),
  568. 8 =>
  569. array (
  570. 0 => -1,
  571. ),
  572. 9 =>
  573. array (
  574. 0 => -1,
  575. 1 => -1,
  576. 2 => -1,
  577. 3 => -1,
  578. 4 => -1,
  579. ),
  580. 10 =>
  581. array (
  582. ),
  583. );
  584. $this->_keywords = array (
  585. -1 =>
  586. array (
  587. 0 => -1,
  588. ),
  589. 0 =>
  590. array (
  591. 0 => -1,
  592. 1 => -1,
  593. 2 => -1,
  594. 3 => -1,
  595. 4 => -1,
  596. 5 => -1,
  597. 6 => -1,
  598. 7 => -1,
  599. 8 => -1,
  600. 9 =>
  601. array (
  602. 'constants' => '/^(DIRECTORY_SEPARATOR|PATH_SEPARATOR)$/',
  603. 'reserved' => '/^((?i)echo|foreach|else|if|elseif|for|as|while|break|continue|class|const|declare|switch|case|endfor|endswitch|endforeach|endif|array|default|do|enddeclare|eval|exit|die|extends|function|global|include|include_once|require|require_once|isset|empty|list|new|static|unset|var|return|try|catch|final|throw|public|private|protected|abstract|interface|implements|define|__file__|__line__|__class__|__method__|__function__|null|true|false|and|or|xor)$/',
  604. ),
  605. 10 =>
  606. array (
  607. ),
  608. 11 =>
  609. array (
  610. ),
  611. 12 =>
  612. array (
  613. ),
  614. 13 =>
  615. array (
  616. ),
  617. 14 =>
  618. array (
  619. ),
  620. 15 =>
  621. array (
  622. ),
  623. 16 =>
  624. array (
  625. ),
  626. ),
  627. 1 =>
  628. array (
  629. 0 => -1,
  630. 1 => -1,
  631. 2 => -1,
  632. 3 => -1,
  633. 4 => -1,
  634. 5 => -1,
  635. 6 => -1,
  636. 7 => -1,
  637. 8 => -1,
  638. 9 =>
  639. array (
  640. 'constants' => '/^(DIRECTORY_SEPARATOR|PATH_SEPARATOR)$/',
  641. 'reserved' => '/^((?i)echo|foreach|else|if|elseif|for|as|while|break|continue|class|const|declare|switch|case|endfor|endswitch|endforeach|endif|array|default|do|enddeclare|eval|exit|die|extends|function|global|include|include_once|require|require_once|isset|empty|list|new|static|unset|var|return|try|catch|final|throw|public|private|protected|abstract|interface|implements|define|__file__|__line__|__class__|__method__|__function__|null|true|false|and|or|xor)$/',
  642. ),
  643. 10 =>
  644. array (
  645. ),
  646. 11 => -1,
  647. 12 =>
  648. array (
  649. ),
  650. 13 =>
  651. array (
  652. ),
  653. 14 =>
  654. array (
  655. ),
  656. 15 =>
  657. array (
  658. ),
  659. 16 =>
  660. array (
  661. ),
  662. 17 =>
  663. array (
  664. ),
  665. ),
  666. 2 =>
  667. array (
  668. 0 => -1,
  669. 1 => -1,
  670. 2 => -1,
  671. 3 => -1,
  672. 4 => -1,
  673. 5 => -1,
  674. 6 => -1,
  675. 7 => -1,
  676. 8 => -1,
  677. 9 =>
  678. array (
  679. 'constants' => '/^(DIRECTORY_SEPARATOR|PATH_SEPARATOR)$/',
  680. 'reserved' => '/^((?i)echo|foreach|else|if|elseif|for|as|while|break|continue|class|const|declare|switch|case|endfor|endswitch|endforeach|endif|array|default|do|enddeclare|eval|exit|die|extends|function|global|include|include_once|require|require_once|isset|empty|list|new|static|unset|var|return|try|catch|final|throw|public|private|protected|abstract|interface|implements|define|__file__|__line__|__class__|__method__|__function__|null|true|false|and|or|xor)$/',
  681. ),
  682. 10 =>
  683. array (
  684. ),
  685. 11 =>
  686. array (
  687. ),
  688. 12 =>
  689. array (
  690. ),
  691. 13 =>
  692. array (
  693. ),
  694. 14 =>
  695. array (
  696. ),
  697. 15 =>
  698. array (
  699. ),
  700. 16 =>
  701. array (
  702. ),
  703. ),
  704. 3 =>
  705. array (
  706. 0 => -1,
  707. 1 => -1,
  708. 2 => -1,
  709. 3 => -1,
  710. 4 => -1,
  711. 5 => -1,
  712. 6 => -1,
  713. 7 => -1,
  714. 8 => -1,
  715. 9 =>
  716. array (
  717. 'constants' => '/^(DIRECTORY_SEPARATOR|PATH_SEPARATOR)$/',
  718. 'reserved' => '/^((?i)echo|foreach|else|if|elseif|for|as|while|break|continue|class|const|declare|switch|case|endfor|endswitch|endforeach|endif|array|default|do|enddeclare|eval|exit|die|extends|function|global|include|include_once|require|require_once|isset|empty|list|new|static|unset|var|return|try|catch|final|throw|public|private|protected|abstract|interface|implements|define|__file__|__line__|__class__|__method__|__function__|null|true|false|and|or|xor)$/',
  719. ),
  720. 10 =>
  721. array (
  722. ),
  723. 11 =>
  724. array (
  725. ),
  726. 12 =>
  727. array (
  728. ),
  729. 13 =>
  730. array (
  731. ),
  732. 14 =>
  733. array (
  734. ),
  735. 15 =>
  736. array (
  737. ),
  738. 16 =>
  739. array (
  740. ),
  741. ),
  742. 4 =>
  743. array (
  744. 0 =>
  745. array (
  746. ),
  747. 1 =>
  748. array (
  749. ),
  750. 2 =>
  751. array (
  752. ),
  753. 3 =>
  754. array (
  755. ),
  756. 4 =>
  757. array (
  758. ),
  759. ),
  760. 5 =>
  761. array (
  762. 0 =>
  763. array (
  764. ),
  765. 1 =>
  766. array (
  767. ),
  768. 2 =>
  769. array (
  770. ),
  771. ),
  772. 6 =>
  773. array (
  774. 0 =>
  775. array (
  776. ),
  777. 1 =>
  778. array (
  779. ),
  780. 2 =>
  781. array (
  782. ),
  783. ),
  784. 7 =>
  785. array (
  786. 0 =>
  787. array (
  788. ),
  789. 1 =>
  790. array (
  791. ),
  792. 2 =>
  793. array (
  794. ),
  795. ),
  796. 8 =>
  797. array (
  798. 0 =>
  799. array (
  800. ),
  801. ),
  802. 9 =>
  803. array (
  804. 0 =>
  805. array (
  806. ),
  807. 1 =>
  808. array (
  809. ),
  810. 2 =>
  811. array (
  812. ),
  813. 3 =>
  814. array (
  815. ),
  816. 4 =>
  817. array (
  818. ),
  819. ),
  820. 10 =>
  821. array (
  822. ),
  823. );
  824. $this->_parts = array (
  825. 0 =>
  826. array (
  827. 0 => NULL,
  828. 1 => NULL,
  829. 2 => NULL,
  830. 3 => NULL,
  831. 4 => NULL,
  832. 5 => NULL,
  833. 6 => NULL,
  834. 7 => NULL,
  835. 8 => NULL,
  836. 9 => NULL,
  837. 10 => NULL,
  838. 11 => NULL,
  839. 12 => NULL,
  840. 13 => NULL,
  841. 14 => NULL,
  842. 15 => NULL,
  843. 16 => NULL,
  844. ),
  845. 1 =>
  846. array (
  847. 0 => NULL,
  848. 1 => NULL,
  849. 2 => NULL,
  850. 3 => NULL,
  851. 4 => NULL,
  852. 5 => NULL,
  853. 6 => NULL,
  854. 7 => NULL,
  855. 8 => NULL,
  856. 9 => NULL,
  857. 10 => NULL,
  858. 11 => NULL,
  859. 12 => NULL,
  860. 13 => NULL,
  861. 14 => NULL,
  862. 15 => NULL,
  863. 16 => NULL,
  864. 17 => NULL,
  865. ),
  866. 2 =>
  867. array (
  868. 0 => NULL,
  869. 1 => NULL,
  870. 2 => NULL,
  871. 3 => NULL,
  872. 4 => NULL,
  873. 5 => NULL,
  874. 6 => NULL,
  875. 7 => NULL,
  876. 8 => NULL,
  877. 9 => NULL,
  878. 10 => NULL,
  879. 11 => NULL,
  880. 12 => NULL,
  881. 13 => NULL,
  882. 14 => NULL,
  883. 15 => NULL,
  884. 16 => NULL,
  885. ),
  886. 3 =>
  887. array (
  888. 0 => NULL,
  889. 1 => NULL,
  890. 2 => NULL,
  891. 3 => NULL,
  892. 4 => NULL,
  893. 5 => NULL,
  894. 6 => NULL,
  895. 7 => NULL,
  896. 8 => NULL,
  897. 9 => NULL,
  898. 10 => NULL,
  899. 11 => NULL,
  900. 12 => NULL,
  901. 13 => NULL,
  902. 14 => NULL,
  903. 15 => NULL,
  904. 16 => NULL,
  905. ),
  906. 4 =>
  907. array (
  908. 0 => NULL,
  909. 1 => NULL,
  910. 2 => NULL,
  911. 3 => NULL,
  912. 4 => NULL,
  913. ),
  914. 5 =>
  915. array (
  916. 0 => NULL,
  917. 1 => NULL,
  918. 2 => NULL,
  919. ),
  920. 6 =>
  921. array (
  922. 0 => NULL,
  923. 1 => NULL,
  924. 2 => NULL,
  925. ),
  926. 7 =>
  927. array (
  928. 0 => NULL,
  929. 1 => NULL,
  930. 2 => NULL,
  931. ),
  932. 8 =>
  933. array (
  934. 0 => NULL,
  935. ),
  936. 9 =>
  937. array (
  938. 0 => NULL,
  939. 1 => NULL,
  940. 2 => NULL,
  941. 3 => NULL,
  942. 4 => NULL,
  943. ),
  944. 10 =>
  945. array (
  946. ),
  947. );
  948. $this->_subst = array (
  949. -1 =>
  950. array (
  951. 0 => false,
  952. ),
  953. 0 =>
  954. array (
  955. 0 => false,
  956. 1 => false,
  957. 2 => false,
  958. 3 => false,
  959. 4 => false,
  960. 5 => false,
  961. 6 => true,
  962. 7 => false,
  963. 8 => false,
  964. 9 => false,
  965. 10 => false,
  966. 11 => false,
  967. 12 => false,
  968. 13 => false,
  969. 14 => false,
  970. 15 => false,
  971. 16 => false,
  972. ),
  973. 1 =>
  974. array (
  975. 0 => false,
  976. 1 => false,
  977. 2 => false,
  978. 3 => false,
  979. 4 => false,
  980. 5 => false,
  981. 6 => true,
  982. 7 => false,
  983. 8 => false,
  984. 9 => false,
  985. 10 => false,
  986. 11 => false,
  987. 12 => false,
  988. 13 => false,
  989. 14 => false,
  990. 15 => false,
  991. 16 => false,
  992. 17 => false,
  993. ),
  994. 2 =>
  995. array (
  996. 0 => false,
  997. 1 => false,
  998. 2 => false,
  999. 3 => false,
  1000. 4 => false,
  1001. 5 => false,
  1002. 6 => true,
  1003. 7 => false,
  1004. 8 => false,
  1005. 9 => false,
  1006. 10 => false,
  1007. 11 => false,
  1008. 12 => false,
  1009. 13 => false,
  1010. 14 => false,
  1011. 15 => false,
  1012. 16 => false,
  1013. ),
  1014. 3 =>
  1015. array (
  1016. 0 => false,
  1017. 1 => false,
  1018. 2 => false,
  1019. 3 => false,
  1020. 4 => false,
  1021. 5 => false,
  1022. 6 => true,
  1023. 7 => false,
  1024. 8 => false,
  1025. 9 => false,
  1026. 10 => false,
  1027. 11 => false,
  1028. 12 => false,
  1029. 13 => false,
  1030. 14 => false,
  1031. 15 => false,
  1032. 16 => false,
  1033. ),
  1034. 4 =>
  1035. array (
  1036. 0 => false,
  1037. 1 => false,
  1038. 2 => false,
  1039. 3 => false,
  1040. 4 => false,
  1041. ),
  1042. 5 =>
  1043. array (
  1044. 0 => false,
  1045. 1 => false,
  1046. 2 => false,
  1047. ),
  1048. 6 =>
  1049. array (
  1050. 0 => false,
  1051. 1 => false,
  1052. 2 => false,
  1053. ),
  1054. 7 =>
  1055. array (
  1056. 0 => false,
  1057. 1 => false,
  1058. 2 => false,
  1059. ),
  1060. 8 =>
  1061. array (
  1062. 0 => false,
  1063. ),
  1064. 9 =>
  1065. array (
  1066. 0 => false,
  1067. 1 => false,
  1068. 2 => false,
  1069. 3 => false,
  1070. 4 => false,
  1071. ),
  1072. 10 =>
  1073. array (
  1074. ),
  1075. );
  1076. $this->_conditions = array (
  1077. );
  1078. $this->_kwmap = array (
  1079. 'constants' => 'reserved',
  1080. 'reserved' => 'reserved',
  1081. );
  1082. $this->_defClass = 'code';
  1083. $this->_checkDefines();
  1084. }
  1085. }