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