function geshi_php_php5(GeSHiContext &$context) { geshi_php_common($context); // Standard PHP5 keywords $context->addKeywordGroup(array('declare', 'abstract', 'catch', 'class', 'default', 'final', 'implements', 'interface', 'private', 'protected', 'public', 'self', 'throw', 'try'), 'keyword'); // Constants $context->addKeywordGroup(array('E_STRICT', '__METHOD__'), 'constant'); // PHP is embedded within HTML $context = $context->embedInside('html/html'); }
function geshi_php_php(GeSHiContext &$context) { geshi_php_common($context); // PHP is embedded within HTML $context = $context->embedInside('html/html'); }