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