mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-19 03:48:18 -07:00
11 lines
338 B
JavaScript
11 lines
338 B
JavaScript
Prism.languages.insertBefore('php', 'variable', {
|
|
'this': /\$this\b/,
|
|
'global': /\$(?:_(?:SERVER|GET|POST|FILES|REQUEST|SESSION|ENV|COOKIE)|GLOBALS|HTTP_RAW_POST_DATA|argc|argv|php_errormsg|http_response_header)/,
|
|
'scope': {
|
|
pattern: /\b[\w\\]+::/,
|
|
inside: {
|
|
keyword: /(static|self|parent)/,
|
|
punctuation: /(::|\\)/
|
|
}
|
|
}
|
|
}); |