diff options
author | Tyson Andre <tysonandre775@hotmail.com> | 2019-12-04 19:57:14 -0500 |
---|---|---|
committer | Tyson Andre <tysonandre775@hotmail.com> | 2019-12-11 18:17:04 -0500 |
commit | 1695d3ed07018cd711a70582165dd8c1b765a66b (patch) | |
tree | 113b0ee106fe732dd00a3f6ac2704865a85cccbc /ext/standard/basic_functions.c | |
parent | 4782e8e28a0fa21a93a65cbf32a4021cc59bddf3 (diff) | |
download | php-git-1695d3ed07018cd711a70582165dd8c1b765a66b.tar.gz |
Add funcinfo for spl global functions
This assumes that `iterator_*` will now always throw or abort on failure.
Also, move #include _arginfo.h directive to the top of the file - virtually all
other files put it there, and developers may base code on basic_functions.c.
Closes GH-4968
Diffstat (limited to 'ext/standard/basic_functions.c')
-rwxr-xr-x | ext/standard/basic_functions.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index d7c96b1874..1a18bd2af1 100755 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -33,6 +33,7 @@ #include "ext/standard/php_dns.h" #include "ext/standard/php_uuencode.h" #include "ext/standard/php_mt_rand.h" +#include "basic_functions_arginfo.h" #ifdef PHP_WIN32 #include "win32/php_win32_globals.h" @@ -326,8 +327,6 @@ ZEND_END_ARG_INFO() #endif /* }}} */ -#include "basic_functions_arginfo.h" - static const zend_function_entry basic_functions[] = { /* {{{ */ PHP_FE(constant, arginfo_constant) PHP_FE(bin2hex, arginfo_bin2hex) |