basant307/AI_Governance_Project
048
1/*2Language: PHP Template3Requires: xml.js, php.js4Author: Josh Goebel <hello@joshgoebel.com>5Website: https://www.php.net6Category: common7*/8 9function phpTemplate(hljs) {10 return {11 name: "PHP template",12 subLanguage: 'xml',13 contains: [14 {15 begin: /<\?(php|=)?/,16 end: /\?>/,17 subLanguage: 'php',18 contains: [19 // We don't want the php closing tag ?> to close the PHP block when20 // inside any of the following blocks:21 {22 begin: '/\\*',23 end: '\\*/',24 skip: true25 },26 {27 begin: 'b"',28 end: '"',29 skip: true30 },31 {32 begin: 'b\'',33 end: '\'',34 skip: true35 },36 hljs.inherit(hljs.APOS_STRING_MODE, {37 illegal: null,38 className: null,39 contains: null,40 skip: true41 }),42 hljs.inherit(hljs.QUOTE_STRING_MODE, {43 illegal: null,44 className: null,45 contains: null,46 skip: true47 })48 ]49 }50 ]51 };52}53 54export { phpTemplate as default };55 