1 | Prism.languages.insertBefore('php', 'variable', {
|
2 | 'this': /\$this\b/,
|
3 | 'global': /\$(?:_(?:SERVER|GET|POST|FILES|REQUEST|SESSION|ENV|COOKIE)|GLOBALS|HTTP_RAW_POST_DATA|argc|argv|php_errormsg|http_response_header)\b/,
|
4 | 'scope': {
|
5 | pattern: /\b[\w\\]+::/,
|
6 | inside: {
|
7 | keyword: /static|self|parent/,
|
8 | punctuation: /::|\\/
|
9 | }
|
10 | }
|
11 | }); |
\ | No newline at end of file |