ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
HFile_php3.php
Go to the documentation of this file.
1 <?php
2 $BEAUT_PATH = realpath(".")."/Services/COPage/syntax_highlight/php";
3 if (!isset ($BEAUT_PATH)) return;
4 
5 require_once($BEAUT_PATH.'/Beautifier/HFile.php');
6 
7 class HFile_php3 extends HFile{
8 
9  function HFile_php3(){
10 
11  $this->HFile();
12 
13 
14 /*************************************/
15 // Beautifier Highlighting Configuration File
16 // PHP3
17 /*************************************/
18 // Flags
19 
20 $this->nocase = "1";
21 $this->notrim = "0";
22 $this->perl = "0";
23 
24 // Colours
25 
26 $this->colours = array("purple", "blue", "green");
27 $this->quotecolour = "blue";
28 $this->blockcommentcolour = "green";
29 $this->linecommentcolour = "green";
30 
31 // Indent Strings
32 
33 $this->indent = array("{");
34 $this->unindent = array("}");
35 
36 $this->selecton = "<!";
37 $this->selectoff = "!>";
38 
39 // String characters and delimiters
40 
41 $this->stringchars = array("\"", "'");
42 $this->delimiters = array("~", "!", "@", "%", "^", "&", "*", "(", ")", "+", "=", "|", "\\", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?");
43 $this->escchar = "\\";
44 
45 // Comment settings
46 
47 $this->linecommenton = array("//", "#");
48 $this->blockcommenton = array("/*");
49 $this->blockcommentoff = array("*/");
50 
51 // Keywords (keyword mapping to colour number)
52 
53 $this->keywords = array(
54  "echo" => "2",
55  "else" => "1",
56  "for" => "1",
57  "global" => "1",
58  "if" => "1",
59  "return" => "1",
60  "while" => "1",
61  "include" => "1",
62  "require" => "1",
63  "require_once" => "1",
64  "Abs" => "2",
65  "Acos" => "2",
66  "ada_afetch" => "2",
67  "ada_autocommit" => "2",
68  "ada_close" => "2",
69  "ada_commit" => "2",
70  "ada_connect" => "2",
71  "ada_exec" => "2",
72  "ada_fetchrow" => "2",
73  "ada_fieldname" => "2",
74  "ada_fieldnum" => "2",
75  "ada_fieldtype" => "2",
76  "ada_freeresult" => "2",
77  "ada_numfields" => "2",
78  "ada_numrows" => "2",
79  "ada_result" => "2",
80  "ada_resultall" => "2",
81  "ada_rollback" => "2",
82  "AddCSlashes" => "2",
83  "AddSlashes" => "2",
84  "apache_lookup_uri" => "2",
85  "apache_note" => "2",
86  "array" => "2",
87  "array_count_values" => "2",
88  "array_flip" => "2",
89  "array_keys" => "2",
90  "array_merge" => "2",
91  "array_pad" => "2",
92  "array_pop" => "2",
93  "array_push" => "2",
94  "array_reverse" => "2",
95  "array_shift" => "2",
96  "array_slice" => "2",
97  "array_splice" => "2",
98  "array_unshift" => "2",
99  "array_values" => "2",
100  "array_walk" => "2",
101  "arsort" => "2",
102  "Asin" => "2",
103  "asort" => "2",
104  "aspell_check" => "2",
105  "aspell_check-raw" => "2",
106  "aspell_new" => "2",
107  "aspell_suggest" => "2",
108  "Atan" => "2",
109  "Atan2" => "2",
110  "base64_decode" => "2",
111  "base64_encode" => "2",
112  "basename" => "2",
113  "base_convert" => "2",
114  "bcadd" => "2",
115  "bccomp" => "2",
116  "bcdiv" => "2",
117  "bcmod" => "2",
118  "bcmul" => "2",
119  "bcpow" => "2",
120  "bcscale" => "2",
121  "bcsqrt" => "2",
122  "bcsub" => "2",
123  "bin2hex" => "2",
124  "BinDec" => "2",
125  "class" => "2",
126  "Ceil" => "2",
127  "chdir" => "2",
128  "checkdate" => "2",
129  "checkdnsrr" => "2",
130  "chgrp" => "2",
131  "chmod" => "2",
132  "Chop" => "2",
133  "chown" => "2",
134  "Chr" => "2",
135  "chunk_split" => "2",
136  "clearstatcache" => "2",
137  "closedir" => "2",
138  "closelog" => "2",
139  "connection_aborted" => "2",
140  "connection_status" => "2",
141  "connection_timeout" => "2",
142  "contained" => "2",
143  "convert_cyr_string" => "2",
144  "copy" => "2",
145  "Cos" => "2",
146  "count" => "2",
147  "cpdf_add_annotation" => "2",
148  "cpdf_add_outline" => "2",
149  "cpdf_arc" => "2",
150  "cpdf_begin_text" => "2",
151  "cpdf_circle" => "2",
152  "cpdf_clip" => "2",
153  "cpdf_close" => "2",
154  "cpdf_closepath" => "2",
155  "cpdf_closepath_fill_stroke" => "2",
156  "cpdf_closepath_stroke" => "2",
157  "cpdf_continue_text" => "2",
158  "cpdf_curveto" => "2",
159  "cpdf_end_text" => "2",
160  "cpdf_fill" => "2",
161  "cpdf_fill_stroke" => "2",
162  "cpdf_finalize" => "2",
163  "cpdf_finalize_page" => "2",
164  "cpdf_import_jpeg" => "2",
165  "cpdf_lineto" => "2",
166  "cpdf_moveto" => "2",
167  "cpdf_open" => "2",
168  "cpdf_output_buffer" => "2",
169  "cpdf_page_init" => "2",
170  "cpdf_place_inline_image" => "2",
171  "cpdf_rect" => "2",
172  "cpdf_restore" => "2",
173  "cpdf_rlineto" => "2",
174  "cpdf_rmoveto" => "2",
175  "cpdf_rotate" => "2",
176  "cpdf_save" => "2",
177  "cpdf_save_to_file" => "2",
178  "cpdf_scale" => "2",
179  "cpdf_setdash" => "2",
180  "cpdf_setflat" => "2",
181  "cpdf_setgray" => "2",
182  "cpdf_setgray_fill" => "2",
183  "cpdf_setgray_stroke" => "2",
184  "cpdf_setlinecap" => "2",
185  "cpdf_setlinejoin" => "2",
186  "cpdf_setlinewidth" => "2",
187  "cpdf_setmiterlimit" => "2",
188  "cpdf_setrgbcolor" => "2",
189  "cpdf_setrgbcolor_fill" => "2",
190  "cpdf_setrgbcolor_stroke" => "2",
191  "cpdf_set_char_spacing" => "2",
192  "cpdf_set_creator" => "2",
193  "cpdf_set_current_page" => "2",
194  "cpdf_set_font" => "2",
195  "cpdf_set_horiz_scaling" => "2",
196  "cpdf_set_keywords" => "2",
197  "cpdf_set_leading" => "2",
198  "cpdf_set_page_animation" => "2",
199  "cpdf_set_subject" => "2",
200  "cpdf_set_text_matrix" => "2",
201  "cpdf_set_text_pos" => "2",
202  "cpdf_set_text_rendering" => "2",
203  "cpdf_set_text_rise" => "2",
204  "cpdf_set_title" => "2",
205  "cpdf_set_word_spacing" => "2",
206  "cpdf_show" => "2",
207  "cpdf_show_xy" => "2",
208  "cpdf_stringwidth" => "2",
209  "cpdf_stroke" => "2",
210  "cpdf_text" => "2",
211  "cpdf_translate" => "2",
212  "crypt" => "2",
213  "current" => "2",
214  "date" => "2",
215  "dbase_add_record" => "2",
216  "dbase_close" => "2",
217  "dbase_create" => "2",
218  "dbase_delete_record" => "2",
219  "dbase_get_record" => "2",
220  "dbase_get_record_with_names" => "2",
221  "dbase_numfields" => "2",
222  "dbase_numrecords" => "2",
223  "dbase_open" => "2",
224  "dbase_pack" => "2",
225  "dbase_replace_record" => "2",
226  "dblist" => "2",
227  "dbmclose" => "2",
228  "dbmdelete" => "2",
229  "dbmexists" => "2",
230  "dbmfetch" => "2",
231  "dbmfirstkey" => "2",
232  "dbminsert" => "2",
233  "dbmnextkey" => "2",
234  "dbmopen" => "2",
235  "dbmreplace" => "2",
236  "debugger_off" => "2",
237  "debugger_on" => "2",
238  "DecBin" => "2",
239  "DecHex" => "2",
240  "DecOct" => "2",
241  "define" => "2",
242  "defined" => "2",
243  "delete" => "2",
244  "die" => "2",
245  "dir" => "2",
246  "dirname" => "2",
247  "diskfreespace" => "2",
248  "dl" => "2",
249  "doubleval" => "2",
250  "each" => "2",
251  "easter_date" => "2",
252  "easter_days" => "2",
253  "empty" => "2",
254  "end" => "2",
255  "endwhile" => "2",
256  "ereg" => "2",
257  "eregi" => "2",
258  "eregi_replace" => "2",
259  "ereg_replace" => "2",
260  "error_log" => "2",
261  "error_reporting" => "2",
262  "escapeshellcmd" => "2",
263  "eval" => "2",
264  "exec" => "2",
265  "exit" => "2",
266  "Exp" => "2",
267  "explode" => "2",
268  "extension_loaded" => "2",
269  "extract" => "2",
270  "fclose" => "2",
271  "fdf_close" => "2",
272  "fdf_create" => "2",
273  "fdf_get_file" => "2",
274  "fdf_get_status" => "2",
275  "fdf_get_value" => "2",
276  "fdf_next_field_name" => "2",
277  "fdf_open" => "2",
278  "fdf_save" => "2",
279  "fdf_set_ap" => "2",
280  "fdf_set_file" => "2",
281  "fdf_set_status" => "2",
282  "fdf_set_value" => "2",
283  "feof" => "2",
284  "fgetc" => "2",
285  "fgetcsv" => "2",
286  "fgets" => "2",
287  "fgetss" => "2",
288  "file" => "2",
289  "fileatime" => "2",
290  "filectime" => "2",
291  "filegroup" => "2",
292  "fileinode" => "2",
293  "filemtime" => "2",
294  "fileowner" => "2",
295  "fileperms" => "2",
296  "filepro" => "2",
297  "filepro_fieldcount" => "2",
298  "filepro_fieldname" => "2",
299  "filepro_fieldtype" => "2",
300  "filepro_fieldwidth" => "2",
301  "filepro_retrieve" => "2",
302  "filepro_rowcount" => "2",
303  "filesize" => "2",
304  "filetype" => "2",
305  "file_exists" => "2",
306  "flock" => "2",
307  "Floor" => "2",
308  "flush" => "2",
309  "fopen" => "2",
310  "fpassthru" => "2",
311  "fputs" => "2",
312  "fread" => "2",
313  "FrenchToJD" => "2",
314  "fseek" => "2",
315  "fsockopen" => "2",
316  "ftell" => "2",
317  "ftp_cdup" => "2",
318  "ftp_chdir" => "2",
319  "ftp_connect" => "2",
320  "ftp_delete" => "2",
321  "ftp_fget" => "2",
322  "ftp_fput" => "2",
323  "ftp_get" => "2",
324  "ftp_login" => "2",
325  "ftp_mdtm" => "2",
326  "ftp_mkdir" => "2",
327  "ftp_nlist" => "2",
328  "ftp_pasv" => "2",
329  "ftp_put" => "2",
330  "ftp_pwd" => "2",
331  "ftp_quit" => "2",
332  "ftp_rawlist" => "2",
333  "ftp_rename" => "2",
334  "ftp_rmdir" => "2",
335  "ftp_size" => "2",
336  "ftp_systype" => "2",
337  "function" => "2",
338  "function_exists" => "2",
339  "func_get_arg" => "2",
340  "func_get_args" => "2",
341  "func_num_args" => "2",
342  "fwrite" => "2",
343  "getallheaders" => "2",
344  "getdate" => "2",
345  "getenv" => "2",
346  "gethostbyaddr" => "2",
347  "gethostbyname" => "2",
348  "gethostbynamel" => "2",
349  "GetImageSize" => "2",
350  "getlastmod" => "2",
351  "getmxrr" => "2",
352  "getmyinode" => "2",
353  "getmypid" => "2",
354  "getmyuid" => "2",
355  "getprotobyname" => "2",
356  "getprotobynumber" => "2",
357  "getrandmax" => "2",
358  "getrusage" => "2",
359  "getservbyname" => "2",
360  "getservbyport" => "2",
361  "gettimeofday" => "2",
362  "gettype" => "2",
363  "get_browser" => "2",
364  "get_cfg_var" => "2",
365  "get_current_user" => "2",
366  "get_html_translation_table" => "2",
367  "get_magic_quotes_gpc" => "2",
368  "get_magic_quotes_runtime" => "2",
369  "get_meta_tags" => "2",
370  "gmdate" => "2",
371  "gmmktime" => "2",
372  "gmstrftime" => "2",
373  "GregorianToJD" => "2",
374  "gzclose" => "2",
375  "gzeof" => "2",
376  "gzfile" => "2",
377  "gzgetc" => "2",
378  "gzgets" => "2",
379  "gzgetss" => "2",
380  "gzopen" => "2",
381  "gzpassthru" => "2",
382  "gzputs" => "2",
383  "gzread" => "2",
384  "gzrewind" => "2",
385  "gzseek" => "2",
386  "gztell" => "2",
387  "gzwrite" => "2",
388  "header" => "2",
389  "HexDec" => "2",
390  "htmlentities" => "2",
391  "htmlspecialchars" => "2",
392  "hw_Array2Objrec" => "2",
393  "hw_Children" => "2",
394  "hw_ChildrenObj" => "2",
395  "hw_Close" => "2",
396  "hw_Connect" => "2",
397  "hw_Cp" => "2",
398  "hw_Deleteobject" => "2",
399  "hw_DocByAnchor" => "2",
400  "hw_DocByAnchorObj" => "2",
401  "hw_DocumentAttributes" => "2",
402  "hw_DocumentBodyTag" => "2",
403  "hw_DocumentContent" => "2",
404  "hw_DocumentSetContent" => "2",
405  "hw_DocumentSize" => "2",
406  "hw_EditText" => "2",
407  "hw_Error" => "2",
408  "hw_ErrorMsg" => "2",
409  "hw_Free_Document" => "2",
410  "hw_GetAnchors" => "2",
411  "hw_GetAnchorsObj" => "2",
412  "hw_GetAndLock" => "2",
413  "hw_GetChildColl" => "2",
414  "hw_GetChildCollObj" => "2",
415  "hw_GetChildDocColl" => "2",
416  "hw_GetChildDocCollObj" => "2",
417  "hw_GetObject" => "2",
418  "hw_GetObjectByQuery" => "2",
419  "hw_GetObjectByQueryColl" => "2",
420  "hw_GetObjectByQueryCollObj" => "2",
421  "hw_GetObjectByQueryObj" => "2",
422  "hw_GetParents" => "2",
423  "hw_GetParentsObj" => "2",
424  "hw_GetRemote" => "2",
425  "hw_GetRemoteChildren" => "2",
426  "hw_GetSrcByDestObj" => "2",
427  "hw_GetText" => "2",
428  "hw_Identify" => "2",
429  "hw_InCollections" => "2",
430  "hw_Info" => "2",
431  "hw_InsColl" => "2",
432  "hw_InsDoc" => "2",
433  "hw_InsertDocument" => "2",
434  "hw_InsertObject" => "2",
435  "hw_mapid" => "2",
436  "hw_Modifyobject" => "2",
437  "hw_Mv" => "2",
438  "hw_New_Document" => "2",
439  "hw_Objrec2Array" => "2",
440  "hw_OutputDocument" => "2",
441  "hw_pConnect" => "2",
442  "hw_PipeDocument" => "2",
443  "hw_Root" => "2",
444  "hw_Unlock" => "2",
445  "hw_Username" => "2",
446  "hw_Who" => "2",
447  "ibase_bind" => "2",
448  "ibase_close" => "2",
449  "ibase_connect" => "2",
450  "ibase_execute" => "2",
451  "ibase_fetch_row" => "2",
452  "ibase_free_query" => "2",
453  "ibase_free_result" => "2",
454  "ibase_pconnect" => "2",
455  "ibase_prepare" => "2",
456  "ibase_query" => "2",
457  "ibase_timefmt" => "2",
458  "ifxus_close_slob" => "2",
459  "ifxus_create_slob" => "2",
460  "ifxus_open_slob" => "2",
461  "ifxus_read_slob" => "2",
462  "ifxus_seek_slob" => "2",
463  "ifxus_tell_slob" => "2",
464  "ifxus_write_slob" => "2",
465  "ifx_affected_rows" => "2",
466  "ifx_blobinfile_mode" => "2",
467  "ifx_byteasvarchar" => "2",
468  "ifx_close" => "2",
469  "ifx_connect" => "2",
470  "ifx_copy_blob" => "2",
471  "ifx_create_blob" => "2",
472  "ifx_create_char" => "2",
473  "ifx_do" => "2",
474  "ifx_error" => "2",
475  "ifx_errormsg" => "2",
476  "ifx_fetch_row" => "2",
477  "ifx_fieldproperties" => "2",
478  "ifx_fieldtypes" => "2",
479  "ifx_free_blob" => "2",
480  "ifx_free_char" => "2",
481  "ifx_free_result" => "2",
482  "ifx_free_slob" => "2",
483  "ifx_getsqlca" => "2",
484  "ifx_get_blob" => "2",
485  "ifx_get_char" => "2",
486  "ifx_htmltbl_result" => "2",
487  "ifx_nullformat" => "2",
488  "ifx_num_fields" => "2",
489  "ifx_num_rows" => "2",
490  "ifx_pconnect" => "2",
491  "ifx_prepare" => "2",
492  "ifx_query" => "2",
493  "ifx_textasvarchar" => "2",
494  "ifx_update_blob" => "2",
495  "ifx_update_char" => "2",
496  "ignore_user_abort" => "2",
497  "ImageArc" => "2",
498  "ImageChar" => "2",
499  "ImageCharUp" => "2",
500  "ImageColorAllocate" => "2",
501  "ImageColorAt" => "2",
502  "ImageColorClosest" => "2",
503  "ImageColorExact" => "2",
504  "ImageColorResolve" => "2",
505  "ImageColorSet" => "2",
506  "ImageColorsForIndex" => "2",
507  "ImageColorsTotal" => "2",
508  "ImageColorTransparent" => "2",
509  "ImageCopyResized" => "2",
510  "ImageCreate" => "2",
511  "ImageCreateFromGif" => "2",
512  "ImageDashedLine" => "2",
513  "ImageDestroy" => "2",
514  "ImageFill" => "2",
515  "ImageFilledPolygon" => "2",
516  "ImageFilledRectangle" => "2",
517  "ImageFillToBorder" => "2",
518  "ImageFontHeight" => "2",
519  "ImageFontWidth" => "2",
520  "ImageGif" => "2",
521  "ImageInterlace" => "2",
522  "ImageLine" => "2",
523  "ImageLoadFont" => "2",
524  "ImagePolygon" => "2",
525  "ImagePSBBox" => "2",
526  "ImagePSEncodeFont" => "2",
527  "ImagePSFreeFont" => "2",
528  "ImagePSLoadFont" => "2",
529  "ImagePSText" => "2",
530  "ImageRectangle" => "2",
531  "ImageSetPixel" => "2",
532  "ImageString" => "2",
533  "ImageStringUp" => "2",
534  "ImageSX" => "2",
535  "ImageSY" => "2",
536  "ImageTTFBBox" => "2",
537  "ImageTTFText" => "2",
538  "imap_8bit" => "2",
539  "imap_alerts" => "2",
540  "imap_append" => "2",
541  "imap_base64" => "2",
542  "imap_binary" => "2",
543  "imap_body" => "2",
544  "imap_check" => "2",
545  "imap_clearflag_full" => "2",
546  "imap_close" => "2",
547  "imap_createmailbox" => "2",
548  "imap_delete" => "2",
549  "imap_deletemailbox" => "2",
550  "imap_errors" => "2",
551  "imap_expunge" => "2",
552  "imap_fetchbody" => "2",
553  "imap_fetchheader" => "2",
554  "imap_fetchstructure" => "2",
555  "imap_getmailboxes" => "2",
556  "imap_getsubscribed" => "2",
557  "imap_header" => "2",
558  "imap_headers" => "2",
559  "imap_last_error" => "2",
560  "imap_listmailbox" => "2",
561  "imap_listsubscribed" => "2",
562  "imap_mailboxmsginfo" => "2",
563  "imap_mail_copy" => "2",
564  "imap_mail_move" => "2",
565  "imap_msgno" => "2",
566  "imap_num_msg" => "2",
567  "imap_num_recent" => "2",
568  "imap_open" => "2",
569  "imap_ping" => "2",
570  "imap_qprint" => "2",
571  "imap_renamemailbox" => "2",
572  "imap_reopen" => "2",
573  "imap_rfc822_parse_adrlist" => "2",
574  "imap_rfc822_write_address" => "2",
575  "imap_scanmailbox" => "2",
576  "imap_search" => "2",
577  "imap_setflag_full" => "2",
578  "imap_sort" => "2",
579  "imap_status" => "2",
580  "imap_subscribe" => "2",
581  "imap_uid" => "2",
582  "imap_undelete" => "2",
583  "imap_unsubscribe" => "2",
584  "implode" => "2",
585  "intval" => "2",
586  "in_array" => "2",
587  "iptcparse" => "2",
588  "isset" => "2",
589  "is_array" => "2",
590  "is_dir" => "2",
591  "is_double" => "2",
592  "is_executable" => "2",
593  "is_file" => "2",
594  "is_float" => "2",
595  "is_int" => "2",
596  "is_integer" => "2",
597  "is_link" => "2",
598  "is_long" => "2",
599  "is_object" => "2",
600  "is_readable" => "2",
601  "is_real" => "2",
602  "is_string" => "2",
603  "is_writeable" => "2",
604  "JDDayOfWeek" => "2",
605  "JDMonthName" => "2",
606  "JDToFrench" => "2",
607  "JDToGregorian" => "2",
608  "JDToJewish" => "2",
609  "JDToJulian" => "2",
610  "JewishToJD" => "2",
611  "join" => "2",
612  "JulianToJD" => "2",
613  "key" => "2",
614  "krsort" => "2",
615  "ksort" => "2",
616  "ldap_add" => "2",
617  "ldap_bind" => "2",
618  "ldap_close" => "2",
619  "ldap_connect" => "2",
620  "ldap_count_entries" => "2",
621  "ldap_delete" => "2",
622  "ldap_dn2ufn" => "2",
623  "ldap_err2str" => "2",
624  "ldap_errno" => "2",
625  "ldap_error" => "2",
626  "ldap_explode_dn" => "2",
627  "ldap_first_attribute" => "2",
628  "ldap_first_entry" => "2",
629  "ldap_free_result" => "2",
630  "ldap_get_attributes" => "2",
631  "ldap_get_dn" => "2",
632  "ldap_get_entries" => "2",
633  "ldap_get_values" => "2",
634  "ldap_get_values_len" => "2",
635  "ldap_list" => "2",
636  "ldap_modify" => "2",
637  "ldap_mod_add" => "2",
638  "ldap_mod_del" => "2",
639  "ldap_mod_replace" => "2",
640  "ldap_next_attribute" => "2",
641  "ldap_next_entry" => "2",
642  "ldap_read" => "2",
643  "ldap_search" => "2",
644  "ldap_unbind" => "2",
645  "leak" => "2",
646  "link" => "2",
647  "linkinfo" => "2",
648  "list" => "2",
649  "Log" => "2",
650  "Log10" => "2",
651  "lstat" => "2",
652  "ltrim" => "2",
653  "mail" => "2",
654  "max" => "2",
655  "mcal_close" => "2",
656  "mcal_date_compare" => "2",
657  "mcal_date_valid" => "2",
658  "mcal_days_in_month" => "2",
659  "mcal_day_of_week" => "2",
660  "mcal_day_of_year" => "2",
661  "mcal_delete_event" => "2",
662  "mcal_event_init" => "2",
663  "mcal_event_set_alarm" => "2",
664  "mcal_event_set_category" => "2",
665  "mcal_event_set_class" => "2",
666  "mcal_event_set_description" => "2",
667  "mcal_event_set_end" => "2",
668  "mcal_event_set_recur_daily" => "2",
669  "mcal_event_set_recur_monthly_mday" => "2",
670  "mcal_event_set_recur_monthly_wday" => "2",
671  "mcal_event_set_recur_weekly" => "2",
672  "mcal_event_set_recur_yearly" => "2",
673  "mcal_event_set_start" => "2",
674  "mcal_event_set_title" => "2",
675  "mcal_fetch_current_stream_event" => "2",
676  "mcal_fetch_event" => "2",
677  "mcal_is_leap_year" => "2",
678  "mcal_list_alarms" => "2",
679  "mcal_list_events" => "2",
680  "mcal_next_recurrence" => "2",
681  "mcal_open" => "2",
682  "mcal_snooze" => "2",
683  "mcal_store_event" => "2",
684  "mcal_time_valid" => "2",
685  "mcrypt_cbc" => "2",
686  "mcrypt_cfb" => "2",
687  "mcrypt_create_iv" => "2",
688  "mcrypt_ecb" => "2",
689  "mcrypt_get_block_size" => "2",
690  "mcrypt_get_cipher_name" => "2",
691  "mcrypt_get_key_size" => "2",
692  "mcrypt_ofb" => "2",
693  "md5" => "2",
694  "Metaphone" => "2",
695  "mhash" => "2",
696  "mhash_count" => "2",
697  "mhash_get_block_size" => "2",
698  "mhash_get_hash_name" => "2",
699  "microtime" => "2",
700  "min" => "2",
701  "mkdir" => "2",
702  "mktime" => "2",
703  "Modifiers" => "2",
704  "msql" => "2",
705  "msql_affected_rows" => "2",
706  "msql_close" => "2",
707  "msql_connect" => "2",
708  "msql_createdb" => "2",
709  "msql_create_db" => "2",
710  "msql_data_seek" => "2",
711  "msql_dbname" => "2",
712  "msql_dropdb" => "2",
713  "msql_drop_db" => "2",
714  "msql_error" => "2",
715  "msql_fetch_array" => "2",
716  "msql_fetch_field" => "2",
717  "msql_fetch_object" => "2",
718  "msql_fetch_row" => "2",
719  "msql_fieldflags" => "2",
720  "msql_fieldlen" => "2",
721  "msql_fieldname" => "2",
722  "msql_fieldtable" => "2",
723  "msql_fieldtype" => "2",
724  "msql_field_seek" => "2",
725  "msql_freeresult" => "2",
726  "msql_free_result" => "2",
727  "msql_listdbs" => "2",
728  "msql_listfields" => "2",
729  "msql_listtables" => "2",
730  "msql_list_dbs" => "2",
731  "msql_list_fields" => "2",
732  "msql_list_tables" => "2",
733  "msql_numfields" => "2",
734  "msql_numrows" => "2",
735  "msql_num_fields" => "2",
736  "msql_num_rows" => "2",
737  "msql_pconnect" => "2",
738  "msql_query" => "2",
739  "msql_regcase" => "2",
740  "msql_result" => "2",
741  "msql_selectdb" => "2",
742  "msql_select_db" => "2",
743  "msql_tablename" => "2",
744  "mssql_close" => "2",
745  "mssql_connect" => "2",
746  "mssql_data_seek" => "2",
747  "mssql_fetch_array" => "2",
748  "mssql_fetch_field" => "2",
749  "mssql_fetch_object" => "2",
750  "mssql_fetch_row" => "2",
751  "mssql_field_seek" => "2",
752  "mssql_free_result" => "2",
753  "mssql_num_fields" => "2",
754  "mssql_num_rows" => "2",
755  "mssql_pconnect" => "2",
756  "mssql_query" => "2",
757  "mssql_result" => "2",
758  "mssql_select_db" => "2",
759  "mt_getrandmax" => "2",
760  "mt_rand" => "2",
761  "mt_srand" => "2",
762  "mysql_affected_rows" => "2",
763  "mysql_change_user" => "2",
764  "mysql_close" => "2",
765  "mysql_connect" => "2",
766  "mysql_create_db" => "2",
767  "mysql_data_seek" => "2",
768  "mysql_db_query" => "2",
769  "mysql_drop_db" => "2",
770  "mysql_errno" => "2",
771  "mysql_error" => "2",
772  "mysql_fetch_array" => "2",
773  "mysql_fetch_field" => "2",
774  "mysql_fetch_lengths" => "2",
775  "mysql_fetch_object" => "2",
776  "mysql_fetch_row" => "2",
777  "mysql_field_flags" => "2",
778  "mysql_field_len" => "2",
779  "mysql_field_name" => "2",
780  "mysql_field_seek" => "2",
781  "mysql_field_table" => "2",
782  "mysql_field_type" => "2",
783  "mysql_free_result" => "2",
784  "mysql_insert_id" => "2",
785  "mysql_list_dbs" => "2",
786  "mysql_list_fields" => "2",
787  "mysql_list_tables" => "2",
788  "mysql_num_fields" => "2",
789  "mysql_num_rows" => "2",
790  "mysql_pconnect" => "2",
791  "mysql_query" => "2",
792  "mysql_result" => "2",
793  "mysql_select_db" => "2",
794  "mysql_tablename" => "2",
795  "next" => "2",
796  "nl2br" => "2",
797  "number_format" => "2",
798  "OCIBindByName" => "2",
799  "OCIColumnIsNULL" => "2",
800  "OCIColumnName" => "2",
801  "OCIColumnSize" => "2",
802  "OCIColumnType" => "2",
803  "OCICommit" => "2",
804  "OCIDefineByName" => "2",
805  "OCIError" => "2",
806  "OCIExecute" => "2",
807  "OCIFetch" => "2",
808  "OCIFetchInto" => "2",
809  "OCIFetchStatement" => "2",
810  "OCIFreeCursor" => "2",
811  "OCIFreeStatement" => "2",
812  "OCIInternalDebug" => "2",
813  "OCILogOff" => "2",
814  "OCILogon" => "2",
815  "OCINewCursor" => "2",
816  "OCINewDescriptor" => "2",
817  "OCINLogon" => "2",
818  "OCINumCols" => "2",
819  "OCIParse" => "2",
820  "OCIPLogon" => "2",
821  "OCIResult" => "2",
822  "OCIRollback" => "2",
823  "OCIRowCount" => "2",
824  "OCIServerVersion" => "2",
825  "OCIStatementType" => "2",
826  "OctDec" => "2",
827  "odbc_autocommit" => "2",
828  "odbc_binmode" => "2",
829  "odbc_close" => "2",
830  "odbc_close_all" => "2",
831  "odbc_commit" => "2",
832  "odbc_connect" => "2",
833  "odbc_cursor" => "2",
834  "odbc_do" => "2",
835  "odbc_exec" => "2",
836  "odbc_execute" => "2",
837  "odbc_fetch_into" => "2",
838  "odbc_fetch_row" => "2",
839  "odbc_field_len" => "2",
840  "odbc_field_name" => "2",
841  "odbc_field_type" => "2",
842  "odbc_free_result" => "2",
843  "odbc_longreadlen" => "2",
844  "odbc_num_fields" => "2",
845  "odbc_num_rows" => "2",
846  "odbc_pconnect" => "2",
847  "odbc_prepare" => "2",
848  "odbc_result" => "2",
849  "odbc_result_all" => "2",
850  "odbc_rollback" => "2",
851  "odbc_setoption" => "2",
852  "opendir" => "2",
853  "openlog" => "2",
854  "Ora_Bind" => "2",
855  "Ora_Close" => "2",
856  "Ora_ColumnName" => "2",
857  "Ora_ColumnType" => "2",
858  "Ora_Commit" => "2",
859  "Ora_CommitOff" => "2",
860  "Ora_CommitOn" => "2",
861  "Ora_Error" => "2",
862  "Ora_ErrorCode" => "2",
863  "Ora_Exec" => "2",
864  "Ora_Fetch" => "2",
865  "Ora_GetColumn" => "2",
866  "Ora_Logoff" => "2",
867  "Ora_Logon" => "2",
868  "Ora_Open" => "2",
869  "Ora_Parse" => "2",
870  "Ora_Rollback" => "2",
871  "Ord" => "2",
872  "pack" => "2",
873  "parse_str" => "2",
874  "parse_url" => "2",
875  "passthru" => "2",
876  "Pattern" => "2",
877  "pclose" => "2",
878  "pdf_add_annotation" => "2",
879  "PDF_add_outline" => "2",
880  "PDF_arc" => "2",
881  "PDF_begin_page" => "2",
882  "PDF_circle" => "2",
883  "PDF_clip" => "2",
884  "PDF_close" => "2",
885  "PDF_closepath" => "2",
886  "PDF_closepath_fill_stroke" => "2",
887  "PDF_closepath_stroke" => "2",
888  "PDF_close_image" => "2",
889  "PDF_continue_text" => "2",
890  "PDF_curveto" => "2",
891  "PDF_endpath" => "2",
892  "PDF_end_page" => "2",
893  "PDF_execute_image" => "2",
894  "PDF_fill" => "2",
895  "PDF_fill_stroke" => "2",
896  "PDF_get_info" => "2",
897  "PDF_lineto" => "2",
898  "PDF_moveto" => "2",
899  "PDF_open" => "2",
900  "PDF_open_gif" => "2",
901  "PDF_open_jpeg" => "2",
902  "PDF_open_memory_image" => "2",
903  "PDF_place_image" => "2",
904  "PDF_put_image" => "2",
905  "PDF_rect" => "2",
906  "PDF_restore" => "2",
907  "PDF_rotate" => "2",
908  "PDF_save" => "2",
909  "PDF_scale" => "2",
910  "PDF_setdash" => "2",
911  "PDF_setflat" => "2",
912  "PDF_setgray" => "2",
913  "PDF_setgray_fill" => "2",
914  "PDF_setgray_stroke" => "2",
915  "PDF_setlinecap" => "2",
916  "PDF_setlinejoin" => "2",
917  "PDF_setlinewidth" => "2",
918  "PDF_setmiterlimit" => "2",
919  "PDF_setrgbcolor" => "2",
920  "PDF_setrgbcolor_fill" => "2",
921  "PDF_setrgbcolor_stroke" => "2",
922  "PDF_set_char_spacing" => "2",
923  "PDF_set_duration" => "2",
924  "PDF_set_font" => "2",
925  "PDF_set_horiz_scaling" => "2",
926  "PDF_set_info_author" => "2",
927  "PDF_set_info_creator" => "2",
928  "PDF_set_info_keywords" => "2",
929  "PDF_set_info_subject" => "2",
930  "PDF_set_info_title" => "2",
931  "PDF_set_leading" => "2",
932  "PDF_set_text_matrix" => "2",
933  "PDF_set_text_pos" => "2",
934  "PDF_set_text_rendering" => "2",
935  "PDF_set_text_rise" => "2",
936  "PDF_set_transition" => "2",
937  "PDF_set_word_spacing" => "2",
938  "PDF_show" => "2",
939  "PDF_show_xy" => "2",
940  "PDF_stringwidth" => "2",
941  "PDF_stroke" => "2",
942  "PDF_translate" => "2",
943  "pfsockopen" => "2",
944  "pg_Close" => "2",
945  "pg_cmdTuples" => "2",
946  "pg_Connect" => "2",
947  "pg_DBname" => "2",
948  "pg_ErrorMessage" => "2",
949  "pg_Exec" => "2",
950  "pg_Fetch_Array" => "2",
951  "pg_Fetch_Object" => "2",
952  "pg_Fetch_Row" => "2",
953  "pg_FieldIsNull" => "2",
954  "pg_FieldName" => "2",
955  "pg_FieldNum" => "2",
956  "pg_FieldPrtLen" => "2",
957  "pg_FieldSize" => "2",
958  "pg_FieldType" => "2",
959  "pg_FreeResult" => "2",
960  "pg_GetLastOid" => "2",
961  "pg_Host" => "2",
962  "pg_loclose" => "2",
963  "pg_locreate" => "2",
964  "pg_loopen" => "2",
965  "pg_loread" => "2",
966  "pg_loreadall" => "2",
967  "pg_lounlink" => "2",
968  "pg_lowrite" => "2",
969  "pg_NumFields" => "2",
970  "pg_NumRows" => "2",
971  "pg_Options" => "2",
972  "pg_pConnect" => "2",
973  "pg_Port" => "2",
974  "pg_Result" => "2",
975  "pg_tty" => "2",
976  "phpinfo" => "2",
977  "phpversion" => "2",
978  "pi" => "2",
979  "popen" => "2",
980  "pos" => "2",
981  "posix_ctermid" => "2",
982  "posix_getcwd" => "2",
983  "posix_getegid" => "2",
984  "posix_geteuid" => "2",
985  "posix_getgid" => "2",
986  "posix_getgrgid" => "2",
987  "posix_getgrnam" => "2",
988  "posix_getgroups" => "2",
989  "posix_getlogin" => "2",
990  "posix_getpgid" => "2",
991  "posix_getpgrp" => "2",
992  "posix_getpid" => "2",
993  "posix_getppid" => "2",
994  "posix_getpwnam" => "2",
995  "posix_getpwuid" => "2",
996  "posix_getrlimit" => "2",
997  "posix_getuid" => "2",
998  "posix_isatty" => "2",
999  "posix_kill" => "2",
1000  "posix_mkfifo" => "2",
1001  "posix_setgid" => "2",
1002  "posix_setpgid" => "2",
1003  "posix_setsid" => "2",
1004  "posix_setuid" => "2",
1005  "posix_times" => "2",
1006  "posix_ttyname" => "2",
1007  "posix_uname" => "2",
1008  "pow" => "2",
1009  "preg_grep" => "2",
1010  "preg_match" => "2",
1011  "preg_match_all" => "2",
1012  "preg_quote" => "2",
1013  "preg_replace" => "2",
1014  "preg_split" => "2",
1015  "prev" => "2",
1016  "print" => "2",
1017  "printf" => "2",
1018  "putenv" => "2",
1019  "quoted_printable_decode" => "2",
1020  "QuoteMeta" => "2",
1021  "rand" => "2",
1022  "range" => "2",
1023  "rawurldecode" => "2",
1024  "rawurlencode" => "2",
1025  "readdir" => "2",
1026  "readfile" => "2",
1027  "readgzfile" => "2",
1028  "readlink" => "2",
1029  "recode_file" => "2",
1030  "recode_string" => "2",
1031  "register_shutdown_function" => "2",
1032  "rename" => "2",
1033  "reset" => "2",
1034  "rewind" => "2",
1035  "rewinddir" => "2",
1036  "rmdir" => "2",
1037  "round" => "2",
1038  "rsort" => "2",
1039  "sem_acquire" => "2",
1040  "sem_get" => "2",
1041  "sem_release" => "2",
1042  "serialize" => "2",
1043  "session_decode" => "2",
1044  "session_destroy" => "2",
1045  "session_encode" => "2",
1046  "session_id" => "2",
1047  "session_is_registered" => "2",
1048  "session_module_name" => "2",
1049  "session_name" => "2",
1050  "session_register" => "2",
1051  "session_save_path" => "2",
1052  "session_start" => "2",
1053  "session_unregister" => "2",
1054  "setcookie" => "2",
1055  "setlocale" => "2",
1056  "settype" => "2",
1057  "set_file_buffer" => "2",
1058  "set_magic_quotes_runtime" => "2",
1059  "set_socket_blocking" => "2",
1060  "set_time_limit" => "2",
1061  "shm_attach" => "2",
1062  "shm_detach" => "2",
1063  "shm_get_var" => "2",
1064  "shm_put_var" => "2",
1065  "shm_remove" => "2",
1066  "shm_remove_var" => "2",
1067  "shuffle" => "2",
1068  "similar_text" => "2",
1069  "Sin" => "2",
1070  "sizeof" => "2",
1071  "sleep" => "2",
1072  "snmpget" => "2",
1073  "snmpset" => "2",
1074  "snmpwalk" => "2",
1075  "snmpwalkoid" => "2",
1076  "snmp_get_quick_print" => "2",
1077  "snmp_set_quick_print" => "2",
1078  "solid_close" => "2",
1079  "solid_connect" => "2",
1080  "solid_exec" => "2",
1081  "solid_fetchrow" => "2",
1082  "solid_fieldname" => "2",
1083  "solid_fieldnum" => "2",
1084  "solid_freeresult" => "2",
1085  "solid_numfields" => "2",
1086  "solid_numrows" => "2",
1087  "solid_result" => "2",
1088  "sort" => "2",
1089  "soundex" => "2",
1090  "split" => "2",
1091  "sprintf" => "2",
1092  "sql_regcase" => "2",
1093  "Sqrt" => "2",
1094  "srand" => "2",
1095  "stat" => "2",
1096  "strcasecmp" => "2",
1097  "strchr" => "2",
1098  "strcmp" => "2",
1099  "strcspn" => "2",
1100  "strftime" => "2",
1101  "StripCSlashes" => "2",
1102  "StripSlashes" => "2",
1103  "strip_tags" => "2",
1104  "stristr" => "2",
1105  "strlen" => "2",
1106  "strpos" => "2",
1107  "strrchr" => "2",
1108  "strrev" => "2",
1109  "strrpos" => "2",
1110  "strspn" => "2",
1111  "strstr" => "2",
1112  "strtok" => "2",
1113  "strtolower" => "2",
1114  "strtoupper" => "2",
1115  "strtr" => "2",
1116  "strval" => "2",
1117  "str_repeat" => "2",
1118  "str_replace" => "2",
1119  "substr" => "2",
1120  "substr_replac" => "2",
1121  "sybase_affected_rows" => "2",
1122  "sybase_close" => "2",
1123  "sybase_connect" => "2",
1124  "sybase_data_seek" => "2",
1125  "sybase_fetch_array" => "2",
1126  "sybase_fetch_field" => "2",
1127  "sybase_fetch_object" => "2",
1128  "sybase_fetch_row" => "2",
1129  "sybase_field_seek" => "2",
1130  "sybase_free_result" => "2",
1131  "sybase_num_fields" => "2",
1132  "sybase_num_rows" => "2",
1133  "sybase_pconnect" => "2",
1134  "sybase_query" => "2",
1135  "sybase_result" => "2",
1136  "sybase_select_db" => "2",
1137  "symlink" => "2",
1138  "Syntax" => "2",
1139  "syslog" => "2",
1140  "system" => "2",
1141  "Tan" => "2",
1142  "tempnam" => "2",
1143  "time" => "2",
1144  "touch" => "2",
1145  "trim" => "2",
1146  "uasort" => "2",
1147  "ucfirst" => "2",
1148  "ucwords" => "2",
1149  "uksort" => "2",
1150  "umask" => "2",
1151  "uniqid" => "2",
1152  "unlink" => "2",
1153  "unpack" => "2",
1154  "unserialize" => "2",
1155  "unset" => "2",
1156  "urldecode" => "2",
1157  "urlencode" => "2",
1158  "usleep" => "2",
1159  "usort" => "2",
1160  "utf8_decode" => "2",
1161  "utf8_encode" => "2",
1162  "virtual" => "2",
1163  "vm_addalias" => "2",
1164  "vm_adduser" => "2",
1165  "vm_delalias" => "2",
1166  "vm_deluser" => "2",
1167  "vm_passwd" => "2",
1168  "wddx_add_vars" => "2",
1169  "wddx_deserialize" => "2",
1170  "wddx_packet_end" => "2",
1171  "wddx_packet_start" => "2",
1172  "wddx_serialize_value" => "2",
1173  "wddx_serialize_vars" => "2",
1174  "xml_error_string" => "2",
1175  "xml_get_current_byte_index" => "2",
1176  "xml_get_current_column_number" => "2",
1177  "xml_get_current_line_number" => "2",
1178  "xml_get_error_code" => "2",
1179  "xml_parse" => "2",
1180  "xml_parser_create" => "2",
1181  "xml_parser_free" => "2",
1182  "xml_parser_get_option" => "2",
1183  "xml_parser_set_option" => "2",
1184  "xml_set_character_data_handler" => "2",
1185  "xml_set_default_handler" => "2",
1186  "xml_set_element_handler" => "2",
1187  "xml_set_external_entity_ref_handler" => "2",
1188  "xml_set_notation_decl_handler" => "2",
1189  "xml_set_object" => "2",
1190  "xml_set_processing_instruction_handler" => "2",
1191  "xml_set_unparsed_entity_decl_handler" => "2",
1192  "yp_errno" => "2",
1193  "yp_err_string" => "2",
1194  "yp_first" => "2",
1195  "yp_get_default_domain" => "2",
1196  "yp_master" => "2",
1197  "yp_match" => "2",
1198  "yp_next" => "2",
1199  "yp_order" => "2");
1200 
1201 // Special extensions
1202 
1203 // Each category can specify a PHP function that returns an altered
1204 // version of the keyword.
1205 
1206 
1207 
1208 $this->linkscripts = array(
1209  "2" => "dofunction",
1210  "1" => "donothing");
1211 }
1212 
1213 function donothing($keywordin)
1214 {
1215  return $keywordin;
1216 }
1217 
1218 function dofunction($keywordin)
1219 {
1220  $outlink = "http://www.php.net/".strtr($keywordin, "_", "-")."";
1221  return "<a href=\"$outlink\">$keywordin</a>";
1222 }
1223 
1224 
1225 
1226 }
1227 ?>