misc changes
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / php / PHPCodeScanner.java
1 /**********************************************************************
2 Copyright (c) 2000, 2002 IBM Corp. and others.
3 All rights reserved. This program and the accompanying materials
4 are made available under the terms of the Common Public License v1.0
5 which accompanies this distribution, and is available at
6 http://www.eclipse.org/legal/cpl-v10.html
7
8 Contributors:
9     IBM Corporation - Initial implementation
10     Klaus Hartlage - www.eclipseproject.de
11 **********************************************************************/
12 package net.sourceforge.phpeclipse.phpeditor.php;
13
14 import java.util.ArrayList;
15 import java.util.List;
16
17 import net.sourceforge.phpeclipse.phpeditor.util.PHPColorProvider;
18 import net.sourceforge.phpeclipse.phpeditor.util.PHPWhitespaceDetector;
19 import net.sourceforge.phpeclipse.phpeditor.util.PHPWordDetector;
20 import org.eclipse.jface.text.TextAttribute;
21 import org.eclipse.jface.text.rules.EndOfLineRule;
22 import org.eclipse.jface.text.rules.ICharacterScanner;
23 import org.eclipse.jface.text.rules.IRule;
24 import org.eclipse.jface.text.rules.IToken;
25 import org.eclipse.jface.text.rules.IWordDetector;
26 import org.eclipse.jface.text.rules.MultiLineRule;
27 import org.eclipse.jface.text.rules.RuleBasedScanner;
28 import org.eclipse.jface.text.rules.SingleLineRule;
29 import org.eclipse.jface.text.rules.Token;
30 import org.eclipse.jface.text.rules.WhitespaceRule;
31 import org.eclipse.jface.text.rules.WordRule;
32
33 /**
34  * A Java code scanner.
35  */
36 public class PHPCodeScanner extends RuleBasedScanner {
37
38         private static String[] fgKeywords =
39                 {
40                         "if",
41                         "elseif",
42                         "else",
43                         "endif",
44                         "for",
45                         "endfor",
46                         "while",
47                         "endwhile",
48                         "switch",
49                         "case",
50                         "endswitch",
51                         "break",
52                         "continue",
53                         "return",
54                         "define",
55                         "include",
56                         "include_once",
57                         "require",
58                         "require_once",
59                         "function",
60                         "class",
61                         "new",
62                         "do",
63                         "old_function",
64                         "default",
65                         "global",
66                         "static",
67                         "foreach",
68                         "endforeach",
69                         "extends",
70                         "empty",
71                         "array",
72                         "isset",
73                         "echo",
74                         "var" };
75
76         public static String[] fgFunctionNames =
77                 {
78                         "COM_invoke",
79                         "COM_load",
80                         "abs",
81                         "accept_connect",
82                         "acos",
83                         "add",
84                         "add",
85                         "add_iovec",
86                         "addaction",
87                         "addcolor",
88                         "addcslashes",
89                         "addentry",
90                         "addfill",
91                         "addshape",
92                         "addslashes",
93                         "addstring",
94                         "addstring",
95                         "align",
96                         "apache_child_terminate",
97                         "apache_lookup_uri",
98                         "apache_lookup_uri",
99                         "apache_note",
100                         "apache_sub_req",
101                         "array_count_values",
102                         "array_diff",
103                         "array_filter",
104                         "array_flip",
105                         "array_intersect",
106                         "array_keys",
107                         "array_map",
108                         "array_merge",
109                         "array_merge_recursive",
110                         "array_multisort",
111                         "array_pad",
112                         "array_pop",
113                         "array_push",
114                         "array_rand",
115                         "array_reduce",
116                         "array_reverse",
117                         "array_search",
118                         "array_shift",
119                         "array_slice",
120                         "array_splice",
121                         "array_sum",
122                         "array_unique",
123                         "array_unshift",
124                         "array_values",
125                         "array_walk",
126                         "arsort",
127                         "asin",
128                         "asort",
129                         "aspell_check",
130                         "aspell_check_raw",
131                         "aspell_new",
132                         "aspell_suggest",
133                         "assert",
134                         "assert_options",
135                         "atan",
136                         "atan2",
137                         "base64_decode",
138                         "base64_encode",
139                         "base_convert",
140                         "basename",
141                         "bcadd",
142                         "bccomp",
143                         "bcdiv",
144                         "bcmod",
145                         "bcmul",
146                         "bcpow",
147                         "bcscale",
148                         "bcsqrt",
149                         "bcsub",
150                         "bin2hex",
151                         "bind",
152                         "bindec",
153                         "bindtextdomain",
154                         "build_iovec",
155                         "bzclose",
156                         "bzcompress",
157                         "bzdecompress",
158                         "bzerrno",
159                         "bzerror",
160                         "bzerrstr",
161                         "bzflush",
162                         "bzopen",
163                         "bzread",
164                         "bzwrite",
165                         "call_user_func",
166                         "call_user_func_array",
167                         "call_user_method",
168                         "call_user_method_array",
169                         "ccvs_add",
170                         "ccvs_auth",
171                         "ccvs_command",
172                         "ccvs_count",
173                         "ccvs_delete",
174                         "ccvs_done",
175                         "ccvs_init",
176                         "ccvs_lookup",
177                         "ccvs_new",
178                         "ccvs_report",
179                         "ccvs_return",
180                         "ccvs_reverse",
181                         "ccvs_sale",
182                         "ccvs_status",
183                         "ccvs_textvalue",
184                         "ccvs_void",
185                         "ceil",
186                         "chdir",
187                         "checkdate",
188                         "checkdnsrr",
189                         "checkdnsrr",
190                         "chgrp",
191                         "chmod",
192                         "chop",
193                         "chown",
194                         "chr",
195                         "chroot",
196                         "chroot",
197                         "chunk_split",
198                         "class_exists",
199                         "clearstatcache",
200                         "close",
201                         "closedir",
202                         "closelog",
203                         "com_get",
204                         "com_propget",
205                         "com_propput",
206                         "com_propset",
207                         "com_set",
208                         "compact",
209                         "confirm_cybermut_compiled",
210                         "confirm_extname_compiled",
211                         "connect",
212                         "connection_aborted",
213                         "connection_status",
214                         "constant",
215                         "convert_cyr_string",
216                         "copy",
217                         "cos",
218                         "count",
219                         "count_chars",
220                         "cpdf_add_annotation",
221                         "cpdf_add_outline",
222                         "cpdf_arc",
223                         "cpdf_begin_text",
224                         "cpdf_circle",
225                         "cpdf_clip",
226                         "cpdf_close",
227                         "cpdf_closepath",
228                         "cpdf_closepath_fill_stroke",
229                         "cpdf_closepath_stroke",
230                         "cpdf_continue_text",
231                         "cpdf_curveto",
232                         "cpdf_end_text",
233                         "cpdf_fill",
234                         "cpdf_fill_stroke",
235                         "cpdf_finalize",
236                         "cpdf_finalize_page",
237                         "cpdf_global_set_document_limits",
238                         "cpdf_import_jpeg",
239                         "cpdf_lineto",
240                         "cpdf_moveto",
241                         "cpdf_newpath",
242                         "cpdf_open",
243                         "cpdf_output_buffer",
244                         "cpdf_page_init",
245                         "cpdf_place_inline_image",
246                         "cpdf_rect",
247                         "cpdf_restore",
248                         "cpdf_rlineto",
249                         "cpdf_rmoveto",
250                         "cpdf_rotate",
251                         "cpdf_rotate_text",
252                         "cpdf_save",
253                         "cpdf_save_to_file",
254                         "cpdf_scale",
255                         "cpdf_set_action_url",
256                         "cpdf_set_char_spacing",
257                         "cpdf_set_creator",
258                         "cpdf_set_current_page",
259                         "cpdf_set_font",
260                         "cpdf_set_font_directories",
261                         "cpdf_set_font_map_file",
262                         "cpdf_set_horiz_scaling",
263                         "cpdf_set_keywords",
264                         "cpdf_set_leading",
265                         "cpdf_set_page_animation",
266                         "cpdf_set_subject",
267                         "cpdf_set_text_matrix",
268                         "cpdf_set_text_pos",
269                         "cpdf_set_text_rendering",
270                         "cpdf_set_text_rise",
271                         "cpdf_set_title",
272                         "cpdf_set_viewer_preferences",
273                         "cpdf_set_word_spacing",
274                         "cpdf_setdash",
275                         "cpdf_setflat",
276                         "cpdf_setgray",
277                         "cpdf_setgray_fill",
278                         "cpdf_setgray_stroke",
279                         "cpdf_setlinecap",
280                         "cpdf_setlinejoin",
281                         "cpdf_setlinewidth",
282                         "cpdf_setmiterlimit",
283                         "cpdf_setrgbcolor",
284                         "cpdf_setrgbcolor_fill",
285                         "cpdf_setrgbcolor_stroke",
286                         "cpdf_show",
287                         "cpdf_show_xy",
288                         "cpdf_stringwidth",
289                         "cpdf_stroke",
290                         "cpdf_text",
291                         "cpdf_translate",
292                         "crack_check",
293                         "crack_closedict",
294                         "crack_getlastmessage",
295                         "crack_opendict",
296                         "crash",
297                         "crc32",
298                         "create_function",
299                         "crypt",
300                         "crypt",
301                         "ctype_alnum",
302                         "ctype_alpha",
303                         "ctype_cntrl",
304                         "ctype_digit",
305                         "ctype_graph",
306                         "ctype_lower",
307                         "ctype_print",
308                         "ctype_punct",
309                         "ctype_space",
310                         "ctype_upper",
311                         "ctype_xdigit",
312                         "curl_close",
313                         "curl_errno",
314                         "curl_error",
315                         "curl_exec",
316                         "curl_getinfo",
317                         "curl_getinfo",
318                         "curl_init",
319                         "curl_setopt",
320                         "curl_version",
321                         "current",
322                         "cv_add",
323                         "cv_auth",
324                         "cv_command",
325                         "cv_count",
326                         "cv_delete",
327                         "cv_done",
328                         "cv_init",
329                         "cv_lookup",
330                         "cv_new",
331                         "cv_report",
332                         "cv_return",
333                         "cv_reverse",
334                         "cv_sale",
335                         "cv_status",
336                         "cv_textvalue",
337                         "cv_void",
338                         "cybercash_base64_decode",
339                         "cybercash_base64_encode",
340                         "cybercash_decr",
341                         "cybercash_encr",
342                         "cybermut_creerformulairecm",
343                         "cybermut_creerreponsecm",
344                         "cybermut_testmac",
345                         "date",
346                         "dba_close",
347                         "dba_delete",
348                         "dba_exists",
349                         "dba_fetch",
350                         "dba_firstkey",
351                         "dba_insert",
352                         "dba_nextkey",
353                         "dba_open",
354                         "dba_optimize",
355                         "dba_popen",
356                         "dba_replace",
357                         "dba_sync",
358                         "dbase_add_record",
359                         "dbase_close",
360                         "dbase_create",
361                         "dbase_delete_record",
362                         "dbase_get_record",
363                         "dbase_get_record_with_names",
364                         "dbase_numfields",
365                         "dbase_numrecords",
366                         "dbase_open",
367                         "dbase_pack",
368                         "dbase_replace_record",
369                         "dblist",
370                         "dbmclose",
371                         "dbmdelete",
372                         "dbmexists",
373                         "dbmfetch",
374                         "dbmfirstkey",
375                         "dbminsert",
376                         "dbmnextkey",
377                         "dbmopen",
378                         "dbmreplace",
379                         "dbx_close",
380                         "dbx_cmp_asc",
381                         "dbx_cmp_desc",
382                         "dbx_connect",
383                         "dbx_error",
384                         "dbx_query",
385                         "dbx_sort",
386                         "dcgettext",
387                         "decbin",
388                         "dechex",
389                         "decoct",
390                         "define",
391                         "define_syslog_variables",
392                         "defined",
393                         "deg2rad",
394                         "delete_iovec",
395                         "dgettext",
396                         "dir",
397                         "dirname",
398                         "diskfreespace",
399                         "display_disabled_function",
400                         "dl",
401                         "domxml_add_root",
402                         "domxml_attributes",
403                         "domxml_children",
404                         "domxml_dumpmem",
405                         "domxml_elem_get_attribute",
406                         "domxml_elem_set_attribute",
407                         "domxml_get_attribute",
408                         "domxml_getattr",
409                         "domxml_new_child",
410                         "domxml_new_xmldoc",
411                         "domxml_node",
412                         "domxml_node_attributes",
413                         "domxml_node_children",
414                         "domxml_node_new_child",
415                         "domxml_node_set_content",
416                         "domxml_node_unlink_node",
417                         "domxml_root",
418                         "domxml_set_attribute",
419                         "domxml_setattr",
420                         "domxml_unlink_node",
421                         "domxml_version",
422                         "doubleval",
423                         "drawarc",
424                         "drawcircle",
425                         "drawcubic",
426                         "drawcubicto",
427                         "drawcurve",
428                         "drawcurveto",
429                         "drawglyph",
430                         "drawline",
431                         "drawlineto",
432                         "each",
433                         "easter_date",
434                         "easter_days",
435                         "end",
436                         "ereg",
437                         "ereg_replace",
438                         "eregi",
439                         "eregi_replace",
440                         "error_log",
441                         "error_reporting",
442                         "escapeshellarg",
443                         "escapeshellcmd",
444                         "exec",
445                         "exit",
446                         "exp",
447                         "explode",
448                         "extension_loaded",
449                         "extract",
450                         "ezmlm_hash",
451                         "ezmlm_hash",
452                         "fbsql",
453                         "fbsql_affected_rows",
454                         "fbsql_autocommit",
455                         "fbsql_close",
456                         "fbsql_commit",
457                         "fbsql_connect",
458                         "fbsql_create_db",
459                         "fbsql_data_seek",
460                         "fbsql_database",
461                         "fbsql_database_password",
462                         "fbsql_db_query",
463                         "fbsql_drop_db",
464                         "fbsql_errno",
465                         "fbsql_error",
466                         "fbsql_fetch_array",
467                         "fbsql_fetch_assoc",
468                         "fbsql_fetch_field",
469                         "fbsql_fetch_lengths",
470                         "fbsql_fetch_object",
471                         "fbsql_fetch_row",
472                         "fbsql_field_flags",
473                         "fbsql_field_len",
474                         "fbsql_field_name",
475                         "fbsql_field_seek",
476                         "fbsql_field_table",
477                         "fbsql_field_type",
478                         "fbsql_free_result",
479                         "fbsql_hostname",
480                         "fbsql_insert_id",
481                         "fbsql_list_dbs",
482                         "fbsql_list_fields",
483                         "fbsql_list_tables",
484                         "fbsql_next_result",
485                         "fbsql_num_fields",
486                         "fbsql_num_rows",
487                         "fbsql_password",
488                         "fbsql_pconnect",
489                         "fbsql_query",
490                         "fbsql_result",
491                         "fbsql_rollback",
492                         "fbsql_select_db",
493                         "fbsql_start_db",
494                         "fbsql_stop_db",
495                         "fbsql_username",
496                         "fbsql_warnings",
497                         "fclose",
498                         "fd_alloc",
499                         "fd_clear",
500                         "fd_dealloc",
501                         "fd_isset",
502                         "fd_set",
503                         "fd_zero",
504                         "fdf_add_template",
505                         "fdf_close",
506                         "fdf_create",
507                         "fdf_get_file",
508                         "fdf_get_status",
509                         "fdf_get_value",
510                         "fdf_next_field_name",
511                         "fdf_open",
512                         "fdf_save",
513                         "fdf_set_ap",
514                         "fdf_set_file",
515                         "fdf_set_flags",
516                         "fdf_set_javascript_action",
517                         "fdf_set_opt",
518                         "fdf_set_status",
519                         "fdf_set_submit_form_action",
520                         "fdf_set_value",
521                         "feof",
522                         "fetch_iovec",
523                         "fflush",
524                         "fgetc",
525                         "fgetcsv",
526                         "fgets",
527                         "fgetss",
528                         "file",
529                         "file_exists",
530                         "fileatime",
531                         "filectime",
532                         "filegroup",
533                         "fileinode",
534                         "filemtime",
535                         "fileowner",
536                         "fileperms",
537                         "filepro",
538                         "filepro_fieldcount",
539                         "filepro_fieldname",
540                         "filepro_fieldtype",
541                         "filepro_fieldwidth",
542                         "filepro_retrieve",
543                         "filepro_rowcount",
544                         "filesize",
545                         "filetype",
546                         "flock",
547                         "floor",
548                         "flush",
549                         "fopen",
550                         "fopenstream",
551                         "fopenstream",
552                         "fpassthru",
553                         "fputs",
554                         "fread",
555                         "free_iovec",
556                         "frenchtojd",
557                         "fribidi_log2vis",
558                         "fscanf",
559                         "fseek",
560                         "fsockopen",
561                         "fstat",
562                         "ftell",
563                         "ftp_cdup",
564                         "ftp_chdir",
565                         "ftp_connect",
566                         "ftp_delete",
567                         "ftp_exec",
568                         "ftp_fget",
569                         "ftp_fput",
570                         "ftp_get",
571                         "ftp_login",
572                         "ftp_mdtm",
573                         "ftp_mkdir",
574                         "ftp_nlist",
575                         "ftp_pasv",
576                         "ftp_put",
577                         "ftp_pwd",
578                         "ftp_quit",
579                         "ftp_rawlist",
580                         "ftp_rename",
581                         "ftp_rmdir",
582                         "ftp_site",
583                         "ftp_size",
584                         "ftp_systype",
585                         "ftruncate",
586                         "func_get_arg",
587                         "func_get_args",
588                         "func_num_args",
589                         "function_exists",
590                         "fwrite",
591                         "get_all_headers",
592                         "get_browser",
593                         "get_cfg_var",
594                         "get_class",
595                         "get_class_methods",
596                         "get_class_vars",
597                         "get_current_user",
598                         "get_declared_classes",
599                         "get_defined_functions",
600                         "get_defined_vars",
601                         "get_extension_funcs",
602                         "get_html_translation_table",
603                         "get_included_files",
604                         "get_loaded_extensions",
605                         "get_magic_quotes_gpc",
606                         "get_magic_quotes_runtime",
607                         "get_meta_tags",
608                         "get_object_vars",
609                         "get_parent_class",
610                         "get_required_files",
611                         "get_resource_type",
612                         "getallheaders",
613                         "getallheaders",
614                         "getascent",
615                         "getascent",
616                         "getcwd",
617                         "getdate",
618                         "getdescent",
619                         "getdescent",
620                         "getenv",
621                         "getheight",
622                         "gethostbyaddr",
623                         "gethostbyaddr",
624                         "gethostbyname",
625                         "gethostbyname",
626                         "gethostbynamel",
627                         "getimagesize",
628                         "getlastmod",
629                         "getleading",
630                         "getleading",
631                         "getmxrr",
632                         "getmxrr",
633                         "getmyinode",
634                         "getmypid",
635                         "getmyuid",
636                         "getpeername",
637                         "getprotobyname",
638                         "getprotobynumber",
639                         "getrandmax",
640                         "getrusage",
641                         "getrusage",
642                         "getservbyname",
643                         "getservbyport",
644                         "getshape1",
645                         "getshape2",
646                         "getsockname",
647                         "getsockopt",
648                         "gettext",
649                         "gettimeofday",
650                         "gettype",
651                         "getwidth",
652                         "getwidth",
653                         "getwidth",
654                         "gmdate",
655                         "gmmktime",
656                         "gmp_abs",
657                         "gmp_add",
658                         "gmp_and",
659                         "gmp_clrbit",
660                         "gmp_cmp",
661                         "gmp_com",
662                         "gmp_div",
663                         "gmp_div_q",
664                         "gmp_div_qr",
665                         "gmp_div_r",
666                         "gmp_divexact",
667                         "gmp_fact",
668                         "gmp_gcd",
669                         "gmp_gcdext",
670                         "gmp_hamdist",
671                         "gmp_init",
672                         "gmp_intval",
673                         "gmp_invert",
674                         "gmp_jacobi",
675                         "gmp_legendre",
676                         "gmp_mod",
677                         "gmp_mul",
678                         "gmp_neg",
679                         "gmp_or",
680                         "gmp_perfect_square",
681                         "gmp_popcount",
682                         "gmp_pow",
683                         "gmp_powm",
684                         "gmp_prob_prime",
685                         "gmp_random",
686                         "gmp_scan0",
687                         "gmp_scan1",
688                         "gmp_setbit",
689                         "gmp_sign",
690                         "gmp_sqrt",
691                         "gmp_sqrtrem",
692                         "gmp_strval",
693                         "gmp_sub",
694                         "gmp_xor",
695                         "gmstrftime",
696                         "gmstrftime",
697                         "gregoriantojd",
698                         "gzclose",
699                         "gzcompress",
700                         "gzdeflate",
701                         "gzencode",
702                         "gzeof",
703                         "gzfile",
704                         "gzgetc",
705                         "gzgets",
706                         "gzgetss",
707                         "gzinflate",
708                         "gzopen",
709                         "gzpassthru",
710                         "gzputs",
711                         "gzread",
712                         "gzrewind",
713                         "gzseek",
714                         "gztell",
715                         "gzuncompress",
716                         "gzwrite",
717                         "header",
718                         "headers_sent",
719                         "hebrev",
720                         "hebrevc",
721                         "hexdec",
722                         "highlight_file",
723                         "highlight_string",
724                         "htmlentities",
725                         "htmlspecialchars",
726                         "hw_array2objrec",
727                         "hw_changeobject",
728                         "hw_children",
729                         "hw_childrenobj",
730                         "hw_close",
731                         "hw_connect",
732                         "hw_connection_info",
733                         "hw_cp",
734                         "hw_deleteobject",
735                         "hw_docbyanchor",
736                         "hw_docbyanchorobj",
737                         "hw_document_attributes",
738                         "hw_document_bodytag",
739                         "hw_document_content",
740                         "hw_document_setcontent",
741                         "hw_document_size",
742                         "hw_dummy",
743                         "hw_edittext",
744                         "hw_error",
745                         "hw_errormsg",
746                         "hw_free_document",
747                         "hw_getanchors",
748                         "hw_getanchorsobj",
749                         "hw_getandlock",
750                         "hw_getcgi",
751                         "hw_getchildcoll",
752                         "hw_getchildcollobj",
753                         "hw_getchilddoccoll",
754                         "hw_getchilddoccollobj",
755                         "hw_getobject",
756                         "hw_getobjectbyftquery",
757                         "hw_getobjectbyftquerycoll",
758                         "hw_getobjectbyftquerycollobj",
759                         "hw_getobjectbyftqueryobj",
760                         "hw_getobjectbyquery",
761                         "hw_getobjectbyquerycoll",
762                         "hw_getobjectbyquerycollobj",
763                         "hw_getobjectbyqueryobj",
764                         "hw_getparents",
765                         "hw_getparentsobj",
766                         "hw_getrellink",
767                         "hw_getremote",
768                         "hw_getremotechildren",
769                         "hw_getsrcbydestobj",
770                         "hw_gettext",
771                         "hw_getusername",
772                         "hw_identify",
773                         "hw_incollections",
774                         "hw_info",
775                         "hw_inscoll",
776                         "hw_insdoc",
777                         "hw_insertanchors",
778                         "hw_insertdocument",
779                         "hw_insertobject",
780                         "hw_mapid",
781                         "hw_modifyobject",
782                         "hw_mv",
783                         "hw_new_document",
784                         "hw_new_document_from_file",
785                         "hw_objrec2array",
786                         "hw_output_document",
787                         "hw_pconnect",
788                         "hw_pipecgi",
789                         "hw_pipedocument",
790                         "hw_root",
791                         "hw_setlinkroot",
792                         "hw_stat",
793                         "hw_unlock",
794                         "hw_who",
795                         "ibase_blob_add",
796                         "ibase_blob_cancel",
797                         "ibase_blob_close",
798                         "ibase_blob_create",
799                         "ibase_blob_echo",
800                         "ibase_blob_get",
801                         "ibase_blob_import",
802                         "ibase_blob_info",
803                         "ibase_blob_open",
804                         "ibase_close",
805                         "ibase_commit",
806                         "ibase_connect",
807                         "ibase_errmsg",
808                         "ibase_execute",
809                         "ibase_fetch_object",
810                         "ibase_fetch_row",
811                         "ibase_field_info",
812                         "ibase_free_query",
813                         "ibase_free_result",
814                         "ibase_num_fields",
815                         "ibase_pconnect",
816                         "ibase_prepare",
817                         "ibase_query",
818                         "ibase_rollback",
819                         "ibase_timefmt",
820                         "ibase_trans",
821                         "icap_create_calendar",
822                         "icap_delete_calendar",
823                         "icap_delete_event",
824                         "icap_fetch_event",
825                         "icap_list_alarms",
826                         "icap_list_events",
827                         "icap_open",
828                         "icap_popen",
829                         "icap_rename_calendar",
830                         "icap_reopen",
831                         "icap_snooze",
832                         "icap_store_event",
833                         "iconv",
834                         "iconv_get_encoding",
835                         "iconv_set_encoding",
836                         "ifx_affected_rows",
837                         "ifx_blobinfile_mode",
838                         "ifx_byteasvarchar",
839                         "ifx_close",
840                         "ifx_connect",
841                         "ifx_copy_blob",
842                         "ifx_create_blob",
843                         "ifx_create_char",
844                         "ifx_do",
845                         "ifx_error",
846                         "ifx_errormsg",
847                         "ifx_fetch_row",
848                         "ifx_fieldproperties",
849                         "ifx_fieldtypes",
850                         "ifx_free_blob",
851                         "ifx_free_char",
852                         "ifx_free_result",
853                         "ifx_get_blob",
854                         "ifx_get_char",
855                         "ifx_getsqlca",
856                         "ifx_htmltbl_result",
857                         "ifx_nullformat",
858                         "ifx_num_fields",
859                         "ifx_num_rows",
860                         "ifx_pconnect",
861                         "ifx_prepare",
862                         "ifx_query",
863                         "ifx_textasvarchar",
864                         "ifx_update_blob",
865                         "ifx_update_char",
866                         "ifxus_close_slob",
867                         "ifxus_create_slob",
868                         "ifxus_free_slob",
869                         "ifxus_open_slob",
870                         "ifxus_read_slob",
871                         "ifxus_seek_slob",
872                         "ifxus_tell_slob",
873                         "ifxus_write_slob",
874                         "ignore_user_abort",
875                         "iis_addserver",
876                         "iis_getdirsecurity",
877                         "iis_getscriptmap",
878                         "iis_getserverbycomment",
879                         "iis_getserverbypath",
880                         "iis_getserverright",
881                         "iis_getservicestate",
882                         "iis_removeserver",
883                         "iis_setappsettings",
884                         "iis_setdirsecurity",
885                         "iis_setscriptmap",
886                         "iis_setserverright",
887                         "iis_startserver",
888                         "iis_startservice",
889                         "iis_stopserver",
890                         "iis_stopservice",
891                         "image2wbmp",
892                         "imagealphablending",
893                         "imagearc",
894                         "imagechar",
895                         "imagecharup",
896                         "imagecolorallocate",
897                         "imagecolorat",
898                         "imagecolorclosest",
899                         "imagecolorclosestalpha",
900                         "imagecolorclosesthwb",
901                         "imagecolordeallocate",
902                         "imagecolorexact",
903                         "imagecolorexactalpha",
904                         "imagecolorresolve",
905                         "imagecolorresolvealpha",
906                         "imagecolorset",
907                         "imagecolorsforindex",
908                         "imagecolorstotal",
909                         "imagecolortransparent",
910                         "imagecopy",
911                         "imagecopymerge",
912                         "imagecopymergegray",
913                         "imagecopyresampled",
914                         "imagecopyresized",
915                         "imagecreate",
916                         "imagecreatefromgif",
917                         "imagecreatefromjpeg",
918                         "imagecreatefrompng",
919                         "imagecreatefromstring",
920                         "imagecreatefromwbmp",
921                         "imagecreatefromxbm",
922                         "imagecreatefromxpm",
923                         "imagecreatetruecolor",
924                         "imagedashedline",
925                         "imagedestroy",
926                         "imageellipse",
927                         "imagefill",
928                         "imagefilledarc",
929                         "imagefilledellipse",
930                         "imagefilledpolygon",
931                         "imagefilledrectangle",
932                         "imagefilltoborder",
933                         "imagefontheight",
934                         "imagefontwidth",
935                         "imagegammacorrect",
936                         "imagegif",
937                         "imageinterlace",
938                         "imagejpeg",
939                         "imageline",
940                         "imageloadfont",
941                         "imagepalettecopy",
942                         "imagepng",
943                         "imagepolygon",
944                         "imagepsbbox",
945                         "imagepscopyfont",
946                         "imagepsencodefont",
947                         "imagepsextendfont",
948                         "imagepsfreefont",
949                         "imagepsloadfont",
950                         "imagepsslantfont",
951                         "imagepstext",
952                         "imagerectangle",
953                         "imagesetbrush",
954                         "imagesetpixel",
955                         "imagesetstyle",
956                         "imagesetthickness",
957                         "imagesettile",
958                         "imagestring",
959                         "imagestringup",
960                         "imagesx",
961                         "imagesy",
962                         "imagetruecolortopalette",
963                         "imagettfbbox",
964                         "imagettftext",
965                         "imagetypes",
966                         "imagewbmp",
967                         "imap_8bit",
968                         "imap_alerts",
969                         "imap_append",
970                         "imap_base64",
971                         "imap_binary",
972                         "imap_body",
973                         "imap_bodystruct",
974                         "imap_check",
975                         "imap_clearflag_full",
976                         "imap_close",
977                         "imap_create",
978                         "imap_createmailbox",
979                         "imap_delete",
980                         "imap_deletemailbox",
981                         "imap_errors",
982                         "imap_expunge",
983                         "imap_fetch_overview",
984                         "imap_fetchbody",
985                         "imap_fetchheader",
986                         "imap_fetchstructure",
987                         "imap_fetchtext",
988                         "imap_get_quota",
989                         "imap_getmailboxes",
990                         "imap_getsubscribed",
991                         "imap_header",
992                         "imap_headerinfo",
993                         "imap_headers",
994                         "imap_last_error",
995                         "imap_list",
996                         "imap_listmailbox",
997                         "imap_listsubscribed",
998                         "imap_lsub",
999                         "imap_mail",
1000                         "imap_mail",
1001                         "imap_mail_compose",
1002                         "imap_mail_copy",
1003                         "imap_mail_move",
1004                         "imap_mailboxmsginfo",
1005                         "imap_mime_header_decode",
1006                         "imap_msgno",
1007                         "imap_num_msg",
1008                         "imap_num_recent",
1009                         "imap_open",
1010                         "imap_ping",
1011                         "imap_popen",
1012                         "imap_qprint",
1013                         "imap_rename",
1014                         "imap_renamemailbox",
1015                         "imap_reopen",
1016                         "imap_rfc822_parse_adrlist",
1017                         "imap_rfc822_parse_headers",
1018                         "imap_rfc822_write_address",
1019                         "imap_scan",
1020                         "imap_scanmailbox",
1021                         "imap_search",
1022                         "imap_set_quota",
1023                         "imap_setflag_full",
1024                         "imap_sort",
1025                         "imap_status",
1026                         "imap_subscribe",
1027                         "imap_uid",
1028                         "imap_undelete",
1029                         "imap_unsubscribe",
1030                         "imap_utf7_decode",
1031                         "imap_utf7_encode",
1032                         "imap_utf8",
1033                         "implode",
1034                         "in_array",
1035                         "ingres_autocommit",
1036                         "ingres_close",
1037                         "ingres_commit",
1038                         "ingres_connect",
1039                         "ingres_fetch_array",
1040                         "ingres_fetch_object",
1041                         "ingres_fetch_row",
1042                         "ingres_field_length",
1043                         "ingres_field_name",
1044                         "ingres_field_nullable",
1045                         "ingres_field_precision",
1046                         "ingres_field_scale",
1047                         "ingres_field_type",
1048                         "ingres_num_fields",
1049                         "ingres_num_rows",
1050                         "ingres_pconnect",
1051                         "ingres_query",
1052                         "ingres_rollback",
1053                         "ini_alter",
1054                         "ini_get",
1055                         "ini_restore",
1056                         "ini_set",
1057                         "intval",
1058                         "ip2long",
1059                         "iptcembed",
1060                         "iptcparse",
1061                         "ircg_channel_mode",
1062                         "ircg_disconnect",
1063                         "ircg_html_encode",
1064                         "ircg_ignore_add",
1065                         "ircg_ignore_del",
1066                         "ircg_is_conn_alive",
1067                         "ircg_join",
1068                         "ircg_kick",
1069                         "ircg_lookup_format_messages",
1070                         "ircg_msg",
1071                         "ircg_nick",
1072                         "ircg_nickname_escape",
1073                         "ircg_nickname_unescape",
1074                         "ircg_notice",
1075                         "ircg_part",
1076                         "ircg_pconnect",
1077                         "ircg_register_format_messages",
1078                         "ircg_set_current",
1079                         "ircg_topic",
1080                         "ircg_whois",
1081                         "is_array",
1082                         "is_bool",
1083                         "is_dir",
1084                         "is_double",
1085                         "is_executable",
1086                         "is_file",
1087                         "is_float",
1088                         "is_int",
1089                         "is_integer",
1090                         "is_link",
1091                         "is_long",
1092                         "is_null",
1093                         "is_numeric",
1094                         "is_object",
1095                         "is_readable",
1096                         "is_real",
1097                         "is_resource",
1098                         "is_scalar",
1099                         "is_string",
1100                         "is_subclass_of",
1101                         "is_uploaded_file",
1102                         "is_writable",
1103                         "is_writeable",
1104                         "java_last_exception_clear",
1105                         "java_last_exception_get",
1106                         "jddayofweek",
1107                         "jdmonthname",
1108                         "jdtofrench",
1109                         "jdtogregorian",
1110                         "jdtojewish",
1111                         "jdtojulian",
1112                         "jdtounix",
1113                         "jewishtojd",
1114                         "join",
1115                         "jpeg2wbmp",
1116                         "juliantojd",
1117                         "key",
1118                         "krsort",
1119                         "ksort",
1120                         "labelframe",
1121                         "labelframe",
1122                         "lcg_value",
1123                         "ldap_8859_to_t61",
1124                         "ldap_add",
1125                         "ldap_bind",
1126                         "ldap_close",
1127                         "ldap_compare",
1128                         "ldap_connect",
1129                         "ldap_count_entries",
1130                         "ldap_delete",
1131                         "ldap_dn2ufn",
1132                         "ldap_err2str",
1133                         "ldap_errno",
1134                         "ldap_error",
1135                         "ldap_explode_dn",
1136                         "ldap_first_attribute",
1137                         "ldap_first_entry",
1138                         "ldap_first_reference",
1139                         "ldap_free_result",
1140                         "ldap_get_attributes",
1141                         "ldap_get_dn",
1142                         "ldap_get_entries",
1143                         "ldap_get_option",
1144                         "ldap_get_values",
1145                         "ldap_get_values_len",
1146                         "ldap_list",
1147                         "ldap_mod_add",
1148                         "ldap_mod_del",
1149                         "ldap_mod_replace",
1150                         "ldap_modify",
1151                         "ldap_next_attribute",
1152                         "ldap_next_entry",
1153                         "ldap_next_reference",
1154                         "ldap_parse_reference",
1155                         "ldap_parse_result",
1156                         "ldap_read",
1157                         "ldap_rename",
1158                         "ldap_search",
1159                         "ldap_set_option",
1160                         "ldap_t61_to_8859",
1161                         "ldap_unbind",
1162                         "leak",
1163                         "levenshtein",
1164                         "link",
1165                         "link",
1166                         "linkinfo",
1167                         "linkinfo",
1168                         "listen",
1169                         "localeconv",
1170                         "localtime",
1171                         "log",
1172                         "log10",
1173                         "long2ip",
1174                         "lstat",
1175                         "ltrim",
1176                         "magic_quotes_runtime",
1177                         "mail",
1178                         "mail",
1179                         "max",
1180                         "mcal_append_event",
1181                         "mcal_close",
1182                         "mcal_create_calendar",
1183                         "mcal_date_compare",
1184                         "mcal_date_valid",
1185                         "mcal_day_of_week",
1186                         "mcal_day_of_year",
1187                         "mcal_days_in_month",
1188                         "mcal_delete_calendar",
1189                         "mcal_delete_event",
1190                         "mcal_event_add_attribute",
1191                         "mcal_event_init",
1192                         "mcal_event_set_alarm",
1193                         "mcal_event_set_category",
1194                         "mcal_event_set_class",
1195                         "mcal_event_set_description",
1196                         "mcal_event_set_end",
1197                         "mcal_event_set_recur_daily",
1198                         "mcal_event_set_recur_monthly_mday",
1199                         "mcal_event_set_recur_monthly_wday",
1200                         "mcal_event_set_recur_none",
1201                         "mcal_event_set_recur_weekly",
1202                         "mcal_event_set_recur_yearly",
1203                         "mcal_event_set_start",
1204                         "mcal_event_set_title",
1205                         "mcal_fetch_current_stream_event",
1206                         "mcal_fetch_event",
1207                         "mcal_is_leap_year",
1208                         "mcal_list_alarms",
1209                         "mcal_list_events",
1210                         "mcal_next_recurrence",
1211                         "mcal_open",
1212                         "mcal_popen",
1213                         "mcal_rename_calendar",
1214                         "mcal_reopen",
1215                         "mcal_snooze",
1216                         "mcal_store_event",
1217                         "mcal_time_valid",
1218                         "mcal_week_of_year",
1219                         "mcrypt_cbc",
1220                         "mcrypt_cfb",
1221                         "mcrypt_create_iv",
1222                         "mcrypt_decrypt",
1223                         "mcrypt_ecb",
1224                         "mcrypt_enc_get_algorithms_name",
1225                         "mcrypt_enc_get_block_size",
1226                         "mcrypt_enc_get_iv_size",
1227                         "mcrypt_enc_get_key_size",
1228                         "mcrypt_enc_get_modes_name",
1229                         "mcrypt_enc_get_supported_key_sizes",
1230                         "mcrypt_enc_is_block_algorithm",
1231                         "mcrypt_enc_is_block_algorithm_mode",
1232                         "mcrypt_enc_is_block_mode",
1233                         "mcrypt_enc_self_test",
1234                         "mcrypt_encrypt",
1235                         "mcrypt_generic",
1236                         "mcrypt_generic_end",
1237                         "mcrypt_generic_init",
1238                         "mcrypt_get_block_size",
1239                         "mcrypt_get_cipher_name",
1240                         "mcrypt_get_iv_size",
1241                         "mcrypt_get_key_size",
1242                         "mcrypt_list_algorithms",
1243                         "mcrypt_list_modes",
1244                         "mcrypt_module_close",
1245                         "mcrypt_module_get_algo_block_size",
1246                         "mcrypt_module_get_algo_key_size",
1247                         "mcrypt_module_get_supported_key_sizes",
1248                         "mcrypt_module_is_block_algorithm",
1249                         "mcrypt_module_is_block_algorithm_mode",
1250                         "mcrypt_module_is_block_mode",
1251                         "mcrypt_module_open",
1252                         "mcrypt_module_self_test",
1253                         "mcrypt_ofb",
1254                         "md5",
1255                         "mdecrypt_generic",
1256                         "metaphone",
1257                         "method_exists",
1258                         "mhash",
1259                         "mhash_count",
1260                         "mhash_get_block_size",
1261                         "mhash_get_hash_name",
1262                         "mhash_keygen_s2k",
1263                         "microtime",
1264                         "min",
1265                         "ming_setcubicthreshold",
1266                         "ming_setscale",
1267                         "mkdir",
1268                         "mktime",
1269                         "move",
1270                         "move_uploaded_file",
1271                         "movepen",
1272                         "movepento",
1273                         "moveto",
1274                         "moveto",
1275                         "moveto",
1276                         "msql",
1277                         "msql_affected_rows",
1278                         "msql_close",
1279                         "msql_connect",
1280                         "msql_create_db",
1281                         "msql_createdb",
1282                         "msql_data_seek",
1283                         "msql_db_query",
1284                         "msql_dbname",
1285                         "msql_drop_db",
1286                         "msql_dropdb",
1287                         "msql_error",
1288                         "msql_fetch_array",
1289                         "msql_fetch_field",
1290                         "msql_fetch_object",
1291                         "msql_fetch_row",
1292                         "msql_field_flags",
1293                         "msql_field_len",
1294                         "msql_field_name",
1295                         "msql_field_seek",
1296                         "msql_field_table",
1297                         "msql_field_type",
1298                         "msql_fieldflags",
1299                         "msql_fieldlen",
1300                         "msql_fieldname",
1301                         "msql_fieldtable",
1302                         "msql_fieldtype",
1303                         "msql_free_result",
1304                         "msql_freeresult",
1305                         "msql_list_dbs",
1306                         "msql_list_fields",
1307                         "msql_list_tables",
1308                         "msql_listdbs",
1309                         "msql_listfields",
1310                         "msql_listtables",
1311                         "msql_num_fields",
1312                         "msql_num_rows",
1313                         "msql_numfields",
1314                         "msql_numrows",
1315                         "msql_pconnect",
1316                         "msql_query",
1317                         "msql_regcase",
1318                         "msql_result",
1319                         "msql_select_db",
1320                         "msql_selectdb",
1321                         "msql_tablename",
1322                         "mssql_affected_rows",
1323                         "mssql_affected_rows",
1324                         "mssql_close",
1325                         "mssql_close",
1326                         "mssql_close",
1327                         "mssql_connect",
1328                         "mssql_connect",
1329                         "mssql_connect",
1330                         "mssql_data_seek",
1331                         "mssql_data_seek",
1332                         "mssql_data_seek",
1333                         "mssql_fetch_array",
1334                         "mssql_fetch_array",
1335                         "mssql_fetch_array",
1336                         "mssql_fetch_batch",
1337                         "mssql_fetch_field",
1338                         "mssql_fetch_field",
1339                         "mssql_fetch_field",
1340                         "mssql_fetch_object",
1341                         "mssql_fetch_object",
1342                         "mssql_fetch_object",
1343                         "mssql_fetch_row",
1344                         "mssql_fetch_row",
1345                         "mssql_fetch_row",
1346                         "mssql_field_length",
1347                         "mssql_field_name",
1348                         "mssql_field_seek",
1349                         "mssql_field_seek",
1350                         "mssql_field_seek",
1351                         "mssql_field_type",
1352                         "mssql_free_result",
1353                         "mssql_free_result",
1354                         "mssql_free_result",
1355                         "mssql_get_last_message",
1356                         "mssql_get_last_message",
1357                         "mssql_get_last_message",
1358                         "mssql_min_client_severity",
1359                         "mssql_min_error_severity",
1360                         "mssql_min_error_severity",
1361                         "mssql_min_message_severity",
1362                         "mssql_min_message_severity",
1363                         "mssql_min_server_severity",
1364                         "mssql_next_result",
1365                         "mssql_num_fields",
1366                         "mssql_num_fields",
1367                         "mssql_num_fields",
1368                         "mssql_num_rows",
1369                         "mssql_num_rows",
1370                         "mssql_num_rows",
1371                         "mssql_pconnect",
1372                         "mssql_pconnect",
1373                         "mssql_pconnect",
1374                         "mssql_query",
1375                         "mssql_query",
1376                         "mssql_query",
1377                         "mssql_result",
1378                         "mssql_result",
1379                         "mssql_result",
1380                         "mssql_rows_affected",
1381                         "mssql_select_db",
1382                         "mssql_select_db",
1383                         "mssql_select_db",
1384                         "mt_getrandmax",
1385                         "mt_rand",
1386                         "mt_srand",
1387                         "multcolor",
1388                         "muscat_close",
1389                         "muscat_get",
1390                         "muscat_give",
1391                         "muscat_setup",
1392                         "muscat_setup_net",
1393                         "mysql",
1394                         "mysql_affected_rows",
1395                         "mysql_close",
1396                         "mysql_connect",
1397                         "mysql_create_db",
1398                         "mysql_createdb",
1399                         "mysql_data_seek",
1400                         "mysql_db_name",
1401                         "mysql_db_query",
1402                         "mysql_dbname",
1403                         "mysql_drop_db",
1404                         "mysql_dropdb",
1405                         "mysql_errno",
1406                         "mysql_error",
1407                         "mysql_escape_string",
1408                         "mysql_fetch_array",
1409                         "mysql_fetch_assoc",
1410                         "mysql_fetch_field",
1411                         "mysql_fetch_lengths",
1412                         "mysql_fetch_object",
1413                         "mysql_fetch_row",
1414                         "mysql_field_flags",
1415                         "mysql_field_len",
1416                         "mysql_field_name",
1417                         "mysql_field_seek",
1418                         "mysql_field_table",
1419                         "mysql_field_type",
1420                         "mysql_fieldflags",
1421                         "mysql_fieldlen",
1422                         "mysql_fieldname",
1423                         "mysql_fieldtable",
1424                         "mysql_fieldtype",
1425                         "mysql_free_result",
1426                         "mysql_freeresult",
1427                         "mysql_get_client_info",
1428                         "mysql_get_host_info",
1429                         "mysql_get_proto_info",
1430                         "mysql_get_server_info",
1431                         "mysql_insert_id",
1432                         "mysql_list_dbs",
1433                         "mysql_list_fields",
1434                         "mysql_list_tables",
1435                         "mysql_listdbs",
1436                         "mysql_listfields",
1437                         "mysql_listtables",
1438                         "mysql_num_fields",
1439                         "mysql_num_rows",
1440                         "mysql_numfields",
1441                         "mysql_numrows",
1442                         "mysql_pconnect",
1443                         "mysql_query",
1444                         "mysql_result",
1445                         "mysql_select_db",
1446                         "mysql_selectdb",
1447                         "mysql_tablename",
1448                         "mysql_unbuffered_query",
1449                         "natcasesort",
1450                         "natsort",
1451                         "new_xmldoc",
1452                         "next",
1453                         "nextframe",
1454                         "nextframe",
1455                         "nl2br",
1456                         "notes_body",
1457                         "notes_copy_db",
1458                         "notes_create_db",
1459                         "notes_create_note",
1460                         "notes_drop_db",
1461                         "notes_find_note",
1462                         "notes_header_info",
1463                         "notes_list_msgs",
1464                         "notes_mark_read",
1465                         "notes_mark_unread",
1466                         "notes_nav_create",
1467                         "notes_search",
1468                         "notes_unread",
1469                         "notes_version",
1470                         "number_format",
1471                         "ob_end_clean",
1472                         "ob_end_flush",
1473                         "ob_get_contents",
1474                         "ob_get_length",
1475                         "ob_gzhandler",
1476                         "ob_iconv_handler",
1477                         "ob_implicit_flush",
1478                         "ob_start",
1479                         "ocibindbyname",
1480                         "ocicancel",
1481                         "ocicollappend",
1482                         "ocicollassign",
1483                         "ocicollassignelem",
1484                         "ocicolldateappendelem",
1485                         "ocicolldateassignelem",
1486                         "ocicolldategetelem",
1487                         "ocicollgetelem",
1488                         "ocicollmax",
1489                         "ocicollsize",
1490                         "ocicolltrim",
1491                         "ocicolumnisnull",
1492                         "ocicolumnname",
1493                         "ocicolumnprecision",
1494                         "ocicolumnscale",
1495                         "ocicolumnsize",
1496                         "ocicolumntype",
1497                         "ocicolumntyperaw",
1498                         "ocicommit",
1499                         "ocidefinebyname",
1500                         "ocierror",
1501                         "ociexecute",
1502                         "ocifetch",
1503                         "ocifetchinto",
1504                         "ocifetchstatement",
1505                         "ocifreecoll",
1506                         "ocifreecursor",
1507                         "ocifreedesc",
1508                         "ocifreestatement",
1509                         "ociinternaldebug",
1510                         "ociloadlob",
1511                         "ocilogoff",
1512                         "ocilogon",
1513                         "ocinewcollection",
1514                         "ocinewcursor",
1515                         "ocinewdescriptor",
1516                         "ocinlogon",
1517                         "ocinumcols",
1518                         "ociparse",
1519                         "ociplogon",
1520                         "ociresult",
1521                         "ocirollback",
1522                         "ocirowcount",
1523                         "ocisavelob",
1524                         "ocisavelobfile",
1525                         "ociserverversion",
1526                         "ocisetprefetch",
1527                         "ocistatementtype",
1528                         "ociwritelobtofile",
1529                         "octdec",
1530                         "odbc_autocommit",
1531                         "odbc_binmode",
1532                         "odbc_close",
1533                         "odbc_close_all",
1534                         "odbc_columnprivileges",
1535                         "odbc_columns",
1536                         "odbc_commit",
1537                         "odbc_connect",
1538                         "odbc_cursor",
1539                         "odbc_do",
1540                         "odbc_error",
1541                         "odbc_errormsg",
1542                         "odbc_exec",
1543                         "odbc_execute",
1544                         "odbc_fetch_array",
1545                         "odbc_fetch_into",
1546                         "odbc_fetch_object",
1547                         "odbc_fetch_row",
1548                         "odbc_field_len",
1549                         "odbc_field_name",
1550                         "odbc_field_num",
1551                         "odbc_field_precision",
1552                         "odbc_field_scale",
1553                         "odbc_field_type",
1554                         "odbc_foreignkeys",
1555                         "odbc_free_result",
1556                         "odbc_gettypeinfo",
1557                         "odbc_longreadlen",
1558                         "odbc_next_result",
1559                         "odbc_num_fields",
1560                         "odbc_num_rows",
1561                         "odbc_pconnect",
1562                         "odbc_prepare",
1563                         "odbc_primarykeys",
1564                         "odbc_procedurecolumns",
1565                         "odbc_procedures",
1566                         "odbc_result",
1567                         "odbc_result_all",
1568                         "odbc_rollback",
1569                         "odbc_setoption",
1570                         "odbc_specialcolumns",
1571                         "odbc_statistics",
1572                         "odbc_tableprivileges",
1573                         "odbc_tables",
1574                         "open_listen_sock",
1575                         "opendir",
1576                         "openlog",
1577                         "openssl_error_string",
1578                         "openssl_free_key",
1579                         "openssl_get_privatekey",
1580                         "openssl_get_publickey",
1581                         "openssl_open",
1582                         "openssl_pkcs7_decrypt",
1583                         "openssl_pkcs7_encrypt",
1584                         "openssl_pkcs7_sign",
1585                         "openssl_pkcs7_verify",
1586                         "openssl_seal",
1587                         "openssl_sign",
1588                         "openssl_verify",
1589                         "openssl_x509_checkpurpose",
1590                         "openssl_x509_free",
1591                         "openssl_x509_parse",
1592                         "openssl_x509_read",
1593                         "ora_bind",
1594                         "ora_close",
1595                         "ora_columnname",
1596                         "ora_columnsize",
1597                         "ora_columntype",
1598                         "ora_commit",
1599                         "ora_commitoff",
1600                         "ora_commiton",
1601                         "ora_do",
1602                         "ora_error",
1603                         "ora_errorcode",
1604                         "ora_exec",
1605                         "ora_fetch",
1606                         "ora_fetch_into",
1607                         "ora_getcolumn",
1608                         "ora_logoff",
1609                         "ora_logon",
1610                         "ora_numcols",
1611                         "ora_numrows",
1612                         "ora_open",
1613                         "ora_parse",
1614                         "ora_plogon",
1615                         "ora_rollback",
1616                         "orbit_caught_exception",
1617                         "orbit_exception_id",
1618                         "orbit_exception_value",
1619                         "orbit_get_repository_id",
1620                         "orbit_load_idl",
1621                         "ord",
1622                         "output",
1623                         "ovrimos_close",
1624                         "ovrimos_close_all",
1625                         "ovrimos_commit",
1626                         "ovrimos_connect",
1627                         "ovrimos_cursor",
1628                         "ovrimos_exec",
1629                         "ovrimos_execute",
1630                         "ovrimos_fetch_into",
1631                         "ovrimos_fetch_row",
1632                         "ovrimos_field_len",
1633                         "ovrimos_field_name",
1634                         "ovrimos_field_num",
1635                         "ovrimos_field_type",
1636                         "ovrimos_free_result",
1637                         "ovrimos_longreadlen",
1638                         "ovrimos_num_fields",
1639                         "ovrimos_num_rows",
1640                         "ovrimos_prepare",
1641                         "ovrimos_result",
1642                         "ovrimos_result_all",
1643                         "ovrimos_rollback",
1644                         "pack",
1645                         "parse_ini_file",
1646                         "parse_str",
1647                         "parse_url",
1648                         "passthru",
1649                         "pathinfo",
1650                         "pclose",
1651                         "pdf_add_annotation",
1652                         "pdf_add_bookmark",
1653                         "pdf_add_launchlink",
1654                         "pdf_add_locallink",
1655                         "pdf_add_note",
1656                         "pdf_add_outline",
1657                         "pdf_add_pdflink",
1658                         "pdf_add_thumbnail",
1659                         "pdf_add_weblink",
1660                         "pdf_arc",
1661                         "pdf_arcn",
1662                         "pdf_attach_file",
1663                         "pdf_begin_page",
1664                         "pdf_begin_pattern",
1665                         "pdf_begin_template",
1666                         "pdf_circle",
1667                         "pdf_clip",
1668                         "pdf_close",
1669                         "pdf_close_image",
1670                         "pdf_close_pdi",
1671                         "pdf_close_pdi_page",
1672                         "pdf_closepath",
1673                         "pdf_closepath_fill_stroke",
1674                         "pdf_closepath_stroke",
1675                         "pdf_concat",
1676                         "pdf_continue_text",
1677                         "pdf_curveto",
1678                         "pdf_delete",
1679                         "pdf_end_page",
1680                         "pdf_end_pattern",
1681                         "pdf_end_template",
1682                         "pdf_endpath",
1683                         "pdf_fill",
1684                         "pdf_fill_stroke",
1685                         "pdf_findfont",
1686                         "pdf_get_buffer",
1687                         "pdf_get_font",
1688                         "pdf_get_fontname",
1689                         "pdf_get_fontsize",
1690                         "pdf_get_image_height",
1691                         "pdf_get_image_width",
1692                         "pdf_get_parameter",
1693                         "pdf_get_pdi_parameter",
1694                         "pdf_get_pdi_value",
1695                         "pdf_get_value",
1696                         "pdf_initgraphics",
1697                         "pdf_lineto",
1698                         "pdf_makespotcolor",
1699                         "pdf_moveto",
1700                         "pdf_new",
1701                         "pdf_open",
1702                         "pdf_open_ccitt",
1703                         "pdf_open_file",
1704                         "pdf_open_gif",
1705                         "pdf_open_image",
1706                         "pdf_open_image_file",
1707                         "pdf_open_jpeg",
1708                         "pdf_open_memory_image",
1709                         "pdf_open_pdi",
1710                         "pdf_open_pdi_page",
1711                         "pdf_open_png",
1712                         "pdf_open_tiff",
1713                         "pdf_place_image",
1714                         "pdf_place_pdi_page",
1715                         "pdf_rect",
1716                         "pdf_restore",
1717                         "pdf_rotate",
1718                         "pdf_save",
1719                         "pdf_scale",
1720                         "pdf_set_border_color",
1721                         "pdf_set_border_dash",
1722                         "pdf_set_border_style",
1723                         "pdf_set_char_spacing",
1724                         "pdf_set_duration",
1725                         "pdf_set_font",
1726                         "pdf_set_horiz_scaling",
1727                         "pdf_set_info",
1728                         "pdf_set_info_author",
1729                         "pdf_set_info_creator",
1730                         "pdf_set_info_keywords",
1731                         "pdf_set_info_subject",
1732                         "pdf_set_info_title",
1733                         "pdf_set_leading",
1734                         "pdf_set_parameter",
1735                         "pdf_set_text_pos",
1736                         "pdf_set_text_rendering",
1737                         "pdf_set_text_rise",
1738                         "pdf_set_transition",
1739                         "pdf_set_value",
1740                         "pdf_set_word_spacing",
1741                         "pdf_setcolor",
1742                         "pdf_setdash",
1743                         "pdf_setflat",
1744                         "pdf_setfont",
1745                         "pdf_setgray",
1746                         "pdf_setgray_fill",
1747                         "pdf_setgray_stroke",
1748                         "pdf_setlinecap",
1749                         "pdf_setlinejoin",
1750                         "pdf_setlinewidth",
1751                         "pdf_setmatrix",
1752                         "pdf_setmiterlimit",
1753                         "pdf_setpolydash",
1754                         "pdf_setrgbcolor",
1755                         "pdf_setrgbcolor_fill",
1756                         "pdf_setrgbcolor_stroke",
1757                         "pdf_show",
1758                         "pdf_show_boxed",
1759                         "pdf_show_xy",
1760                         "pdf_skew",
1761                         "pdf_stringwidth",
1762                         "pdf_stroke",
1763                         "pdf_translate",
1764                         "pfpro_cleanup",
1765                         "pfpro_init",
1766                         "pfpro_process",
1767                         "pfpro_process_raw",
1768                         "pfpro_version",
1769                         "pfsockopen",
1770                         "pg_client_encoding",
1771                         "pg_clientencoding",
1772                         "pg_close",
1773                         "pg_cmdtuples",
1774                         "pg_connect",
1775                         "pg_dbname",
1776                         "pg_end_copy",
1777                         "pg_errormessage",
1778                         "pg_exec",
1779                         "pg_fetch_array",
1780                         "pg_fetch_object",
1781                         "pg_fetch_row",
1782                         "pg_fieldisnull",
1783                         "pg_fieldname",
1784                         "pg_fieldnum",
1785                         "pg_fieldprtlen",
1786                         "pg_fieldsize",
1787                         "pg_fieldtype",
1788                         "pg_freeresult",
1789                         "pg_getlastoid",
1790                         "pg_host",
1791                         "pg_loclose",
1792                         "pg_locreate",
1793                         "pg_loexport",
1794                         "pg_loimport",
1795                         "pg_loopen",
1796                         "pg_loread",
1797                         "pg_loreadall",
1798                         "pg_lounlink",
1799                         "pg_lowrite",
1800                         "pg_numfields",
1801                         "pg_numrows",
1802                         "pg_options",
1803                         "pg_pconnect",
1804                         "pg_port",
1805                         "pg_put_line",
1806                         "pg_result",
1807                         "pg_set_client_encoding",
1808                         "pg_setclientencoding",
1809                         "pg_trace",
1810                         "pg_tty",
1811                         "pg_untrace",
1812                         "php_logo_guid",
1813                         "php_sapi_name",
1814                         "php_uname",
1815                         "phpcredits",
1816                         "phpinfo",
1817                         "phpversion",
1818                         "pi",
1819                         "png2wbmp",
1820                         "popen",
1821                         "pos",
1822                         "posix_ctermid",
1823                         "posix_getcwd",
1824                         "posix_getegid",
1825                         "posix_geteuid",
1826                         "posix_getgid",
1827                         "posix_getgrgid",
1828                         "posix_getgrnam",
1829                         "posix_getgroups",
1830                         "posix_getlogin",
1831                         "posix_getpgid",
1832                         "posix_getpgrp",
1833                         "posix_getpid",
1834                         "posix_getppid",
1835                         "posix_getpwnam",
1836                         "posix_getpwuid",
1837                         "posix_getrlimit",
1838                         "posix_getsid",
1839                         "posix_getuid",
1840                         "posix_isatty",
1841                         "posix_kill",
1842                         "posix_mkfifo",
1843                         "posix_setegid",
1844                         "posix_seteuid",
1845                         "posix_setgid",
1846                         "posix_setpgid",
1847                         "posix_setsid",
1848                         "posix_setuid",
1849                         "posix_times",
1850                         "posix_ttyname",
1851                         "posix_uname",
1852                         "pow",
1853                         "preg_grep",
1854                         "preg_match",
1855                         "preg_match_all",
1856                         "preg_quote",
1857                         "preg_replace",
1858                         "preg_replace_callback",
1859                         "preg_split",
1860                         "prev",
1861                         "print_r",
1862                         "printer_abort",
1863                         "printer_close",
1864                         "printer_create_brush",
1865                         "printer_create_dc",
1866                         "printer_create_font",
1867                         "printer_create_pen",
1868                         "printer_delete_brush",
1869                         "printer_delete_dc",
1870                         "printer_delete_font",
1871                         "printer_delete_pen",
1872                         "printer_draw_bmp",
1873                         "printer_draw_chord",
1874                         "printer_draw_elipse",
1875                         "printer_draw_line",
1876                         "printer_draw_pie",
1877                         "printer_draw_rectangle",
1878                         "printer_draw_roundrect",
1879                         "printer_draw_text",
1880                         "printer_end_doc",
1881                         "printer_end_page",
1882                         "printer_get_option",
1883                         "printer_list",
1884                         "printer_logical_fontheight",
1885                         "printer_open",
1886                         "printer_select_brush",
1887                         "printer_select_font",
1888                         "printer_select_pen",
1889                         "printer_set_option",
1890                         "printer_start_doc",
1891                         "printer_start_page",
1892                         "printer_write",
1893                         "printf",
1894                         "pspell_add_to_personal",
1895                         "pspell_add_to_session",
1896                         "pspell_check",
1897                         "pspell_clear_session",
1898                         "pspell_config_create",
1899                         "pspell_config_ignore",
1900                         "pspell_config_mode",
1901                         "pspell_config_personal",
1902                         "pspell_config_repl",
1903                         "pspell_config_runtogether",
1904                         "pspell_config_save_repl",
1905                         "pspell_new",
1906                         "pspell_new_config",
1907                         "pspell_new_personal",
1908                         "pspell_save_wordlist",
1909                         "pspell_store_replacement",
1910                         "pspell_suggest",
1911                         "putenv",
1912                         "putenv",
1913                         "qdom_error",
1914                         "qdom_tree",
1915                         "quoted_printable_decode",
1916                         "quotemeta",
1917                         "rad2deg",
1918                         "rand",
1919                         "range",
1920                         "rawurldecode",
1921                         "rawurlencode",
1922                         "read",
1923                         "read_exif_data",
1924                         "readdir",
1925                         "readfile",
1926                         "readgzfile",
1927                         "readline",
1928                         "readline_add_history",
1929                         "readline_clear_history",
1930                         "readline_completion_function",
1931                         "readline_info",
1932                         "readline_list_history",
1933                         "readline_list_history",
1934                         "readline_read_history",
1935                         "readline_write_history",
1936                         "readlink",
1937                         "readlink",
1938                         "readv",
1939                         "realpath",
1940                         "realpath",
1941                         "recode",
1942                         "recode_file",
1943                         "recode_string",
1944                         "recv",
1945                         "recvfrom",
1946                         "recvmsg",
1947                         "register_shutdown_function",
1948                         "register_tick_function",
1949                         "remove",
1950                         "remove",
1951                         "rename",
1952                         "reset",
1953                         "restore_error_handler",
1954                         "rewind",
1955                         "rewinddir",
1956                         "rmdir",
1957                         "rotate",
1958                         "rotateto",
1959                         "rotateto",
1960                         "round",
1961                         "rsort",
1962                         "rtrim",
1963                         "satellite_caught_exception",
1964                         "satellite_exception_id",
1965                         "satellite_exception_value",
1966                         "satellite_get_repository_id",
1967                         "satellite_load_idl",
1968                         "save",
1969                         "savetofile",
1970                         "scale",
1971                         "scaleto",
1972                         "scaleto",
1973                         "select",
1974                         "sem_acquire",
1975                         "sem_get",
1976                         "sem_release",
1977                         "send",
1978                         "sendmsg",
1979                         "sendto",
1980                         "serialize",
1981                         "session_cache_limiter",
1982                         "session_decode",
1983                         "session_destroy",
1984                         "session_encode",
1985                         "session_get_cookie_params",
1986                         "session_id",
1987                         "session_is_registered",
1988                         "session_module_name",
1989                         "session_name",
1990                         "session_register",
1991                         "session_save_path",
1992                         "session_set_cookie_params",
1993                         "session_set_save_handler",
1994                         "session_start",
1995                         "session_unregister",
1996                         "session_unset",
1997                         "session_write_close",
1998                         "set_content",
1999                         "set_error_handler",
2000                         "set_file_buffer",
2001                         "set_iovec",
2002                         "set_magic_quotes_runtime",
2003                         "set_nonblock",
2004                         "set_socket_blocking",
2005                         "set_time_limit",
2006                         "setaction",
2007                         "setbackground",
2008                         "setbounds",
2009                         "setcolor",
2010                         "setcolor",
2011                         "setcookie",
2012                         "setdepth",
2013                         "setdimension",
2014                         "setdown",
2015                         "setfont",
2016                         "setfont",
2017                         "setframes",
2018                         "setframes",
2019                         "setheight",
2020                         "setheight",
2021                         "sethit",
2022                         "setindentation",
2023                         "setleftfill",
2024                         "setleftmargin",
2025                         "setline",
2026                         "setlinespacing",
2027                         "setlocale",
2028                         "setmargins",
2029                         "setmatrix",
2030                         "setname",
2031                         "setname",
2032                         "setover",
2033                         "setrate",
2034                         "setratio",
2035                         "setrightfill",
2036                         "setrightmargin",
2037                         "setsockopt",
2038                         "setspacing",
2039                         "settype",
2040                         "setup",
2041                         "shell_exec",
2042                         "shm_attach",
2043                         "shm_detach",
2044                         "shm_get_var",
2045                         "shm_put_var",
2046                         "shm_remove",
2047                         "shm_remove_var",
2048                         "shmop_close",
2049                         "shmop_delete",
2050                         "shmop_open",
2051                         "shmop_read",
2052                         "shmop_size",
2053                         "shmop_write",
2054                         "show_source",
2055                         "shuffle",
2056                         "shutdown",
2057                         "signal",
2058                         "similar_text",
2059                         "sin",
2060                         "sizeof",
2061                         "skewx",
2062                         "skewxto",
2063                         "skewxto",
2064                         "skewy",
2065                         "skewyto",
2066                         "skewyto",
2067                         "sleep",
2068                         "snmp_get_quick_print",
2069                         "snmp_set_quick_print",
2070                         "snmpget",
2071                         "snmpget",
2072                         "snmprealwalk",
2073                         "snmpset",
2074                         "snmpwalk",
2075                         "snmpwalk",
2076                         "snmpwalkoid",
2077                         "socket",
2078                         "socket_get_status",
2079                         "socket_set_blocking",
2080                         "socket_set_timeout",
2081                         "socket_set_timeout",
2082                         "socketpair",
2083                         "sort",
2084                         "soundex",
2085                         "split",
2086                         "spliti",
2087                         "sprintf",
2088                         "sql_regcase",
2089                         "sqrt",
2090                         "srand",
2091                         "sscanf",
2092                         "stat",
2093                         "str_pad",
2094                         "str_repeat",
2095                         "str_replace",
2096                         "strcasecmp",
2097                         "strchr",
2098                         "strcmp",
2099                         "strcoll",
2100                         "strcoll",
2101                         "strcspn",
2102                         "streammp3",
2103                         "strerror",
2104                         "strftime",
2105                         "strftime",
2106                         "strip_tags",
2107                         "stripcslashes",
2108                         "stripslashes",
2109                         "stristr",
2110                         "strlen",
2111                         "strnatcasecmp",
2112                         "strnatcmp",
2113                         "strncasecmp",
2114                         "strncmp",
2115                         "strpos",
2116                         "strrchr",
2117                         "strrev",
2118                         "strrpos",
2119                         "strspn",
2120                         "strstr",
2121                         "strtok",
2122                         "strtolower",
2123                         "strtotime",
2124                         "strtoupper",
2125                         "strtr",
2126                         "strval",
2127                         "substr",
2128                         "substr_count",
2129                         "substr_replace",
2130                         "swf_actiongeturl",
2131                         "swf_actiongotoframe",
2132                         "swf_actiongotolabel",
2133                         "swf_actionnextframe",
2134                         "swf_actionplay",
2135                         "swf_actionprevframe",
2136                         "swf_actionsettarget",
2137                         "swf_actionstop",
2138                         "swf_actiontogglequality",
2139                         "swf_actionwaitforframe",
2140                         "swf_addbuttonrecord",
2141                         "swf_addcolor",
2142                         "swf_closefile",
2143                         "swf_definebitmap",
2144                         "swf_definefont",
2145                         "swf_defineline",
2146                         "swf_definepoly",
2147                         "swf_definerect",
2148                         "swf_definetext",
2149                         "swf_endbutton",
2150                         "swf_enddoaction",
2151                         "swf_endshape",
2152                         "swf_endsymbol",
2153                         "swf_fontsize",
2154                         "swf_fontslant",
2155                         "swf_fonttracking",
2156                         "swf_getbitmapinfo",
2157                         "swf_getfontinfo",
2158                         "swf_getframe",
2159                         "swf_labelframe",
2160                         "swf_lookat",
2161                         "swf_modifyobject",
2162                         "swf_mulcolor",
2163                         "swf_nextid",
2164                         "swf_oncondition",
2165                         "swf_openfile",
2166                         "swf_ortho",
2167                         "swf_ortho2",
2168                         "swf_perspective",
2169                         "swf_placeobject",
2170                         "swf_polarview",
2171                         "swf_popmatrix",
2172                         "swf_posround",
2173                         "swf_pushmatrix",
2174                         "swf_removeobject",
2175                         "swf_rotate",
2176                         "swf_scale",
2177                         "swf_setfont",
2178                         "swf_setframe",
2179                         "swf_shapearc",
2180                         "swf_shapecurveto",
2181                         "swf_shapecurveto3",
2182                         "swf_shapefillbitmapclip",
2183                         "swf_shapefillbitmaptile",
2184                         "swf_shapefilloff",
2185                         "swf_shapefillsolid",
2186                         "swf_shapelinesolid",
2187                         "swf_shapelineto",
2188                         "swf_shapemoveto",
2189                         "swf_showframe",
2190                         "swf_startbutton",
2191                         "swf_startdoaction",
2192                         "swf_startshape",
2193                         "swf_startsymbol",
2194                         "swf_textwidth",
2195                         "swf_translate",
2196                         "swf_viewport",
2197                         "swfaction",
2198                         "swfbitmap",
2199                         "swfbutton",
2200                         "swfbutton_keypress",
2201                         "swffill",
2202                         "swffont",
2203                         "swfgradient",
2204                         "swfmorph",
2205                         "swfmovie",
2206                         "swfshape",
2207                         "swfsprite",
2208                         "swftext",
2209                         "swftextfield",
2210                         "sybase_affected_rows",
2211                         "sybase_affected_rows",
2212                         "sybase_close",
2213                         "sybase_close",
2214                         "sybase_connect",
2215                         "sybase_connect",
2216                         "sybase_data_seek",
2217                         "sybase_data_seek",
2218                         "sybase_fetch_array",
2219                         "sybase_fetch_array",
2220                         "sybase_fetch_field",
2221                         "sybase_fetch_field",
2222                         "sybase_fetch_object",
2223                         "sybase_fetch_object",
2224                         "sybase_fetch_row",
2225                         "sybase_fetch_row",
2226                         "sybase_field_seek",
2227                         "sybase_field_seek",
2228                         "sybase_free_result",
2229                         "sybase_free_result",
2230                         "sybase_get_last_message",
2231                         "sybase_get_last_message",
2232                         "sybase_min_client_severity",
2233                         "sybase_min_error_severity",
2234                         "sybase_min_message_severity",
2235                         "sybase_min_server_severity",
2236                         "sybase_num_fields",
2237                         "sybase_num_fields",
2238                         "sybase_num_rows",
2239                         "sybase_num_rows",
2240                         "sybase_pconnect",
2241                         "sybase_pconnect",
2242                         "sybase_query",
2243                         "sybase_query",
2244                         "sybase_result",
2245                         "sybase_result",
2246                         "sybase_select_db",
2247                         "sybase_select_db",
2248                         "symlink",
2249                         "symlink",
2250                         "syslog",
2251                         "system",
2252                         "tan",
2253                         "tempnam",
2254                         "textdomain",
2255                         "time",
2256                         "tmpfile",
2257                         "touch",
2258                         "trigger_error",
2259                         "trim",
2260                         "uasort",
2261                         "ucfirst",
2262                         "ucwords",
2263                         "udm_add_search_limit",
2264                         "udm_alloc_agent",
2265                         "udm_api_version",
2266                         "udm_clear_search_limits",
2267                         "udm_errno",
2268                         "udm_error",
2269                         "udm_find",
2270                         "udm_free_agent",
2271                         "udm_free_ispell_data",
2272                         "udm_free_res",
2273                         "udm_get_doc_count",
2274                         "udm_get_res_field",
2275                         "udm_get_res_param",
2276                         "udm_load_ispell_data",
2277                         "udm_set_agent_param",
2278                         "uksort",
2279                         "umask",
2280                         "uniqid",
2281                         "uniqid",
2282                         "unixtojd",
2283                         "unlink",
2284                         "unpack",
2285                         "unregister_tick_function",
2286                         "unserialize",
2287                         "urldecode",
2288                         "urlencode",
2289                         "user_error",
2290                         "usleep",
2291                         "usort",
2292                         "utf8_decode",
2293                         "utf8_encode",
2294                         "var_dump",
2295                         "velocis_autocommit",
2296                         "velocis_close",
2297                         "velocis_commit",
2298                         "velocis_connect",
2299                         "velocis_exec",
2300                         "velocis_fetch",
2301                         "velocis_fieldname",
2302                         "velocis_fieldnum",
2303                         "velocis_freeresult",
2304                         "velocis_off_autocommit",
2305                         "velocis_result",
2306                         "velocis_rollback",
2307                         "virtual",
2308                         "vpopmail_add_alias_domain",
2309                         "vpopmail_add_alias_domain_ex",
2310                         "vpopmail_add_domain",
2311                         "vpopmail_add_domain_ex",
2312                         "vpopmail_add_user",
2313                         "vpopmail_auth_user",
2314                         "vpopmail_del_domain",
2315                         "vpopmail_del_domain_ex",
2316                         "vpopmail_del_user",
2317                         "vpopmail_error",
2318                         "vpopmail_passwd",
2319                         "vpopmail_set_user_quota",
2320                         "wddx_add_vars",
2321                         "wddx_deserialize",
2322                         "wddx_packet_end",
2323                         "wddx_packet_start",
2324                         "wddx_serialize_value",
2325                         "wddx_serialize_vars",
2326                         "wordwrap",
2327                         "write",
2328                         "writev",
2329                         "xml_error_string",
2330                         "xml_get_current_byte_index",
2331                         "xml_get_current_column_number",
2332                         "xml_get_current_line_number",
2333                         "xml_get_error_code",
2334                         "xml_parse",
2335                         "xml_parse_into_struct",
2336                         "xml_parser_create",
2337                         "xml_parser_create_ns",
2338                         "xml_parser_free",
2339                         "xml_parser_get_option",
2340                         "xml_parser_set_option",
2341                         "xml_set_character_data_handler",
2342                         "xml_set_default_handler",
2343                         "xml_set_element_handler",
2344                         "xml_set_end_namespace_decl_handler",
2345                         "xml_set_external_entity_ref_handler",
2346                         "xml_set_notation_decl_handler",
2347                         "xml_set_object",
2348                         "xml_set_processing_instruction_handler",
2349                         "xml_set_start_namespace_decl_handler",
2350                         "xml_set_unparsed_entity_decl_handler",
2351                         "xmldoc",
2352                         "xmldocfile",
2353                         "xmltree",
2354                         "xpath_eval",
2355                         "xpath_eval_expression",
2356                         "xptr_eval",
2357                         "xslt_closelog",
2358                         "xslt_create",
2359                         "xslt_errno",
2360                         "xslt_error",
2361                         "xslt_fetch_result",
2362                         "xslt_free",
2363                         "xslt_openlog",
2364                         "xslt_output_begintransform",
2365                         "xslt_output_endtransform",
2366                         "xslt_process",
2367                         "xslt_run",
2368                         "xslt_set_base",
2369                         "xslt_set_encoding",
2370                         "xslt_set_error_handler",
2371                         "xslt_set_sax_handler",
2372                         "xslt_set_scheme_handler",
2373                         "xslt_transform",
2374                         "yaz_addinfo",
2375                         "yaz_ccl_conf",
2376                         "yaz_ccl_parse",
2377                         "yaz_close",
2378                         "yaz_connect",
2379                         "yaz_database",
2380                         "yaz_element",
2381                         "yaz_errno",
2382                         "yaz_error",
2383                         "yaz_hits",
2384                         "yaz_itemorder",
2385                         "yaz_present",
2386                         "yaz_range",
2387                         "yaz_record",
2388                         "yaz_scan",
2389                         "yaz_scan_result",
2390                         "yaz_search",
2391                         "yaz_syntax",
2392                         "yaz_wait",
2393                         "yp_all",
2394                         "yp_cat",
2395                         "yp_err_string",
2396                         "yp_errno",
2397                         "yp_first",
2398                         "yp_get_default_domain",
2399                         "yp_master",
2400                         "yp_match",
2401                         "yp_next",
2402                         "yp_order",
2403                         "zend_logo_guid",
2404                         "zend_test_func",
2405                         "zend_version",
2406                         "zzip_close",
2407                         "zzip_closedir",
2408                         "zzip_entry_compressedsize",
2409                         "zzip_entry_compressionmethod",
2410                         "zzip_entry_filesize",
2411                         "zzip_entry_name",
2412                         "zzip_open",
2413                         "zzip_opendir",
2414                         "zzip_read",
2415                         "zzip_readdir" };
2416
2417   private IToken variable;
2418   
2419         private class PHPWordRule extends WordRule {
2420     private StringBuffer fBuffer= new StringBuffer();
2421
2422                 public PHPWordRule(IWordDetector detector) {
2423                         super(detector, Token.UNDEFINED);
2424                 }
2425
2426                 public PHPWordRule(IWordDetector detector, IToken defaultToken) {
2427                         super(detector, defaultToken);
2428                 }
2429
2430                 public IToken evaluate(ICharacterScanner scanner) {
2431                         int c = scanner.read();
2432       boolean isVariable = false;
2433                         if (fDetector.isWordStart((char) c)) {
2434         if (c=='$') {
2435           isVariable = true;
2436         }
2437                                 if (fColumn == UNDEFINED || (fColumn == scanner.getColumn() - 1)) {
2438
2439                                         fBuffer.setLength(0);
2440                                         do {
2441                                                 fBuffer.append((char) c);
2442                                                 c = scanner.read();
2443                                         } while (c != scanner.EOF && fDetector.isWordPart((char) c));
2444                                         scanner.unread();
2445
2446           if (isVariable) {
2447             return variable;
2448           }
2449                                         IToken token = (IToken) fWords.get(fBuffer.toString());
2450                                         if (token != null)
2451                                                 return token;
2452
2453                                         if (fDefaultToken.isUndefined())
2454                                                 unreadBuffer(scanner);
2455
2456                                         return fDefaultToken;
2457                                 }
2458                         }
2459
2460                         scanner.unread();
2461                         return Token.UNDEFINED;
2462                 }
2463         }
2464
2465         private static String[] fgConstants = { "__LINE__", "__FILE__", "true", "false" };
2466         private TextAttribute fComment;
2467         private TextAttribute fKeyword;
2468         private TextAttribute fType;
2469         private TextAttribute fString;
2470         private PHPColorProvider fColorProvider;
2471
2472         /**
2473          * Creates a Java code scanner
2474          */
2475         public PHPCodeScanner(PHPColorProvider provider) {
2476
2477                 IToken keyword = new Token(new TextAttribute(provider.getColor(PHPColorProvider.KEYWORD)));
2478                 IToken type = new Token(new TextAttribute(provider.getColor(PHPColorProvider.TYPE)));
2479                 IToken string = new Token(new TextAttribute(provider.getColor(PHPColorProvider.STRING)));
2480                 IToken comment = new Token(new TextAttribute(provider.getColor(PHPColorProvider.SINGLE_LINE_COMMENT)));
2481                 IToken multi_comment = new Token(new TextAttribute(provider.getColor(PHPColorProvider.MULTI_LINE_COMMENT)));
2482                 IToken other = new Token(new TextAttribute(provider.getColor(PHPColorProvider.DEFAULT)));
2483
2484     variable = new Token(new TextAttribute(provider.getColor(PHPColorProvider.VARIABLE)));
2485
2486     
2487                 List rules = new ArrayList();
2488
2489                 // Add rule for single line comments.
2490                 rules.add(new EndOfLineRule("//", comment)); //$NON-NLS-1$
2491                 //    EndOfLineRule endOfLine = new EndOfLineRule("#", comment);
2492                 //    endOfLine.setColumnConstraint(0);
2493                 rules.add(new EndOfLineRule("#", comment));
2494
2495                 // Add rule for strings and character constants.
2496                 rules.add(new SingleLineRule("\"", "\"", string, '\\')); //$NON-NLS-2$ //$NON-NLS-1$
2497                 rules.add(new SingleLineRule("'", "'", string, '\\')); //$NON-NLS-2$ //$NON-NLS-1$
2498
2499                 // rules.add(new SingleLineRule("//", "//", php_comment));
2500                 rules.add(new MultiLineRule("/*", "*/", multi_comment));
2501
2502                 // Add generic whitespace rule.
2503                 rules.add(new WhitespaceRule(new PHPWhitespaceDetector()));
2504
2505                 // Add word rule for keywords, types, and constants.
2506                 PHPWordRule wordRule = new PHPWordRule(new PHPWordDetector(), other);
2507                 for (int i = 0; i < fgKeywords.length; i++)
2508                         wordRule.addWord(fgKeywords[i], keyword);
2509                 for (int i = 0; i < fgFunctionNames.length; i++)
2510                         wordRule.addWord(fgFunctionNames[i], type);
2511                 for (int i = 0; i < fgConstants.length; i++)
2512                         wordRule.addWord(fgConstants[i], type);
2513                 rules.add(wordRule);
2514
2515                 IRule[] result = new IRule[rules.size()];
2516                 rules.toArray(result);
2517                 setRules(result);
2518         }
2519 }