@@ -422,9 +422,6 @@ static const func_info_t func_infos[] = {
422
422
F1 ("get_browser" , MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_OBJECT | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_ANY ),
423
423
F1 ("crypt" , MAY_BE_STRING ),
424
424
FN ("opendir" , MAY_BE_FALSE | MAY_BE_RESOURCE ),
425
- #if defined(HAVE_CHROOT ) && !defined (ZTS ) && ENABLE_CHROOT_FUNC
426
- F0 ("chroot" , MAY_BE_FALSE | MAY_BE_TRUE ),
427
- #endif
428
425
F1 ("getcwd" , MAY_BE_FALSE | MAY_BE_STRING ),
429
426
F1 ("readdir" , MAY_BE_FALSE | MAY_BE_STRING ),
430
427
F1 ("dir" , MAY_BE_FALSE | MAY_BE_OBJECT ),
@@ -435,7 +432,6 @@ static const func_info_t func_infos[] = {
435
432
F1 ("filetype" , MAY_BE_FALSE | MAY_BE_STRING ),
436
433
F1 ("stat" , MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_FALSE | MAY_BE_ARRAY_OF_TRUE | MAY_BE_ARRAY_OF_LONG | MAY_BE_ARRAY_OF_STRING ),
437
434
F1 ("lstat" , MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_FALSE | MAY_BE_ARRAY_OF_TRUE | MAY_BE_ARRAY_OF_LONG | MAY_BE_ARRAY_OF_STRING ),
438
- F0 ("realpath_cache_size" , MAY_BE_LONG ),
439
435
F1 ("realpath_cache_get" , MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_ARRAY ),
440
436
#ifdef HAVE_SYSLOG_H
441
437
F0 ("syslog" , MAY_BE_TRUE ),
@@ -566,7 +562,6 @@ static const func_info_t func_infos[] = {
566
562
F1 ("date_sun_info" , MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_FALSE | MAY_BE_ARRAY_OF_TRUE | MAY_BE_ARRAY_OF_LONG ),
567
563
568
564
/* ext/preg */
569
- F0 ("preg_match_all" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_LONG ),
570
565
FN ("preg_replace" , MAY_BE_NULL | MAY_BE_STRING | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_STRING ),
571
566
FN ("preg_replace_callback" , MAY_BE_NULL | MAY_BE_STRING | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_STRING ),
572
567
F1 ("preg_filter" , MAY_BE_NULL | MAY_BE_STRING | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_STRING ),
@@ -736,10 +731,7 @@ static const func_info_t func_infos[] = {
736
731
/* ext/iconv */
737
732
F1 ("iconv" , MAY_BE_FALSE | MAY_BE_STRING ),
738
733
F1 ("iconv_get_encoding" , MAY_BE_FALSE | MAY_BE_STRING | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_STRING ),
739
- F0 ("iconv_strlen" , MAY_BE_FALSE | MAY_BE_LONG ),
740
734
F1 ("iconv_substr" , MAY_BE_FALSE | MAY_BE_STRING ),
741
- F0 ("iconv_strpos" , MAY_BE_FALSE | MAY_BE_LONG ),
742
- F0 ("iconv_strrpos" , MAY_BE_FALSE | MAY_BE_LONG ),
743
735
F1 ("iconv_mime_encode" , MAY_BE_FALSE | MAY_BE_STRING ),
744
736
F1 ("iconv_mime_decode" , MAY_BE_FALSE | MAY_BE_STRING ),
745
737
F1 ("iconv_mime_decode_headers" , MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_STRING | MAY_BE_ARRAY_OF_ARRAY ),
@@ -1016,61 +1008,49 @@ static const func_info_t func_infos[] = {
1016
1008
1017
1009
/* ext/gd */
1018
1010
F1 ("gd_info" , MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_STRING | MAY_BE_ARRAY_OF_FALSE | MAY_BE_ARRAY_OF_TRUE ),
1019
- F0 ("imageloadfont" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_LONG ),
1020
- F1 ("imagecreatetruecolor" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_RESOURCE ),
1021
- F0 ("imagecolorallocatealpha" , MAY_BE_FALSE | MAY_BE_LONG ),
1022
- F0 ("imagecolorresolvealpha" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_LONG ),
1023
- F0 ("imagecolorclosestalpha" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_LONG ),
1024
- F0 ("imagecolorexactalpha" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_LONG ),
1011
+ F1 ("imagecreatetruecolor" , MAY_BE_FALSE | MAY_BE_OBJECT ),
1025
1012
#ifdef PHP_WIN32
1026
- F1 ("imagegrabwindow" , MAY_BE_FALSE | MAY_BE_RESOURCE ),
1027
- F1 ("imagegrabscreen" , MAY_BE_FALSE | MAY_BE_RESOURCE ),
1013
+ F1 ("imagegrabwindow" , MAY_BE_FALSE | MAY_BE_OBJECT ),
1014
+ F1 ("imagegrabscreen" , MAY_BE_FALSE | MAY_BE_OBJECT ),
1028
1015
#endif
1029
- F1 ("imagerotate" , MAY_BE_FALSE | MAY_BE_RESOURCE ),
1030
- F1 ("imagecreate" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_RESOURCE ),
1031
- F1 ("imagecreatefromstring" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_RESOURCE ),
1032
- F1 ("imagecreatefromgif" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_RESOURCE ),
1016
+ F1 ("imagerotate" , MAY_BE_FALSE | MAY_BE_OBJECT ),
1017
+ F1 ("imagecreate" , MAY_BE_FALSE | MAY_BE_OBJECT ),
1018
+ F1 ("imagecreatefromstring" , MAY_BE_FALSE | MAY_BE_OBJECT ),
1019
+ F1 ("imagecreatefromgif" , MAY_BE_FALSE | MAY_BE_OBJECT ),
1033
1020
#ifdef HAVE_GD_JPG
1034
- F1 ("imagecreatefromjpeg" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_RESOURCE ),
1021
+ F1 ("imagecreatefromjpeg" , MAY_BE_FALSE | MAY_BE_OBJECT ),
1035
1022
#endif
1036
1023
#ifdef HAVE_GD_PNG
1037
- F1 ("imagecreatefrompng" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_RESOURCE ),
1024
+ F1 ("imagecreatefrompng" , MAY_BE_FALSE | MAY_BE_OBJECT ),
1038
1025
#endif
1039
1026
#ifdef HAVE_GD_WEBP
1040
- F1 ("imagecreatefromwebp" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_RESOURCE ),
1041
- F0 ("imagewebp" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE ),
1027
+ F1 ("imagecreatefromwebp" , MAY_BE_FALSE | MAY_BE_OBJECT ),
1042
1028
#endif
1043
- F1 ("imagecreatefromxbm" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_RESOURCE ),
1029
+ F1 ("imagecreatefromxbm" , MAY_BE_FALSE | MAY_BE_OBJECT ),
1044
1030
#if defined(HAVE_GD_XPM )
1045
- F1 ("imagecreatefromxpm" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_RESOURCE ),
1031
+ F1 ("imagecreatefromxpm" , MAY_BE_FALSE | MAY_BE_OBJECT ),
1046
1032
#endif
1047
- F1 ("imagecreatefromwbmp" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_RESOURCE ),
1048
- F1 ("imagecreatefromgd" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_RESOURCE ),
1049
- F1 ("imagecreatefromgd2" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_RESOURCE ),
1050
- F1 ("imagecreatefromgd2part" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_RESOURCE ),
1033
+ F1 ("imagecreatefromwbmp" , MAY_BE_FALSE | MAY_BE_OBJECT ),
1034
+ F1 ("imagecreatefromgd" , MAY_BE_FALSE | MAY_BE_OBJECT ),
1035
+ F1 ("imagecreatefromgd2" , MAY_BE_FALSE | MAY_BE_OBJECT ),
1036
+ F1 ("imagecreatefromgd2part" , MAY_BE_FALSE | MAY_BE_OBJECT ),
1051
1037
#if defined(HAVE_GD_BMP )
1052
- F1 ("imagecreatefrombmp" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_RESOURCE ),
1038
+ F1 ("imagecreatefrombmp" , MAY_BE_FALSE | MAY_BE_OBJECT ),
1053
1039
#endif
1054
- F0 ("imagecolorallocate" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_LONG ),
1055
- F0 ("imagecolorat" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_LONG ),
1056
- F0 ("imagecolorclosest" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_LONG ),
1057
- F0 ("imagecolorclosesthwb" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_LONG ),
1058
- F0 ("imagecolorresolve" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_LONG ),
1059
- F0 ("imagecolorexact" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_LONG ),
1060
1040
F0 ("imagecolorset" , MAY_BE_NULL | MAY_BE_FALSE ),
1061
- F1 ("imagecolorsforindex" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_LONG ),
1041
+ F1 ("imagecolorsforindex" , MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_LONG ),
1062
1042
F1 ("imagegetclip" , MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_LONG ),
1063
- F1 ("imageftbbox" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_LONG ),
1043
+ F1 ("imageftbbox" , MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_LONG ),
1064
1044
F1 ("imagefttext" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_LONG ),
1065
1045
F1 ("imagettfbbox" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_LONG ),
1066
1046
F1 ("imagettftext" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_LONG ),
1067
- F1 ("imagecrop" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_RESOURCE ),
1068
- F1 ("imagecropauto" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_RESOURCE ),
1069
- F1 ("imagescale" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_RESOURCE ),
1070
- F1 ("imageaffine" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_RESOURCE ),
1071
- F1 ("imageaffinematrixget" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_DOUBLE ),
1072
- F1 ("imageaffinematrixconcat" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_DOUBLE ),
1073
- F1 ("imageresolution" , MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_LONG ),
1047
+ F1 ("imagecrop" , MAY_BE_FALSE | MAY_BE_OBJECT ),
1048
+ F1 ("imagecropauto" , MAY_BE_FALSE | MAY_BE_OBJECT ),
1049
+ F1 ("imagescale" , MAY_BE_FALSE | MAY_BE_OBJECT ),
1050
+ F1 ("imageaffine" , MAY_BE_FALSE | MAY_BE_OBJECT ),
1051
+ F1 ("imageaffinematrixget" , MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_DOUBLE ),
1052
+ F1 ("imageaffinematrixconcat" , MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_DOUBLE ),
1053
+ F1 ("imageresolution" , MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_LONG ),
1074
1054
1075
1055
/* ext/spl */
1076
1056
F1 ("class_implements" , MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_STRING ),
0 commit comments