Blame view

bower_components/prism/components/prism-php-extras.js 331 Bytes
73bcce88   luigser   COMPONENTS
1
2
3
4
5
6
7
8
9
10
11
  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: /(::|\\)/
  		}
  	}
  });