summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/Highlighter/geshi
diff options
context:
space:
mode:
authorxue <>2006-01-12 16:25:07 +0000
committerxue <>2006-01-12 16:25:07 +0000
commit9a30addf2dee06ae4b1af76d6f881f4b7054eba8 (patch)
tree4d3ad5e46ea3d8194ff9404e166393b2d966303a /framework/Web/UI/WebControls/Highlighter/geshi
parent65f9ef95718e6a9a30f1aa297e3fa566ededdfea (diff)
Added a few PHP5 keywords.
Diffstat (limited to 'framework/Web/UI/WebControls/Highlighter/geshi')
-rw-r--r--framework/Web/UI/WebControls/Highlighter/geshi/php.php5
1 files changed, 4 insertions, 1 deletions
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', '&lt;?php', '?&gt;', '&lt;?',
'&lt;script language', '&lt;/script&gt;',
'true', 'var', 'default',
- 'function', 'class', 'new', '&amp;new',
+ 'function', 'class', 'interface', 'try', 'catch', 'throw',
+ 'parent', 'self', 'final', '__construct', '__destruct',
+ 'extends', 'implements', 'instanceof',
+ 'interfaceof', 'private', 'public', 'protected', 'abstract', 'new', '&amp;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',