From 9a30addf2dee06ae4b1af76d6f881f4b7054eba8 Mon Sep 17 00:00:00 2001 From: xue <> Date: Thu, 12 Jan 2006 16:25:07 +0000 Subject: Added a few PHP5 keywords. --- framework/Web/UI/WebControls/Highlighter/geshi/php.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'framework/Web') diff --git a/framework/Web/UI/WebControls/Highlighter/geshi/php.php b/framework/Web/UI/WebControls/Highlighter/geshi/php.php index e78ec47c..6bc4fed6 100644 --- a/framework/Web/UI/WebControls/Highlighter/geshi/php.php +++ b/framework/Web/UI/WebControls/Highlighter/geshi/php.php @@ -69,7 +69,10 @@ $language_data = array ( 'false', '<?php', '?>', '<?', '<script language', '</script>', 'true', 'var', 'default', - 'function', 'class', 'new', '&new', + 'function', 'class', 'interface', 'try', 'catch', 'throw', + 'parent', 'self', 'final', '__construct', '__destruct', + 'extends', 'implements', 'instanceof', + 'interfaceof', 'private', 'public', 'protected', 'abstract', 'new', '&new', '__FUNCTION__', '__CLASS__', '__METHOD__', 'PHP_VERSION', 'PHP_OS', 'DEFAULT_INCLUDE_PATH', 'PEAR_INSTALL_DIR', 'PEAR_EXTENSION_DIR', 'PHP_EXTENSION_DIR', 'PHP_BINDIR', 'PHP_LIBDIR', 'PHP_DATADIR', 'PHP_SYSCONFDIR', -- cgit v1.2.3