source: node_modules/prismjs/components/prism-php-extras.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 385 bytes
Line 
1Prism.languages.insertBefore('php', 'variable', {
2 'this': {
3 pattern: /\$this\b/,
4 alias: 'keyword'
5 },
6 'global': /\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,
7 'scope': {
8 pattern: /\b[\w\\]+::/,
9 inside: {
10 'keyword': /\b(?:parent|self|static)\b/,
11 'punctuation': /::|\\/
12 }
13 }
14});
Note: See TracBrowser for help on using the repository browser.