-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPHP.STX
More file actions
1489 lines (1308 loc) · 19.6 KB
/
PHP.STX
File metadata and controls
1489 lines (1308 loc) · 19.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#TITLE=PHP
; PHP syntax file written by ES-Computing.
; This file is required for EditPlus to run correctly.
#DELIMITER=,(){}[]-+*%/\="'~!&|<>?:;.#@$
#QUOTATION1='
#QUOTATION2="
#CONTINUE_QUOTE=y
#LINECOMMENT=//
#LINECOMMENT2=#
#COMMENTON=/*
#COMMENTOFF=*/
#NESTED_COMMENT=y
#ESCAPE=\
#CASE=n
#PREFIX3=$
#PREFIX4=\
#HTML_EMBEDDED=y
#SCRIPT_BEGIN=<?
#SCRIPT_END=?>
#SKIP_QUOTE=y
#HEREDOC=<<<EOT
#NUMBER_PATTERN=cpp
#KEYWORD=Reserved words
$
@
\
;Literals
true
false
NULL
;PHP Keywords
__CLASS__
__FILE__
__FUNCTION__
__LINE__
__METHOD__
abstract
and
array
as
break
case
catch
cfunction
class
clone
const
continue
declare
default
die
do
echo
else
elseif
empty
enddeclare
endfor
endforeach
endif
endswitch
endwhile
eval
exception
exit
extends
final
for
foreach
function
global
if
implements
include
include_once
interface
isset
list
new
old_function
or
php_user_filter
print
private
protected
public
require
require_once
return
static
switch
this
throw
try
unset
use
var
while
xor
;Predefined constants
ABDAY_1
ABDAY_2
ABDAY_3
ABDAY_4
ABDAY_5
ABDAY_6
ABDAY_7
ABMON_1
ABMON_10
ABMON_11
ABMON_12
ABMON_2
ABMON_3
ABMON_4
ABMON_5
ABMON_6
ABMON_7
ABMON_8
ABMON_9
ALT_DIGITS
AM_STR
ASSERT_ACTIVE
ASSERT_BAIL
ASSERT_CALLBACK
ASSERT_QUIET_EVAL
ASSERT_WARNING
CASE_LOWER
CASE_UPPER
CHAR_MAX
CODESET
CONNECTION_ABORTED
CONNECTION_NORMAL
CONNECTION_TIMEOUT
COUNT_NORMAL
COUNT_RECURSIVE
CREDITS_ALL
CREDITS_DOCS
CREDITS_FULLPAGE
CREDITS_GENERAL
CREDITS_GROUP
CREDITS_MODULES
CREDITS_QA
CREDITS_SAPI
CRNCYSTR
CRYPT_BLOWFISH
CRYPT_EXT_DES
CRYPT_MD5
CRYPT_SALT_LENGTH
CRYPT_STD_DES
CURRENCY_SYMBOL
DAY_1
DAY_2
DAY_3
DAY_4
DAY_5
DAY_6
DAY_7
DECIMAL_POINT
DEFAULT_INCLUDE_PATH
DIRECTORY_SEPARATOR
D_FMT
D_T_FMT
ENT_COMPAT
ENT_NOQUOTES
ENT_QUOTES
ERA
ERA_D_FMT
ERA_D_T_FMT
ERA_T_FMT
ERA_YEAR
EXTR_IF_EXISTS
EXTR_OVERWRITE
EXTR_PREFIX_ALL
EXTR_PREFIX_IF_EXISTS
EXTR_PREFIX_INVALID
EXTR_PREFIX_SAME
EXTR_SKIP
E_ALL
E_COMPILE_ERROR
E_COMPILE_WARNING
E_CORE_ERROR
E_CORE_WARNING
E_ERROR
E_NOTICE
E_PARSE
E_STRICT
E_USER_ERROR
E_USER_NOTICE
E_USER_WARNING
E_WARNING
FRAC_DIGITS
GROUPING
HTML_ENTITIES
HTML_SPECIALCHARS
INFO_ALL
INFO_CONFIGURATION
INFO_CREDITS
INFO_ENVIRONMENT
INFO_GENERAL
INFO_LICENSE
INFO_MODULES
INFO_VARIABLES
INI_ALL
INI_PERDIR
INI_SYSTEM
INI_USER
INT_CURR_SYMBOL
INT_FRAC_DIGITS
LC_ALL
LC_COLLATE
LC_CTYPE
LC_MESSAGES
LC_MONETARY
LC_NUMERIC
LC_TIME
LOCK_EX
LOCK_NB
LOCK_SH
LOCK_UN
LOG_ALERT
LOG_AUTH
LOG_AUTHPRIV
LOG_CONS
LOG_CRIT
LOG_CRON
LOG_DAEMON
LOG_DEBUG
LOG_EMERG
LOG_ERR
LOG_INFO
LOG_KERN
LOG_LOCAL0
LOG_LOCAL1
LOG_LOCAL2
LOG_LOCAL3
LOG_LOCAL4
LOG_LOCAL5
LOG_LOCAL6
LOG_LOCAL7
LOG_LPR
LOG_MAIL
LOG_NDELAY
LOG_NEWS
LOG_NOTICE
LOG_NOWAIT
LOG_ODELAY
LOG_PERROR
LOG_PID
LOG_SYSLOG
LOG_USER
LOG_UUCP
LOG_WARNING
MON_1
MON_10
MON_11
MON_12
MON_2
MON_3
MON_4
MON_5
MON_6
MON_7
MON_8
MON_9
MON_DECIMAL_POINT
MON_GROUPING
MON_THOUSANDS_SEP
M_1_PI
M_2_PI
M_2_SQRTPI
M_E
M_LN10
M_LN2
M_LOG10E
M_LOG2E
M_PI
M_PI_2
M_PI_4
M_SQRT1_2
M_SQRT2
NEGATIVE_SIGN
NOEXPR
NOSTR
N_CS_PRECEDES
N_SEP_BY_SPACE
N_SIGN_POSN
PATHINFO_BASENAME
PATHINFO_DIRNAME
PATHINFO_EXTENSION
PATH_SEPARATOR
PEAR_EXTENSION_DIR
PEAR_INSTALL_DIR
PHP_BINDIR
PHP_CONFIG_FILE_PATH
PHP_CONFIG_FILE_SCAN_DIR
PHP_DATADIR
PHP_EOL
PHP_EXTENSION_DIR
PHP_INT_MAX
PHP_INT_SIZE
PHP_LIBDIR
PHP_LOCALSTATEDIR
PHP_OS
PHP_OUTPUT_HANDLER_CONT
PHP_OUTPUT_HANDLER_END
PHP_OUTPUT_HANDLER_START
PHP_PREFIX
PHP_SAPI
PHP_SHLIB_SUFFIX
PHP_SYSCONFDIR
PHP_VERSION
PM_STR
POSITIVE_SIGN
P_CS_PRECEDES
P_SEP_BY_SPACE
P_SIGN_POSN
RADIXCHAR
SEEK_CUR
SEEK_END
SEEK_SET
SORT_ASC
SORT_DESC
SORT_NUMERIC
SORT_REGULAR
SORT_STRING
STR_PAD_BOTH
STR_PAD_LEFT
STR_PAD_RIGHT
THOUSANDS_SEP
THOUSEP
T_FMT
T_FMT_AMPM
YESEXPR
YESSTR
__COMPILER_HALT_OFFSET__
#KEYWORD=PHP core functions
;NET Functions
;Apache-specific Functions
apache_child_terminate
apache_get_modules
apache_get_version
apache_getenv
apache_lookup_uri
apache_note
apache_request_headers
apache_reset_timeout
apache_response_headers
apache_setenv
ascii2ebcdic
ebcdic2ascii
getallheaders
virtual
;Alternative PHP Cache
;Advanced PHP debugger
;Array Functions
array_change_key_case
array_chunk
array_combine
array_count_values
array_diff_assoc
array_diff_key
array_diff_uassoc
array_diff_ukey
array_diff
array_fill
array_filter
array_flip
array_intersect_assoc
array_intersect_key
array_intersect_uassoc
array_intersect_ukey
array_intersect
array_key_exists
array_keys
array_map
array_merge_recursive
array_merge
array_multisort
array_pad
array_pop
array_product
array_push
array_rand
array_reduce
array_reverse
array_search
array_shift
array_slice
array_splice
array_sum
array_udiff_assoc
array_udiff_uassoc
array_udiff
array_uintersect_assoc
array_uintersect_uassoc
array_uintersect
array_unique
array_unshift
array_values
array_walk_recursive
array_walk
array
arsort
asort
compact
count
current
each
end
extract
in_array
key
krsort
ksort
list
natcasesort
natsort
next
pos
prev
range
reset
rsort
shuffle
sizeof
sort
uasort
uksort
usort
;Aspell functions (depreciated)
;BCMath Arbitrary Precision Mathematics Functions
;PHP bytecode Compiler
;Bzip2 Compression Functions
;Calendar functions
;CCVS API Functions (removed as of 4.3.0)
;Class/Object Functions
call_user_method_array
call_user_method
class_exists
get_class_methods
get_class_vars
get_class
get_declared_classes
get_declared_interfaces
get_object_vars
get_parent_class
interface_exists
is_a
is_subclass_of
method_exists
property_exists
;Classkit Functions
;ClibPDF functions
;COM and .Net (Windows)
COM
DOTNET
VARIANT
com_addref
com_create_guid
com_event_sink
com_get_active_object
com_get
com_invoke
com_isenum
com_load_typelib
com_load
com_message_pump
com_print_typeinfo
com_propget
com_propput
com_propset
com_release
com_set
variant_abs
variant_add
variant_and
variant_cast
variant_cat
variant_cmp
variant_date_from_timestamp
variant_date_to_timestamp
variant_div
variant_eqv
variant_fix
variant_get_type
variant_idiv
variant_imp
variant_int
variant_mod
variant_mul
variant_neg
variant_not
variant_or
variant_pow
variant_round
variant_set_type
variant_set
variant_sub
variant_xor
;Crack functions
;Character type functions
ctype_alnum
ctype_alpha
ctype_cntrl
ctype_digit
ctype_graph
ctype_lower
ctype_print
ctype_punct
ctype_space
ctype_upper
ctype_xdigit
;CURL, Client URL Library Functions
;Cybercash payment functions (removed as of PHP 4.3.0)
;Credit Mutuel CyberMUT functions
;Cyrus IMAP administration functions (not documented)
;Date and Time functions
checkdate
date_default_timezone_get
date_default_timezone_set
date_sunrise
date_sunset
date
getdate
gettimeofday
gmdate
gmmktime
gmstrftime
idate
localtime
microtime
mktime
strftime
strptime
strtotime
time
;DB++ Functions
;Database (dbm-style) abstraction layer functions
;dBase functions
;DBM Functions (depreciated)
;dbx functions
;Direct IO functions
;Directory functions
chdir
chroot
dir
closedir
getcwd
opendir
readdir
rewinddir
scandir
;DOM functions
dom_import_simplexml
DOMAttr
DOMCharacterData
DOMComment
DOMDocument
DOMElement
DOMEntityReference
DOMImplementation
DOMNamedNodeMap
DOMNode
DOMNodelist
DOMProcessingInstruction
DOMText
DOMXPath
;DOM XML Functions
;Error Handling and Logging Functions
debug_backtrace
debug_print_backtrace
error_log
error_reporting
restore_error_handler
restore_exception_handler
set_error_handler
set_exception_handler
trigger_error
user_error
;Exif Functions
;Expect Functions
;File alteration monitor functions
;FrontBase Functions
;Forms Data Format functions
;filePro functions
;Filesystem functions
basename
chgrp
chmod
chown
clearstatcache
copy
delete
dirname
disk_free_space
disk_total_space
diskfreespace
fclose
feof
fflush
fgetc
fgetcsv
fgets
fgetss
file_exists
file_get_contents
file_put_contents
file
fileatime
filectime
filegroup
fileinode
filemtime
fileowner
fileperms
filesize
filetype
flock
fnmatch
fopen
fpassthru
fputcsv
fputs
fread
fscanf
fseek
fstat
ftell
ftruncate
fwrite
glob
is_dir
is_executable
is_file
is_link
is_readable
is_uploaded_file
is_writable
is_writeable
link
linkinfo
lstat
mkdir
move_uploaded_file
parse_ini_file
pathinfo
pclose
popen
readfile
readlink
realpath
rename
rewind
rmdir
set_file_buffer
stat
symlink
tempnam
tmpfile
touch
umask
unlink
;Firebird/InterBase Functions
;Firebird/Interbase Functions (PDO_FIREBIRD)
;FriBiDi functions
;FrontBase Functions
;FTP functions
;Function Handling functions
call_user_func_array
call_user_func
create_function
func_get_arg
func_get_args
func_num_args
function_exists
get_defined_functions
register_shutdown_function
register_tick_function
unregister_tick_function
;GNU Gettext
;GMP functions
;gnupg Functions
;Net_Gopher
;hash Functions
hash_algos
hash_file
hash_final
hash_hmac_file
hash_hmac
hash_init
hash_update_file
hash_update_stream
hash_update
hash
;HTTP functions
header
headers_list
headers_sent
setcookie
setrawcookie
;Hyperwave functions
;Hyperwave API functions
;IBM DB2, Cloudscape and Apache Derby Functions
;ICAP Functions [deprecated]
;iconv functions
;ID3 Functions
;IIS Administration Functions
iis_add_server
iis_get_dir_security
iis_get_script_map
iis_get_server_by_comment
iis_get_server_by_path
iis_get_server_rights
iis_get_service_state
iis_remove_server
iis_set_app_settings
iis_set_dir_security
iis_set_script_map
iis_set_server_rights
iis_start_server
iis_start_service
iis_stop_server
iis_stop_service
;Image functions
;IMAP, POP3 and NNTP functions
;Informix functions
;Informix Functions (PDO_INFORMIX)
;Ingres II functions
;IRC Gateway Functions
;PHP / Java Integration
;KADM5
;LDAP functions
;libxml Functions
;Lotus Notes Functions
;LZF Functions
;Mail functions
ezmlm_hash
mail
;mailparse functions
;Mathematical Functions
abs
acos
acosh
asin
asinh
atan2
atan
atanh
base_convert
bindec
ceil
cos
cosh
decbin
dechex
decoct
deg2rad
exp
expm1
floor
fmod
getrandmax
hexdec
hypot
is_finite
is_infinite
is_nan
lcg_value
log10
log1p
log
max
min
mt_getrandmax
mt_rand
mt_srand
octdec
pi
pow
rad2deg
rand
round
sin
sinh
sqrt
srand
tan
tanh
;MaxDB PHP Extension
;MCAL Functions
;Mcrypt Encryption Functions
;MCVE (Monetra) Payment Functions
;Memcache Functions
;Mhash Functions
;Mimetype Functions
;Ming functions for Flash
;Miscellaneous Functions
connection_aborted
connection_status
connection_timeout
constant
define
defined
die
eval
exit
get_browser
__halt_compiler
highlight_file
highlight_string
ignore_user_abort
pack
php_check_syntax
php_strip_whitespace
show_source
sleep
sys_getloadavg
time_nanosleep
time_sleep_until
uniqid
unpack
usleep
;mnoGoSearch Functions
;Microsoft SQL Server Functions
;Microsoft SQL Server and Sybase Functions (PDO_DBLIB)
;Mohawk Software Session Handler Functions
;mSQL Functions
;Multibyte String Functions
;muscat Functions
;MySQL functions
;MySQL Functions (PDO_MYSQL)
;MySQL Improved Extension
;Ncurses terminal screen control functions
;Network Functions
checkdnsrr
closelog
debugger_off
debugger_on
define_syslog_variables
dns_check_record
dns_get_mx
dns_get_record
fsockopen
gethostbyaddr
gethostbyname
gethostbynamel
getmxrr
getprotobyname
getprotobynumber
getservbyname
getservbyport
inet_ntop
inet_pton
ip2long
long2ip
openlog
pfsockopen
socket_get_status
socket_set_blocking
socket_set_timeout
syslog
;Newt Functions
;NSAPI-specific Functions
nsapi_request_headers
nsapi_response_headers
nsapi_virtual
;Object Aggregation/Composition Functions
;Object property and method call overloading
;Oracle functions
;ODBC Functions (Unified)
;ODBC and DB2 Functions (PDO_ODBC)
;oggvorbis
;OpenAL Audio Bindings
;OpenSSL functions
;Oracle Functions [deprecated]
;Oracle Functions (PDO_OCI)
;Output Control Functions
flush
ob_clean
ob_end_clean
ob_end_flush
ob_flush
ob_get_clean
ob_get_contents
ob_get_flush
ob_get_length
ob_get_level
ob_get_status
ob_gzhandler
ob_implicit_flush