1234567891011 |
- Prism.languages.insertBefore('php', 'variable', {
- 'this': /\$this/,
- 'global': /\$_?(GLOBALS|SERVER|GET|POST|FILES|REQUEST|SESSION|ENV|COOKIE|HTTP_RAW_POST_DATA|argc|argv|php_errormsg|http_response_header)/,
- 'scope': {
- pattern: /\b[\w\\]+::/,
- inside: {
- keyword: /(static|self|parent)/,
- punctuation: /(::|\\)/
- }
- }
- });
|