Skip to content

Commit 1c81607

Browse files
committed
Generate optimizer func info from stubs for ext/standard - part 2
1 parent 1ce81b6 commit 1c81607

File tree

4 files changed

+245
-102
lines changed

4 files changed

+245
-102
lines changed

Zend/Optimizer/zend_func_info.c

Lines changed: 0 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -93,95 +93,8 @@ static const func_info_t old_func_infos[] = {
9393
F1("get_defined_vars", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_ANY | MAY_BE_ARRAY_OF_REF),
9494

9595
/* ext/standard */
96-
F1("base64_decode", MAY_BE_FALSE | MAY_BE_STRING),
97-
F1("base64_encode", MAY_BE_STRING),
98-
F1("password_hash", MAY_BE_STRING),
99-
F1("password_get_info", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_NULL | MAY_BE_ARRAY_OF_LONG | MAY_BE_ARRAY_OF_STRING | MAY_BE_ARRAY_OF_ARRAY),
100-
F1("convert_uuencode", MAY_BE_STRING),
101-
F1("convert_uudecode", MAY_BE_FALSE | MAY_BE_STRING),
102-
F1("pow", MAY_BE_LONG | MAY_BE_DOUBLE | MAY_BE_OBJECT),
103-
F1("decbin", MAY_BE_STRING),
104-
F1("decoct", MAY_BE_STRING),
105-
F1("dechex", MAY_BE_STRING),
106-
F1("base_convert", MAY_BE_STRING),
107-
F1("number_format", MAY_BE_STRING),
108-
#ifdef HAVE_INET_NTOP
109-
F1("inet_ntop", MAY_BE_FALSE | MAY_BE_STRING),
110-
#endif
111-
#ifdef HAVE_INET_PTON
112-
F1("inet_pton", MAY_BE_FALSE | MAY_BE_STRING),
113-
#endif
114-
F1("long2ip", MAY_BE_FALSE | MAY_BE_STRING),
115-
F1("getenv", MAY_BE_FALSE | MAY_BE_STRING | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_STRING),
116-
#ifdef HAVE_PUTENV
117-
#endif
118-
F1("getopt", 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_STRING | MAY_BE_ARRAY_OF_ARRAY),
119-
#ifdef HAVE_GETLOADAVG
120-
F1("sys_getloadavg", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_DOUBLE),
121-
#endif
122-
#ifdef HAVE_GETTIMEOFDAY
123-
F1("microtime", MAY_BE_DOUBLE | MAY_BE_STRING),
124-
F1("gettimeofday", MAY_BE_DOUBLE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_LONG),
125-
#endif
126-
#ifdef HAVE_GETRUSAGE
127-
F1("getrusage", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_LONG),
128-
#endif
129-
#ifdef HAVE_GETTIMEOFDAY
130-
F1("uniqid", MAY_BE_STRING),
131-
#endif
132-
F1("quoted_printable_decode", MAY_BE_STRING),
133-
F1("quoted_printable_encode", MAY_BE_STRING),
134-
F1("get_current_user", MAY_BE_STRING),
135-
F1("get_cfg_var", MAY_BE_FALSE | MAY_BE_STRING | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_STRING | MAY_BE_ARRAY_OF_ARRAY),
136-
F1("error_get_last", MAY_BE_NULL | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_LONG | MAY_BE_ARRAY_OF_STRING),
137-
F1("serialize", MAY_BE_STRING),
138-
F1("var_export", MAY_BE_NULL | MAY_BE_STRING),
139-
F1("print_r", MAY_BE_TRUE | MAY_BE_STRING),
140-
F0("register_shutdown_function", MAY_BE_NULL | MAY_BE_FALSE),
141-
F1("highlight_file", MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_STRING),
142-
F1("show_source", MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_STRING),
143-
F1("highlight_string", MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_STRING),
144-
F1("php_strip_whitespace", MAY_BE_STRING),
145-
F1("ini_get_all", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_NULL | MAY_BE_ARRAY_OF_STRING | MAY_BE_ARRAY_OF_ARRAY),
146-
F1("ini_alter", MAY_BE_FALSE | MAY_BE_STRING),
147-
F1("get_include_path", MAY_BE_FALSE | MAY_BE_STRING),
148-
F1("set_include_path", MAY_BE_FALSE | MAY_BE_STRING),
149-
F1("headers_list", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_STRING),
15096
F1("parse_ini_file", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_NULL | MAY_BE_ARRAY_OF_FALSE | MAY_BE_ARRAY_OF_TRUE | MAY_BE_ARRAY_OF_LONG | MAY_BE_ARRAY_OF_DOUBLE | MAY_BE_ARRAY_OF_STRING | MAY_BE_ARRAY_OF_ARRAY),
15197
F1("parse_ini_string", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_NULL | MAY_BE_ARRAY_OF_FALSE | MAY_BE_ARRAY_OF_TRUE | MAY_BE_ARRAY_OF_LONG | MAY_BE_ARRAY_OF_DOUBLE | MAY_BE_ARRAY_OF_STRING | MAY_BE_ARRAY_OF_ARRAY),
152-
#if ZEND_DEBUG
153-
F1("config_get_hash", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_STRING | MAY_BE_ARRAY_OF_ARRAY),
154-
#endif
155-
F1("gethostbyaddr", MAY_BE_FALSE | MAY_BE_STRING),
156-
F1("gethostbyname", MAY_BE_STRING),
157-
F1("gethostbynamel", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_STRING),
158-
#ifdef HAVE_GETHOSTNAME
159-
F1("gethostname", MAY_BE_FALSE | MAY_BE_STRING),
160-
#endif
161-
F1("fgets", MAY_BE_FALSE | MAY_BE_STRING),
162-
F1("fread", MAY_BE_FALSE | MAY_BE_STRING),
163-
F1("fstat", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_LONG),
164-
F1("tempnam", MAY_BE_FALSE | MAY_BE_STRING),
165-
F1("file", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_STRING),
166-
F1("file_get_contents", MAY_BE_FALSE | MAY_BE_STRING),
167-
F1("stream_context_get_params", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_ANY),
168-
FN("stream_context_get_options", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_ANY),
169-
F1("stream_socket_get_name", MAY_BE_FALSE | MAY_BE_STRING),
170-
F1("stream_socket_recvfrom", MAY_BE_FALSE | MAY_BE_STRING),
171-
#if HAVE_SOCKETPAIR
172-
F1("stream_socket_pair", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_RESOURCE),
173-
#endif
174-
F1("stream_get_contents", MAY_BE_FALSE | MAY_BE_STRING),
175-
F1("fgetcsv", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_NULL | MAY_BE_ARRAY_OF_STRING),
176-
F1("get_meta_tags", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_STRING),
177-
F1("stream_get_meta_data", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_ANY),
178-
F1("stream_get_line", MAY_BE_FALSE | MAY_BE_STRING),
179-
F1("stream_get_wrappers", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_STRING),
180-
F1("stream_get_transports", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_STRING),
181-
F1("stream_resolve_include_path", MAY_BE_FALSE | MAY_BE_STRING),
182-
F1("get_headers", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_STRING | MAY_BE_ARRAY_OF_ARRAY),
183-
F1("socket_get_status", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_ANY),
184-
F1("realpath", MAY_BE_FALSE | MAY_BE_STRING),
18598
F1("pack", MAY_BE_STRING),
18699
F1("unpack", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_ANY),
187100
F1("get_browser", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_OBJECT | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_ANY),

Zend/Optimizer/zend_func_infos.h

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,25 +98,61 @@ static const func_info_t func_infos[] = {
9898
F1("gzuncompress", MAY_BE_STRING|MAY_BE_FALSE),
9999
F1("xml_error_string", MAY_BE_STRING|MAY_BE_NULL),
100100
F1("xml_parser_get_option", MAY_BE_STRING|MAY_BE_LONG),
101+
F1("base64_encode", MAY_BE_STRING),
102+
F1("base64_decode", MAY_BE_STRING|MAY_BE_FALSE),
103+
F1("long2ip", MAY_BE_STRING|MAY_BE_FALSE),
104+
F1("getenv", MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_STRING|MAY_BE_FALSE),
105+
F1("getopt", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_STRING|MAY_BE_ARRAY_OF_ARRAY|MAY_BE_ARRAY_OF_FALSE|MAY_BE_FALSE),
101106
#if HAVE_NANOSLEEP
102107
F1("time_nanosleep", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_LONG|MAY_BE_BOOL),
103108
#endif
109+
F1("get_current_user", MAY_BE_STRING),
110+
F1("get_cfg_var", MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_STRING|MAY_BE_ARRAY_OF_ARRAY|MAY_BE_FALSE),
111+
F1("error_get_last", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_LONG|MAY_BE_ARRAY_OF_STRING|MAY_BE_NULL),
112+
F0("register_shutdown_function", MAY_BE_FALSE|MAY_BE_NULL),
113+
F1("highlight_file", MAY_BE_STRING|MAY_BE_BOOL),
114+
F1("php_strip_whitespace", MAY_BE_STRING),
115+
F1("highlight_string", MAY_BE_STRING|MAY_BE_BOOL),
116+
F1("ini_get_all", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_STRING|MAY_BE_ARRAY_OF_ARRAY|MAY_BE_ARRAY_OF_NULL|MAY_BE_FALSE),
117+
F1("ini_set", MAY_BE_STRING|MAY_BE_FALSE),
118+
F1("set_include_path", MAY_BE_STRING|MAY_BE_FALSE),
119+
F1("get_include_path", MAY_BE_STRING|MAY_BE_FALSE),
120+
F1("print_r", MAY_BE_STRING|MAY_BE_BOOL),
104121
#if HAVE_GETSERVBYPORT
105122
F1("getservbyport", MAY_BE_STRING|MAY_BE_FALSE),
106123
#endif
107124
#if HAVE_GETPROTOBYNUMBER
108125
F1("getprotobynumber", MAY_BE_STRING|MAY_BE_FALSE),
109126
#endif
127+
#if ZEND_DEBUG
128+
F1("config_get_hash", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_STRING|MAY_BE_ARRAY_OF_ARRAY),
129+
#endif
130+
#if defined(HAVE_GETLOADAVG)
131+
F1("sys_getloadavg", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_OF_DOUBLE|MAY_BE_FALSE),
132+
#endif
110133
#if HAVE_STRPTIME
111134
F1("strptime", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_LONG|MAY_BE_ARRAY_OF_STRING|MAY_BE_FALSE),
112135
#endif
136+
#if defined(HAVE_GETHOSTNAME)
137+
F1("gethostname", MAY_BE_STRING|MAY_BE_FALSE),
138+
#endif
139+
F1("gethostbyaddr", MAY_BE_STRING|MAY_BE_FALSE),
140+
F1("gethostbyname", MAY_BE_STRING),
141+
F1("gethostbynamel", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_OF_STRING|MAY_BE_FALSE),
113142
#if defined(PHP_WIN32) || HAVE_DNS_SEARCH_FUNC
114143
F1("dns_get_record", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_OF_ARRAY|MAY_BE_FALSE),
115144
#endif
116145
F1("md5", MAY_BE_STRING),
117146
F1("md5_file", MAY_BE_STRING|MAY_BE_FALSE),
118147
F1("sha1", MAY_BE_STRING),
119148
F1("sha1_file", MAY_BE_STRING|MAY_BE_FALSE),
149+
#if defined(HAVE_INET_NTOP)
150+
F1("inet_ntop", MAY_BE_STRING|MAY_BE_FALSE),
151+
#endif
152+
#if defined(HAVE_INET_PTON)
153+
F1("inet_pton", MAY_BE_STRING|MAY_BE_FALSE),
154+
#endif
155+
F1("headers_list", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_OF_STRING),
120156
F1("htmlspecialchars", MAY_BE_STRING),
121157
F1("htmlentities", MAY_BE_STRING),
122158
F1("get_html_translation_table", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_STRING),
@@ -162,10 +198,19 @@ static const func_info_t func_infos[] = {
162198
F1("escapeshellcmd", MAY_BE_STRING),
163199
F1("escapeshellarg", MAY_BE_STRING),
164200
F1("shell_exec", MAY_BE_STRING|MAY_BE_FALSE|MAY_BE_NULL),
201+
F1("get_meta_tags", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_STRING|MAY_BE_FALSE),
165202
F1("popen", MAY_BE_RESOURCE|MAY_BE_FALSE),
203+
F1("fgets", MAY_BE_STRING|MAY_BE_FALSE),
204+
F1("fread", MAY_BE_STRING|MAY_BE_FALSE),
166205
F1("fopen", MAY_BE_RESOURCE|MAY_BE_FALSE),
167206
F1("fscanf", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_OF_ANY|MAY_BE_LONG|MAY_BE_FALSE|MAY_BE_NULL),
207+
F1("fstat", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_LONG|MAY_BE_FALSE),
208+
F1("tempnam", MAY_BE_STRING|MAY_BE_FALSE),
168209
F1("tmpfile", MAY_BE_RESOURCE|MAY_BE_FALSE),
210+
F1("file", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_OF_STRING|MAY_BE_FALSE),
211+
F1("file_get_contents", MAY_BE_STRING|MAY_BE_FALSE),
212+
F1("fgetcsv", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_OF_STRING|MAY_BE_ARRAY_OF_NULL|MAY_BE_FALSE),
213+
F1("realpath", MAY_BE_STRING|MAY_BE_FALSE),
169214
F1("sprintf", MAY_BE_STRING),
170215
F1("vsprintf", MAY_BE_STRING),
171216
F1("fsockopen", MAY_BE_RESOURCE|MAY_BE_FALSE),
@@ -187,27 +232,67 @@ static const func_info_t func_infos[] = {
187232
#if defined(HAVE_SYMLINK) || defined(PHP_WIN32)
188233
F1("readlink", MAY_BE_STRING|MAY_BE_FALSE),
189234
#endif
235+
F1("pow", MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_OBJECT),
236+
F1("decbin", MAY_BE_STRING),
237+
F1("decoct", MAY_BE_STRING),
238+
F1("dechex", MAY_BE_STRING),
239+
F1("base_convert", MAY_BE_STRING),
240+
F1("number_format", MAY_BE_STRING),
241+
#if defined(HAVE_GETTIMEOFDAY)
242+
F1("microtime", MAY_BE_STRING|MAY_BE_DOUBLE),
243+
#endif
244+
#if defined(HAVE_GETTIMEOFDAY)
245+
F1("gettimeofday", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_LONG|MAY_BE_DOUBLE),
246+
#endif
247+
#if defined(HAVE_GETRUSAGE)
248+
F1("getrusage", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_LONG|MAY_BE_FALSE),
249+
#endif
250+
F1("password_get_info", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_STRING|MAY_BE_ARRAY_OF_ARRAY|MAY_BE_ARRAY_OF_NULL),
251+
F1("password_hash", MAY_BE_STRING),
190252
#if defined(PHP_CAN_SUPPORT_PROC_OPEN)
191253
F1("proc_open", MAY_BE_RESOURCE|MAY_BE_FALSE),
192254
#endif
193255
#if defined(PHP_CAN_SUPPORT_PROC_OPEN)
194256
F1("proc_get_status", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_FALSE|MAY_BE_ARRAY_OF_TRUE|MAY_BE_ARRAY_OF_LONG|MAY_BE_ARRAY_OF_STRING),
195257
#endif
258+
F1("quoted_printable_decode", MAY_BE_STRING),
259+
F1("quoted_printable_encode", MAY_BE_STRING),
196260
F1("random_bytes", MAY_BE_STRING),
197261
F1("soundex", MAY_BE_STRING),
198262
F1("stream_context_create", MAY_BE_RESOURCE),
263+
F1("stream_context_get_params", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_ANY),
264+
FN("stream_context_get_options", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_ANY),
199265
FN("stream_context_get_default", MAY_BE_RESOURCE),
200266
FN("stream_context_set_default", MAY_BE_RESOURCE),
201267
FN("stream_filter_prepend", MAY_BE_RESOURCE|MAY_BE_FALSE),
202268
FN("stream_filter_append", MAY_BE_RESOURCE|MAY_BE_FALSE),
203269
F1("stream_socket_client", MAY_BE_RESOURCE|MAY_BE_FALSE),
204270
F1("stream_socket_server", MAY_BE_RESOURCE|MAY_BE_FALSE),
205271
F1("stream_socket_accept", MAY_BE_RESOURCE|MAY_BE_FALSE),
272+
F1("stream_socket_get_name", MAY_BE_STRING|MAY_BE_FALSE),
273+
F1("stream_socket_recvfrom", MAY_BE_STRING|MAY_BE_FALSE),
274+
#if HAVE_SOCKETPAIR
275+
F1("stream_socket_pair", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_OF_RESOURCE|MAY_BE_FALSE),
276+
#endif
277+
F1("stream_get_contents", MAY_BE_STRING|MAY_BE_FALSE),
278+
FN("stream_get_meta_data", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_ANY),
279+
F1("stream_get_line", MAY_BE_STRING|MAY_BE_FALSE),
280+
F1("stream_resolve_include_path", MAY_BE_STRING|MAY_BE_FALSE),
281+
F1("stream_get_wrappers", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_OF_STRING),
282+
F1("stream_get_transports", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_OF_STRING),
283+
#if defined(HAVE_GETTIMEOFDAY)
284+
F1("uniqid", MAY_BE_STRING),
285+
#endif
206286
F1("parse_url", MAY_BE_LONG|MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_LONG|MAY_BE_ARRAY_OF_STRING|MAY_BE_NULL|MAY_BE_FALSE),
207287
F1("urlencode", MAY_BE_STRING),
208288
F1("urldecode", MAY_BE_STRING),
209289
F1("rawurlencode", MAY_BE_STRING),
210290
F1("rawurldecode", MAY_BE_STRING),
291+
F1("get_headers", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_STRING|MAY_BE_ARRAY_OF_ARRAY|MAY_BE_FALSE),
292+
F1("convert_uuencode", MAY_BE_STRING),
293+
F1("convert_uudecode", MAY_BE_STRING|MAY_BE_FALSE),
294+
F1("var_export", MAY_BE_STRING|MAY_BE_NULL),
295+
F1("serialize", MAY_BE_STRING),
211296
FN("zip_open", MAY_BE_RESOURCE|MAY_BE_LONG|MAY_BE_FALSE),
212297
FN("zip_read", MAY_BE_RESOURCE|MAY_BE_FALSE),
213298
F1("curl_copy_handle", MAY_BE_OBJECT|MAY_BE_FALSE),

0 commit comments

Comments
 (0)