You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
385 B
14 lines
385 B
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': /::|\\/ |
|
} |
|
} |
|
});
|
|
|