Blame view

bower_components/prism/components/prism-php-extras.js 338 Bytes
73bcce88   luigser   COMPONENTS
1
  Prism.languages.insertBefore('php', 'variable', {
eb240478   Luigi Serra   public room cards...
2
3
  	'this': /\$this\b/,
  	'global': /\$(?:_(?:SERVER|GET|POST|FILES|REQUEST|SESSION|ENV|COOKIE)|GLOBALS|HTTP_RAW_POST_DATA|argc|argv|php_errormsg|http_response_header)/,
73bcce88   luigser   COMPONENTS
4
5
6
7
8
9
10
11
  	'scope': {
  		pattern: /\b[\w\\]+::/,
  		inside: {
  			keyword: /(static|self|parent)/,
  			punctuation: /(::|\\)/
  		}
  	}
  });