summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/Highlighter/geshi
diff options
context:
space:
mode:
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', '<?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',