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