websvn |
Subversion Repositories: |
Rev 1 | Rev 3 | |
---|---|---|
Line 2... | Line 2... | |
/************************************************************************************* |
/************************************************************************************* | |
* php-brief.php |
* php-brief.php | |
* ------------- |
* ------------- | |
* Author: Nigel McNie (nigel@geshi.org) |
* Author: Nigel McNie (nigel@geshi.org) | |
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) |
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) | |
* Release Version: 1.0.8.1 |
* Release Version: 1.0.8.3 | |
* Date Started: 2004/06/02 |
* Date Started: 2004/06/02 | |
* |
* | |
* PHP (brief version) language file for GeSHi. |
* PHP (brief version) language file for GeSHi. | |
* |
* | |
* CHANGES |
* CHANGES | |
Line 67... | Line 67... | |
'for', 'as', 'foreach', 'if', 'elseif', 'else', 'while', 'do', 'endwhile', 'endif', 'switch', 'case', 'endswitch', |
'for', 'as', 'foreach', 'if', 'elseif', 'else', 'while', 'do', 'endwhile', 'endif', 'switch', 'case', 'endswitch', | |
'return', 'break' |
'return', 'break' | |
), |
), | |
2 => array( |
2 => array( | |
'null', '__LINE__', '__FILE__', |
'null', '__LINE__', '__FILE__', | |
'false', '<?php', '<?', '<?=', '?>', '<%', '<%=', '%>', |
'false', '<?php', | |
'true', 'var', 'default', |
'true', 'var', 'default', | |
'function', 'class', 'new', '&new', 'public', 'private', 'interface', 'extends', |
'function', 'class', 'new', '&new', 'public', 'private', 'interface', 'extends', | |
'const', 'self' |
'const', 'self' | |
), |
), | |
3 => array( |
3 => array( | |
Line 89... | Line 89... | |
'pg_trace', 'pg_untrace', 'pg_lo_create', 'pg_lo_unlink', 'pg_lo_open', 'pg_lo_close', 'pg_lo_read', 'pg_lo_write', 'pg_lo_read_all', 'pg_lo_import', 'pg_lo_export', 'pg_lo_seek', 'pg_lo_tell', 'pg_escape_string', 'pg_escape_bytea', 'pg_unescape_bytea', 'pg_client_encoding', 'pg_set_client_encoding', 'pg_meta_data', 'pg_convert', 'pg_insert', 'pg_update', 'pg_delete', 'pg_select', 'pg_exec', 'pg_getlastoid', 'pg_cmdtuples', 'pg_errormessage', 'pg_numrows', 'pg_numfields', 'pg_fieldname', 'pg_fieldsize', 'pg_fieldtype', 'pg_fieldnum', 'pg_fieldprtlen', 'pg_fieldisnull', 'pg_freeresult', 'pg_result', 'pg_loreadall', 'pg_locreate', 'pg_lounlink', 'pg_loopen', 'pg_loclose', 'pg_loread', 'pg_lowrite', 'pg_loimport', 'pg_loexport', |
'pg_trace', 'pg_untrace', 'pg_lo_create', 'pg_lo_unlink', 'pg_lo_open', 'pg_lo_close', 'pg_lo_read', 'pg_lo_write', 'pg_lo_read_all', 'pg_lo_import', 'pg_lo_export', 'pg_lo_seek', 'pg_lo_tell', 'pg_escape_string', 'pg_escape_bytea', 'pg_unescape_bytea', 'pg_client_encoding', 'pg_set_client_encoding', 'pg_meta_data', 'pg_convert', 'pg_insert', 'pg_update', 'pg_delete', 'pg_select', 'pg_exec', 'pg_getlastoid', 'pg_cmdtuples', 'pg_errormessage', 'pg_numrows', 'pg_numfields', 'pg_fieldname', 'pg_fieldsize', 'pg_fieldtype', 'pg_fieldnum', 'pg_fieldprtlen', 'pg_fieldisnull', 'pg_freeresult', 'pg_result', 'pg_loreadall', 'pg_locreate', 'pg_lounlink', 'pg_loopen', 'pg_loclose', 'pg_loread', 'pg_lowrite', 'pg_loimport', 'pg_loexport', | |
'echo', 'print', 'global', 'static', 'exit', 'array', 'empty', 'eval', 'isset', 'unset', 'die' |
'echo', 'print', 'global', 'static', 'exit', 'array', 'empty', 'eval', 'isset', 'unset', 'die' | |
) |
) | |
), |
), | |
'SYMBOLS' => array( |
'SYMBOLS' => array( | |
'(', ')', '[', ']', '{', '}', |
1 => array( | |
'!', '@', '%', '&', '|', '/', |
'<%', '<%=', '%>', '<?', '<?=', '?>' | |
'<', '>', |
), | |
'=', '-', '+', '*', |
0 => array( | |
'.', ':', ',', ';' |
'(', ')', '[', ']', '{', '}', | |
'!', '@', '%', '&', '|', '/', | ||
'<', '>', | ||
'=', '-', '+', '*', | ||
'.', ':', ',', ';' | ||
) | ||
), |
), | |
'CASE_SENSITIVE' => array( |
'CASE_SENSITIVE' => array( | |
GESHI_COMMENTS => false, |
GESHI_COMMENTS => false, | |
1 => false, |
1 => false, | |
2 => false, |
2 => false, | |
Line 135... | Line 140... | |
'METHODS' => array( |
'METHODS' => array( | |
1 => 'color: #004000;', |
1 => 'color: #004000;', | |
2 => 'color: #004000;' |
2 => 'color: #004000;' | |
), |
), | |
'SYMBOLS' => array( |
'SYMBOLS' => array( | |
0 => 'color: #339933;' |
0 => 'color: #339933;', | |
1 => 'color: #000000; font-weight: bold;' | ||
), |
), | |
'REGEXPS' => array( |
'REGEXPS' => array( | |
0 => 'color: #0000ff;' |
0 => 'color: #0000ff;' | |
), |
), | |
'SCRIPT' => array( |
'SCRIPT' => array( |