diff --git a/src/languages/php.js b/src/languages/php.js index 972083e4b9..8cf977210a 100644 --- a/src/languages/php.js +++ b/src/languages/php.js @@ -12,6 +12,7 @@ Category: common * */ export default function(hljs) { var VARIABLE = { + className: 'variable', begin: '\\$+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*' }; var PREPROCESSOR = {