mirror of
https://github.com/php/php-src.git
synced 2026-04-30 03:33:17 +02:00
Remove now unnecessary PHP_FUNCTION() declarations
This commit is contained in:
@@ -57,9 +57,6 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
PHP_FUNCTION(base64_decode);
|
||||
PHP_FUNCTION(base64_encode);
|
||||
|
||||
#if (ZEND_INTRIN_AVX2_FUNC_PTR || ZEND_INTRIN_SSSE3_FUNC_PTR) && !ZEND_INTRIN_AVX2_NATIVE
|
||||
PHP_MINIT_FUNCTION(base64_intrin);
|
||||
#endif
|
||||
|
||||
@@ -40,107 +40,8 @@ PHP_RINIT_FUNCTION(basic);
|
||||
PHP_RSHUTDOWN_FUNCTION(basic);
|
||||
PHP_MINFO_FUNCTION(basic);
|
||||
|
||||
PHP_FUNCTION(constant);
|
||||
PHP_FUNCTION(sleep);
|
||||
PHP_FUNCTION(usleep);
|
||||
#if HAVE_NANOSLEEP
|
||||
PHP_FUNCTION(time_nanosleep);
|
||||
PHP_FUNCTION(time_sleep_until);
|
||||
#endif
|
||||
PHP_FUNCTION(flush);
|
||||
#ifdef HAVE_INET_NTOP
|
||||
PHP_FUNCTION(inet_ntop);
|
||||
#endif
|
||||
#ifdef HAVE_INET_PTON
|
||||
PHP_FUNCTION(inet_pton);
|
||||
#endif
|
||||
PHP_FUNCTION(ip2long);
|
||||
PHP_FUNCTION(long2ip);
|
||||
|
||||
/* system functions */
|
||||
PHP_FUNCTION(getenv);
|
||||
PHP_FUNCTION(putenv);
|
||||
|
||||
PHP_FUNCTION(getopt);
|
||||
|
||||
PHP_FUNCTION(get_current_user);
|
||||
PHP_FUNCTION(set_time_limit);
|
||||
|
||||
PHP_FUNCTION(header_register_callback);
|
||||
|
||||
PHP_FUNCTION(get_cfg_var);
|
||||
|
||||
PHP_FUNCTION(error_log);
|
||||
PHP_FUNCTION(error_get_last);
|
||||
PHP_FUNCTION(error_clear_last);
|
||||
|
||||
PHP_FUNCTION(call_user_func);
|
||||
PHP_FUNCTION(call_user_func_array);
|
||||
PHP_FUNCTION(forward_static_call);
|
||||
PHP_FUNCTION(forward_static_call_array);
|
||||
|
||||
PHP_FUNCTION(register_shutdown_function);
|
||||
PHP_FUNCTION(highlight_file);
|
||||
PHP_FUNCTION(highlight_string);
|
||||
PHP_FUNCTION(php_strip_whitespace);
|
||||
ZEND_API void php_get_highlight_struct(zend_syntax_highlighter_ini *syntax_highlighter_ini);
|
||||
|
||||
PHP_FUNCTION(ini_get);
|
||||
PHP_FUNCTION(ini_get_all);
|
||||
PHP_FUNCTION(ini_set);
|
||||
PHP_FUNCTION(ini_restore);
|
||||
PHP_FUNCTION(get_include_path);
|
||||
PHP_FUNCTION(set_include_path);
|
||||
|
||||
PHP_FUNCTION(print_r);
|
||||
PHP_FUNCTION(fprintf);
|
||||
PHP_FUNCTION(vfprintf);
|
||||
|
||||
PHP_FUNCTION(connection_aborted);
|
||||
PHP_FUNCTION(connection_status);
|
||||
PHP_FUNCTION(ignore_user_abort);
|
||||
|
||||
PHP_FUNCTION(getservbyname);
|
||||
PHP_FUNCTION(getservbyport);
|
||||
PHP_FUNCTION(getprotobyname);
|
||||
PHP_FUNCTION(getprotobynumber);
|
||||
|
||||
PHP_FUNCTION(crc32);
|
||||
|
||||
PHP_FUNCTION(register_tick_function);
|
||||
PHP_FUNCTION(unregister_tick_function);
|
||||
#ifdef HAVE_GETLOADAVG
|
||||
PHP_FUNCTION(sys_getloadavg);
|
||||
#endif
|
||||
|
||||
PHP_FUNCTION(is_uploaded_file);
|
||||
PHP_FUNCTION(move_uploaded_file);
|
||||
|
||||
PHP_FUNCTION(net_get_interfaces);
|
||||
|
||||
/* From the INI parser */
|
||||
PHP_FUNCTION(parse_ini_file);
|
||||
PHP_FUNCTION(parse_ini_string);
|
||||
#if ZEND_DEBUG
|
||||
PHP_FUNCTION(config_get_hash);
|
||||
#endif
|
||||
|
||||
#if defined(PHP_WIN32)
|
||||
PHP_FUNCTION(sapi_windows_cp_set);
|
||||
PHP_FUNCTION(sapi_windows_cp_get);
|
||||
PHP_FUNCTION(sapi_windows_cp_is_utf8);
|
||||
PHP_FUNCTION(sapi_windows_cp_conv);
|
||||
PHP_FUNCTION(sapi_windows_set_ctrl_handler);
|
||||
PHP_FUNCTION(sapi_windows_generate_ctrl_event);
|
||||
#endif
|
||||
|
||||
PHP_FUNCTION(str_rot13);
|
||||
PHP_FUNCTION(stream_get_filters);
|
||||
PHP_FUNCTION(stream_filter_register);
|
||||
PHP_FUNCTION(stream_bucket_make_writeable);
|
||||
PHP_FUNCTION(stream_bucket_prepend);
|
||||
PHP_FUNCTION(stream_bucket_append);
|
||||
PHP_FUNCTION(stream_bucket_new);
|
||||
PHP_MINIT_FUNCTION(user_filters);
|
||||
PHP_RSHUTDOWN_FUNCTION(user_filters);
|
||||
PHP_RSHUTDOWN_FUNCTION(browscap);
|
||||
|
||||
@@ -18,10 +18,6 @@
|
||||
#ifndef DATETIME_H
|
||||
#define DATETIME_H
|
||||
|
||||
#if HAVE_STRPTIME
|
||||
PHP_FUNCTION(strptime);
|
||||
#endif
|
||||
|
||||
PHPAPI char *php_std_date(time_t t);
|
||||
|
||||
#endif /* DATETIME_H */
|
||||
|
||||
@@ -17,17 +17,6 @@
|
||||
#ifndef EXEC_H
|
||||
#define EXEC_H
|
||||
|
||||
PHP_FUNCTION(system);
|
||||
PHP_FUNCTION(exec);
|
||||
PHP_FUNCTION(escapeshellcmd);
|
||||
PHP_FUNCTION(escapeshellarg);
|
||||
PHP_FUNCTION(passthru);
|
||||
PHP_FUNCTION(shell_exec);
|
||||
PHP_FUNCTION(proc_open);
|
||||
PHP_FUNCTION(proc_get_status);
|
||||
PHP_FUNCTION(proc_close);
|
||||
PHP_FUNCTION(proc_terminate);
|
||||
PHP_FUNCTION(proc_nice);
|
||||
PHP_MINIT_FUNCTION(proc_open);
|
||||
PHP_MINIT_FUNCTION(exec);
|
||||
|
||||
|
||||
@@ -22,46 +22,17 @@
|
||||
PHP_MINIT_FUNCTION(file);
|
||||
PHP_MSHUTDOWN_FUNCTION(file);
|
||||
|
||||
PHP_FUNCTION(tempnam);
|
||||
PHP_FUNCTION(tmpfile);
|
||||
PHP_FUNCTION(fopen);
|
||||
PHPAPI PHP_FUNCTION(fclose);
|
||||
PHP_FUNCTION(popen);
|
||||
PHP_FUNCTION(pclose);
|
||||
PHPAPI PHP_FUNCTION(feof);
|
||||
PHPAPI PHP_FUNCTION(fread);
|
||||
PHPAPI PHP_FUNCTION(fgetc);
|
||||
PHPAPI PHP_FUNCTION(fgets);
|
||||
PHP_FUNCTION(fscanf);
|
||||
PHP_FUNCTION(fgetcsv);
|
||||
PHP_FUNCTION(fputcsv);
|
||||
PHPAPI PHP_FUNCTION(fwrite);
|
||||
PHPAPI PHP_FUNCTION(fflush);
|
||||
PHPAPI PHP_FUNCTION(rewind);
|
||||
PHPAPI PHP_FUNCTION(ftell);
|
||||
PHPAPI PHP_FUNCTION(fseek);
|
||||
PHP_FUNCTION(mkdir);
|
||||
PHP_FUNCTION(rmdir);
|
||||
PHPAPI PHP_FUNCTION(fpassthru);
|
||||
PHP_FUNCTION(readfile);
|
||||
PHP_FUNCTION(umask);
|
||||
PHP_FUNCTION(rename);
|
||||
PHP_FUNCTION(unlink);
|
||||
PHP_FUNCTION(copy);
|
||||
PHP_FUNCTION(file);
|
||||
PHP_FUNCTION(file_get_contents);
|
||||
PHP_FUNCTION(file_put_contents);
|
||||
PHP_FUNCTION(get_meta_tags);
|
||||
PHP_FUNCTION(flock);
|
||||
PHP_FUNCTION(fd_set);
|
||||
PHP_FUNCTION(fd_isset);
|
||||
PHP_FUNCTION(realpath);
|
||||
#ifdef HAVE_FNMATCH
|
||||
PHP_FUNCTION(fnmatch);
|
||||
#endif
|
||||
PHP_FUNCTION(ftruncate);
|
||||
PHP_FUNCTION(fstat);
|
||||
PHP_FUNCTION(sys_get_temp_dir);
|
||||
|
||||
PHP_MINIT_FUNCTION(user_streams);
|
||||
|
||||
|
||||
@@ -23,7 +23,5 @@
|
||||
|
||||
#include "php_network.h"
|
||||
|
||||
PHP_FUNCTION(fsockopen);
|
||||
PHP_FUNCTION(pfsockopen);
|
||||
|
||||
#endif /* FSOCK_H */
|
||||
|
||||
@@ -26,13 +26,6 @@
|
||||
#define COOKIE_SAMESITE "; SameSite="
|
||||
|
||||
extern PHP_RINIT_FUNCTION(head);
|
||||
PHP_FUNCTION(header);
|
||||
PHP_FUNCTION(header_remove);
|
||||
PHP_FUNCTION(setcookie);
|
||||
PHP_FUNCTION(setrawcookie);
|
||||
PHP_FUNCTION(headers_sent);
|
||||
PHP_FUNCTION(headers_list);
|
||||
PHP_FUNCTION(http_response_code);
|
||||
|
||||
PHPAPI int php_header(void);
|
||||
PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int httponly, zend_string *samesite, int url_encode);
|
||||
|
||||
@@ -51,8 +51,6 @@ PHPAPI php_hrtime_t php_hrtime_current(void);
|
||||
|
||||
PHP_MINIT_FUNCTION(hrtime);
|
||||
|
||||
PHP_FUNCTION(hrtime);
|
||||
|
||||
END_EXTERN_C()
|
||||
|
||||
#endif /* HRTIME_H */
|
||||
|
||||
@@ -44,12 +44,6 @@
|
||||
|
||||
void register_html_constants(INIT_FUNC_ARGS);
|
||||
|
||||
PHP_FUNCTION(htmlspecialchars);
|
||||
PHP_FUNCTION(htmlentities);
|
||||
PHP_FUNCTION(htmlspecialchars_decode);
|
||||
PHP_FUNCTION(html_entity_decode);
|
||||
PHP_FUNCTION(get_html_translation_table);
|
||||
|
||||
PHPAPI zend_string *php_escape_html_entities(unsigned char *old, size_t oldlen, int all, int flags, char *hint_charset);
|
||||
PHPAPI zend_string *php_escape_html_entities_ex(unsigned char *old, size_t oldlen, int all, int flags, char *hint_charset, zend_bool double_encode);
|
||||
PHPAPI zend_string *php_unescape_html_entities(zend_string *str, int all, int flags, char *hint_charset);
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -29,7 +29,6 @@
|
||||
*/
|
||||
|
||||
#include "php.h"
|
||||
#include "php_iptc.h"
|
||||
#include "ext/standard/head.h"
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
@@ -49,7 +49,6 @@
|
||||
#include <errno.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "php_link.h"
|
||||
#include "php_string.h"
|
||||
|
||||
#ifndef VOLUME_NAME_NT
|
||||
|
||||
@@ -21,9 +21,6 @@
|
||||
PHPAPI void make_digest(char *md5str, const unsigned char *digest);
|
||||
PHPAPI void make_digest_ex(char *md5str, const unsigned char *digest, int len);
|
||||
|
||||
PHP_FUNCTION(md5);
|
||||
PHP_FUNCTION(md5_file);
|
||||
|
||||
#include "ext/standard/basic_functions.h"
|
||||
|
||||
/*
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
*/
|
||||
|
||||
#include "php.h"
|
||||
#include "php_metaphone.h"
|
||||
|
||||
static int metaphone(unsigned char *word, size_t word_len, zend_long max_phonemes, zend_string **phoned_word, int traditional);
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "microtime.h"
|
||||
#include "ext/date/php_date.h"
|
||||
|
||||
#define NUL '\0'
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
/*
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) The PHP Group |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 3.01 of the PHP license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
| available through the world-wide-web at the following url: |
|
||||
| http://www.php.net/license/3_01.txt |
|
||||
| If you did not receive a copy of the PHP license and are unable to |
|
||||
| obtain it through the world-wide-web, please send a note to |
|
||||
| license@php.net so we can mail you a copy immediately. |
|
||||
+----------------------------------------------------------------------+
|
||||
| Author: Paul Panotzki - Bunyip Information Systems |
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
#ifndef MICROTIME_H
|
||||
#define MICROTIME_H
|
||||
|
||||
#ifdef HAVE_GETTIMEOFDAY
|
||||
PHP_FUNCTION(microtime);
|
||||
PHP_FUNCTION(gettimeofday);
|
||||
#endif
|
||||
#ifdef HAVE_GETRUSAGE
|
||||
PHP_FUNCTION(getrusage);
|
||||
#endif
|
||||
|
||||
#endif /* MICROTIME_H */
|
||||
@@ -18,7 +18,5 @@
|
||||
#define PACK_H
|
||||
|
||||
PHP_MINIT_FUNCTION(pack);
|
||||
PHP_FUNCTION(pack);
|
||||
PHP_FUNCTION(unpack);
|
||||
|
||||
#endif /* PACK_H */
|
||||
|
||||
@@ -17,12 +17,6 @@
|
||||
#ifndef PAGEINFO_H
|
||||
#define PAGEINFO_H
|
||||
|
||||
PHP_FUNCTION(getmyuid);
|
||||
PHP_FUNCTION(getmygid);
|
||||
PHP_FUNCTION(getmypid);
|
||||
PHP_FUNCTION(getmyinode);
|
||||
PHP_FUNCTION(getlastmod);
|
||||
|
||||
PHPAPI void php_statpage(void);
|
||||
PHPAPI time_t php_getlastmod(void);
|
||||
extern zend_long php_getuid(void);
|
||||
|
||||
@@ -23,84 +23,6 @@
|
||||
PHP_MINIT_FUNCTION(array);
|
||||
PHP_MSHUTDOWN_FUNCTION(array);
|
||||
|
||||
PHP_FUNCTION(ksort);
|
||||
PHP_FUNCTION(krsort);
|
||||
PHP_FUNCTION(natsort);
|
||||
PHP_FUNCTION(natcasesort);
|
||||
PHP_FUNCTION(asort);
|
||||
PHP_FUNCTION(arsort);
|
||||
PHP_FUNCTION(sort);
|
||||
PHP_FUNCTION(rsort);
|
||||
PHP_FUNCTION(usort);
|
||||
PHP_FUNCTION(uasort);
|
||||
PHP_FUNCTION(uksort);
|
||||
PHP_FUNCTION(array_walk);
|
||||
PHP_FUNCTION(array_walk_recursive);
|
||||
PHP_FUNCTION(count);
|
||||
PHP_FUNCTION(end);
|
||||
PHP_FUNCTION(prev);
|
||||
PHP_FUNCTION(next);
|
||||
PHP_FUNCTION(reset);
|
||||
PHP_FUNCTION(current);
|
||||
PHP_FUNCTION(key);
|
||||
PHP_FUNCTION(min);
|
||||
PHP_FUNCTION(max);
|
||||
PHP_FUNCTION(in_array);
|
||||
PHP_FUNCTION(array_search);
|
||||
PHP_FUNCTION(extract);
|
||||
PHP_FUNCTION(compact);
|
||||
PHP_FUNCTION(array_fill);
|
||||
PHP_FUNCTION(array_fill_keys);
|
||||
PHP_FUNCTION(range);
|
||||
PHP_FUNCTION(shuffle);
|
||||
PHP_FUNCTION(array_multisort);
|
||||
PHP_FUNCTION(array_push);
|
||||
PHP_FUNCTION(array_pop);
|
||||
PHP_FUNCTION(array_shift);
|
||||
PHP_FUNCTION(array_unshift);
|
||||
PHP_FUNCTION(array_splice);
|
||||
PHP_FUNCTION(array_slice);
|
||||
PHP_FUNCTION(array_merge);
|
||||
PHP_FUNCTION(array_merge_recursive);
|
||||
PHP_FUNCTION(array_replace);
|
||||
PHP_FUNCTION(array_replace_recursive);
|
||||
PHP_FUNCTION(array_keys);
|
||||
PHP_FUNCTION(array_key_first);
|
||||
PHP_FUNCTION(array_key_last);
|
||||
PHP_FUNCTION(array_values);
|
||||
PHP_FUNCTION(array_count_values);
|
||||
PHP_FUNCTION(array_column);
|
||||
PHP_FUNCTION(array_reverse);
|
||||
PHP_FUNCTION(array_reduce);
|
||||
PHP_FUNCTION(array_pad);
|
||||
PHP_FUNCTION(array_flip);
|
||||
PHP_FUNCTION(array_change_key_case);
|
||||
PHP_FUNCTION(array_rand);
|
||||
PHP_FUNCTION(array_unique);
|
||||
PHP_FUNCTION(array_intersect);
|
||||
PHP_FUNCTION(array_intersect_key);
|
||||
PHP_FUNCTION(array_intersect_ukey);
|
||||
PHP_FUNCTION(array_uintersect);
|
||||
PHP_FUNCTION(array_intersect_assoc);
|
||||
PHP_FUNCTION(array_uintersect_assoc);
|
||||
PHP_FUNCTION(array_intersect_uassoc);
|
||||
PHP_FUNCTION(array_uintersect_uassoc);
|
||||
PHP_FUNCTION(array_diff);
|
||||
PHP_FUNCTION(array_diff_key);
|
||||
PHP_FUNCTION(array_diff_ukey);
|
||||
PHP_FUNCTION(array_udiff);
|
||||
PHP_FUNCTION(array_diff_assoc);
|
||||
PHP_FUNCTION(array_udiff_assoc);
|
||||
PHP_FUNCTION(array_diff_uassoc);
|
||||
PHP_FUNCTION(array_udiff_uassoc);
|
||||
PHP_FUNCTION(array_sum);
|
||||
PHP_FUNCTION(array_product);
|
||||
PHP_FUNCTION(array_filter);
|
||||
PHP_FUNCTION(array_map);
|
||||
PHP_FUNCTION(array_key_exists);
|
||||
PHP_FUNCTION(array_chunk);
|
||||
PHP_FUNCTION(array_combine);
|
||||
|
||||
PHPAPI int php_array_merge(HashTable *dest, HashTable *src);
|
||||
PHPAPI int php_array_merge_recursive(HashTable *dest, HashTable *src);
|
||||
PHPAPI int php_array_replace_recursive(HashTable *dest, HashTable *src);
|
||||
|
||||
@@ -22,7 +22,5 @@ PHP_MSHUTDOWN_FUNCTION(assert);
|
||||
PHP_RINIT_FUNCTION(assert);
|
||||
PHP_RSHUTDOWN_FUNCTION(assert);
|
||||
PHP_MINFO_FUNCTION(assert);
|
||||
PHP_FUNCTION(assert);
|
||||
PHP_FUNCTION(assert_options);
|
||||
|
||||
#endif /* PHP_ASSERT_H */
|
||||
|
||||
@@ -20,6 +20,4 @@
|
||||
PHP_MINIT_FUNCTION(browscap);
|
||||
PHP_MSHUTDOWN_FUNCTION(browscap);
|
||||
|
||||
PHP_FUNCTION(get_browser);
|
||||
|
||||
#endif /* PHP_BROWSCAP_H */
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
#define PHP_CRYPT_H
|
||||
|
||||
PHPAPI zend_string *php_crypt(const char *password, const int pass_len, const char *salt, int salt_len, zend_bool quiet);
|
||||
PHP_FUNCTION(crypt);
|
||||
PHP_MINIT_FUNCTION(crypt);
|
||||
PHP_MSHUTDOWN_FUNCTION(crypt);
|
||||
PHP_RINIT_FUNCTION(crypt);
|
||||
|
||||
@@ -20,18 +20,9 @@
|
||||
/* directory functions */
|
||||
PHP_MINIT_FUNCTION(dir);
|
||||
PHP_RINIT_FUNCTION(dir);
|
||||
PHP_FUNCTION(opendir);
|
||||
PHP_FUNCTION(closedir);
|
||||
PHP_FUNCTION(chdir);
|
||||
#if defined(HAVE_CHROOT) && !defined(ZTS) && ENABLE_CHROOT_FUNC
|
||||
PHP_FUNCTION(chroot);
|
||||
#endif
|
||||
PHP_FUNCTION(getcwd);
|
||||
PHP_FUNCTION(rewinddir);
|
||||
PHP_FUNCTION(readdir);
|
||||
PHP_FUNCTION(getdir);
|
||||
PHP_FUNCTION(glob);
|
||||
PHP_FUNCTION(scandir);
|
||||
|
||||
#define PHP_SCANDIR_SORT_ASCENDING 0
|
||||
#define PHP_SCANDIR_SORT_DESCENDING 1
|
||||
|
||||
@@ -53,23 +53,10 @@
|
||||
#define HAVE_FULL_DNS_FUNCS 1
|
||||
#endif
|
||||
|
||||
PHP_FUNCTION(gethostbyaddr);
|
||||
PHP_FUNCTION(gethostbyname);
|
||||
PHP_FUNCTION(gethostbynamel);
|
||||
|
||||
#ifdef HAVE_GETHOSTNAME
|
||||
PHP_FUNCTION(gethostname);
|
||||
#endif
|
||||
|
||||
#if defined(PHP_WIN32) || HAVE_DNS_SEARCH_FUNC
|
||||
PHP_FUNCTION(dns_check_record);
|
||||
|
||||
# if defined(PHP_WIN32) || HAVE_FULL_DNS_FUNCS
|
||||
PHP_FUNCTION(dns_get_mx);
|
||||
PHP_FUNCTION(dns_get_record);
|
||||
PHP_MINIT_FUNCTION(dns);
|
||||
# endif
|
||||
|
||||
#endif /* defined(PHP_WIN32) || HAVE_DNS_SEARCH_FUNC */
|
||||
|
||||
#ifndef INT16SZ
|
||||
|
||||
@@ -28,10 +28,6 @@ PHP_RSHUTDOWN_FUNCTION(syslog);
|
||||
#endif
|
||||
PHP_MSHUTDOWN_FUNCTION(syslog);
|
||||
|
||||
PHP_FUNCTION(openlog);
|
||||
PHP_FUNCTION(syslog);
|
||||
PHP_FUNCTION(closelog);
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* PHP_EXT_SYSLOG_H */
|
||||
|
||||
@@ -20,42 +20,6 @@
|
||||
PHP_RINIT_FUNCTION(filestat);
|
||||
PHP_RSHUTDOWN_FUNCTION(filestat);
|
||||
|
||||
PHP_FUNCTION(realpath_cache_size);
|
||||
PHP_FUNCTION(realpath_cache_get);
|
||||
PHP_FUNCTION(clearstatcache);
|
||||
PHP_FUNCTION(fileatime);
|
||||
PHP_FUNCTION(filectime);
|
||||
PHP_FUNCTION(filegroup);
|
||||
PHP_FUNCTION(fileinode);
|
||||
PHP_FUNCTION(filemtime);
|
||||
PHP_FUNCTION(fileowner);
|
||||
PHP_FUNCTION(fileperms);
|
||||
PHP_FUNCTION(filesize);
|
||||
PHP_FUNCTION(filetype);
|
||||
PHP_FUNCTION(is_writable);
|
||||
PHP_FUNCTION(is_readable);
|
||||
PHP_FUNCTION(is_executable);
|
||||
PHP_FUNCTION(is_file);
|
||||
PHP_FUNCTION(is_dir);
|
||||
PHP_FUNCTION(is_link);
|
||||
PHP_FUNCTION(file_exists);
|
||||
PHP_FUNCTION(stat);
|
||||
PHP_FUNCTION(lstat);
|
||||
PHP_FUNCTION(disk_total_space);
|
||||
PHP_FUNCTION(disk_free_space);
|
||||
PHP_FUNCTION(chown);
|
||||
PHP_FUNCTION(chgrp);
|
||||
#if HAVE_LCHOWN
|
||||
PHP_FUNCTION(lchown);
|
||||
#endif
|
||||
#if HAVE_LCHOWN
|
||||
PHP_FUNCTION(lchgrp);
|
||||
#endif
|
||||
PHP_FUNCTION(chmod);
|
||||
#if HAVE_UTIME
|
||||
PHP_FUNCTION(touch);
|
||||
#endif
|
||||
|
||||
#ifdef PHP_WIN32
|
||||
#define S_IRUSR S_IREAD
|
||||
#define S_IWUSR S_IWRITE
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
/*
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) The PHP Group |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 3.01 of the PHP license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
| available through the world-wide-web at the following url: |
|
||||
| http://www.php.net/license/3_01.txt |
|
||||
| If you did not receive a copy of the PHP license and are unable to |
|
||||
| obtain it through the world-wide-web, please send a note to |
|
||||
| license@php.net so we can mail you a copy immediately. |
|
||||
+----------------------------------------------------------------------+
|
||||
| Author: Andrew Sitnikov <sitnikov@infonet.ee> |
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
#ifndef PHP_FTOK_H
|
||||
#define PHP_FTOK_H
|
||||
|
||||
#if HAVE_FTOK
|
||||
PHP_FUNCTION(ftok);
|
||||
#endif
|
||||
|
||||
#endif /* PHP_FTOK_H */
|
||||
@@ -27,6 +27,4 @@ PHPAPI int php_url_encode_hash_ex(HashTable *ht, smart_str *formstr,
|
||||
zval *type, char *arg_sep, int enc_type);
|
||||
#define php_url_encode_hash(ht, formstr) php_url_encode_hash_ex((ht), (formstr), NULL, 0, NULL, 0, NULL, 0, NULL)
|
||||
|
||||
PHP_FUNCTION(http_build_query);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -18,12 +18,6 @@
|
||||
#ifndef PHP_IMAGE_H
|
||||
#define PHP_IMAGE_H
|
||||
|
||||
PHP_FUNCTION(getimagesize);
|
||||
PHP_FUNCTION(getimagesizefromstring);
|
||||
|
||||
PHP_FUNCTION(image_type_to_mime_type);
|
||||
PHP_FUNCTION(image_type_to_extension);
|
||||
|
||||
/* {{{ enum image_filetype
|
||||
This enum is used to have ext/standard/image.c and ext/exif/exif.c use
|
||||
the same constants for file types.
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
/*
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) The PHP Group |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 3.01 of the PHP license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
| available through the world-wide-web at the following url: |
|
||||
| http://www.php.net/license/3_01.txt |
|
||||
| If you did not receive a copy of the PHP license and are unable to |
|
||||
| obtain it through the world-wide-web, please send a note to |
|
||||
| license@php.net so we can mail you a copy immediately. |
|
||||
+----------------------------------------------------------------------+
|
||||
| Author: Thies C. Arntzen <thies@thieso.net> |
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
#ifndef PHP_IPTC_H
|
||||
#define PHP_IPTC_H
|
||||
|
||||
PHP_FUNCTION(iptcparse);
|
||||
PHP_FUNCTION(iptcembed);
|
||||
|
||||
#endif /* PHP_IPTC_H */
|
||||
@@ -26,7 +26,6 @@ typedef struct {
|
||||
} php_lcg_globals;
|
||||
|
||||
PHPAPI double php_combined_lcg(void);
|
||||
PHP_FUNCTION(lcg_value);
|
||||
|
||||
PHP_MINIT_FUNCTION(lcg);
|
||||
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
/*
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) The PHP Group |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 3.01 of the PHP license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
| available through the world-wide-web at the following url: |
|
||||
| http://www.php.net/license/3_01.txt |
|
||||
| If you did not receive a copy of the PHP license and are unable to |
|
||||
| obtain it through the world-wide-web, please send a note to |
|
||||
| license@php.net so we can mail you a copy immediately. |
|
||||
+----------------------------------------------------------------------+
|
||||
| Author: |
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
#ifndef PHP_LINK_H
|
||||
#define PHP_LINK_H
|
||||
|
||||
#if defined(HAVE_SYMLINK) || defined(PHP_WIN32)
|
||||
|
||||
PHP_FUNCTION(link);
|
||||
PHP_FUNCTION(readlink);
|
||||
PHP_FUNCTION(linkinfo);
|
||||
PHP_FUNCTION(symlink);
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* PHP_LINK_H */
|
||||
@@ -17,8 +17,6 @@
|
||||
#ifndef PHP_MAIL_H
|
||||
#define PHP_MAIL_H
|
||||
|
||||
PHP_FUNCTION(mail);
|
||||
|
||||
PHP_MINFO_FUNCTION(mail);
|
||||
|
||||
PHPAPI zend_string *php_mail_build_headers(HashTable *headers);
|
||||
|
||||
@@ -26,60 +26,6 @@ PHPAPI zend_long _php_math_basetolong(zval *arg, int base);
|
||||
PHPAPI void _php_math_basetozval(zend_string *str, int base, zval *ret);
|
||||
PHPAPI zend_string * _php_math_zvaltobase(zval *arg, int base);
|
||||
|
||||
PHP_FUNCTION(sin);
|
||||
PHP_FUNCTION(cos);
|
||||
PHP_FUNCTION(tan);
|
||||
PHP_FUNCTION(asin);
|
||||
PHP_FUNCTION(acos);
|
||||
PHP_FUNCTION(atan);
|
||||
PHP_FUNCTION(atan2);
|
||||
PHP_FUNCTION(pi);
|
||||
PHP_FUNCTION(exp);
|
||||
PHP_FUNCTION(log);
|
||||
PHP_FUNCTION(log10);
|
||||
PHP_FUNCTION(is_finite);
|
||||
PHP_FUNCTION(is_infinite);
|
||||
PHP_FUNCTION(is_nan);
|
||||
PHP_FUNCTION(pow);
|
||||
PHP_FUNCTION(sqrt);
|
||||
PHP_FUNCTION(rand);
|
||||
PHP_FUNCTION(mt_srand);
|
||||
PHP_FUNCTION(mt_rand);
|
||||
PHP_FUNCTION(mt_getrandmax);
|
||||
PHP_FUNCTION(abs);
|
||||
PHP_FUNCTION(ceil);
|
||||
PHP_FUNCTION(floor);
|
||||
PHP_FUNCTION(round);
|
||||
PHP_FUNCTION(decbin);
|
||||
PHP_FUNCTION(dechex);
|
||||
PHP_FUNCTION(decoct);
|
||||
PHP_FUNCTION(bindec);
|
||||
PHP_FUNCTION(hexdec);
|
||||
PHP_FUNCTION(octdec);
|
||||
PHP_FUNCTION(base_convert);
|
||||
PHP_FUNCTION(number_format);
|
||||
PHP_FUNCTION(fmod);
|
||||
PHP_FUNCTION(fdiv);
|
||||
PHP_FUNCTION(deg2rad);
|
||||
PHP_FUNCTION(rad2deg);
|
||||
PHP_FUNCTION(intdiv);
|
||||
|
||||
/*
|
||||
WARNING: these functions are experimental: they could change their names or
|
||||
disappear in the next version of PHP!
|
||||
*/
|
||||
PHP_FUNCTION(hypot);
|
||||
PHP_FUNCTION(expm1);
|
||||
PHP_FUNCTION(log1p);
|
||||
|
||||
PHP_FUNCTION(sinh);
|
||||
PHP_FUNCTION(cosh);
|
||||
PHP_FUNCTION(tanh);
|
||||
|
||||
PHP_FUNCTION(asinh);
|
||||
PHP_FUNCTION(acosh);
|
||||
PHP_FUNCTION(atanh);
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#ifndef M_E
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
/*
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) The PHP Group |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 3.01 of the PHP license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
| available through the world-wide-web at the following url: |
|
||||
| http://www.php.net/license/3_01.txt |
|
||||
| If you did not receive a copy of the PHP license and are unable to |
|
||||
| obtain it through the world-wide-web, please send a note to |
|
||||
| license@php.net so we can mail you a copy immediately. |
|
||||
+----------------------------------------------------------------------+
|
||||
| Author: Thies C. Arntzen <thies@thieso.net> |
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
#ifndef PHP_METAPHONE_H
|
||||
#define PHP_METAPHONE_H
|
||||
|
||||
PHP_FUNCTION(metaphone);
|
||||
|
||||
#endif
|
||||
@@ -22,6 +22,4 @@
|
||||
|
||||
PHPAPI zend_string* php_inet_ntop(const struct sockaddr *addr);
|
||||
|
||||
PHP_FUNCTION(net_get_interfaces);
|
||||
|
||||
#endif /* PHP_NET_H */
|
||||
|
||||
@@ -18,12 +18,6 @@
|
||||
#ifndef PHP_PASSWORD_H
|
||||
#define PHP_PASSWORD_H
|
||||
|
||||
PHP_FUNCTION(password_hash);
|
||||
PHP_FUNCTION(password_verify);
|
||||
PHP_FUNCTION(password_needs_rehash);
|
||||
PHP_FUNCTION(password_get_info);
|
||||
PHP_FUNCTION(password_algos);
|
||||
|
||||
PHP_MINIT_FUNCTION(password);
|
||||
PHP_MSHUTDOWN_FUNCTION(password);
|
||||
|
||||
|
||||
@@ -19,9 +19,6 @@
|
||||
|
||||
BEGIN_EXTERN_C()
|
||||
|
||||
PHP_FUNCTION(random_bytes);
|
||||
PHP_FUNCTION(random_int);
|
||||
|
||||
PHP_MINIT_FUNCTION(random);
|
||||
PHP_MSHUTDOWN_FUNCTION(random);
|
||||
|
||||
|
||||
@@ -32,28 +32,21 @@
|
||||
#include "php_browscap.h"
|
||||
#include "pack.h"
|
||||
#include "datetime.h"
|
||||
#include "microtime.h"
|
||||
#include "url.h"
|
||||
#include "pageinfo.h"
|
||||
#include "php_link.h"
|
||||
#include "fsock.h"
|
||||
#include "php_image.h"
|
||||
#include "php_iptc.h"
|
||||
#include "info.h"
|
||||
#include "uniqid.h"
|
||||
#include "php_var.h"
|
||||
#include "quot_print.h"
|
||||
#include "dl.h"
|
||||
#include "php_crypt.h"
|
||||
#include "head.h"
|
||||
#include "php_lcg.h"
|
||||
#include "php_metaphone.h"
|
||||
#include "php_output.h"
|
||||
#include "php_array.h"
|
||||
#include "php_assert.h"
|
||||
#include "php_versioning.h"
|
||||
#include "php_ftok.h"
|
||||
#include "php_type.h"
|
||||
#include "php_password.h"
|
||||
#include "php_random.h"
|
||||
|
||||
|
||||
@@ -18,79 +18,6 @@
|
||||
#ifndef PHP_STRING_H
|
||||
#define PHP_STRING_H
|
||||
|
||||
PHP_FUNCTION(strspn);
|
||||
PHP_FUNCTION(strcspn);
|
||||
PHP_FUNCTION(str_replace);
|
||||
PHP_FUNCTION(str_ireplace);
|
||||
PHP_FUNCTION(rtrim);
|
||||
PHP_FUNCTION(trim);
|
||||
PHP_FUNCTION(ltrim);
|
||||
PHP_FUNCTION(soundex);
|
||||
PHP_FUNCTION(levenshtein);
|
||||
|
||||
PHP_FUNCTION(count_chars);
|
||||
PHP_FUNCTION(wordwrap);
|
||||
PHP_FUNCTION(explode);
|
||||
PHP_FUNCTION(implode);
|
||||
PHP_FUNCTION(strtok);
|
||||
PHP_FUNCTION(strtoupper);
|
||||
PHP_FUNCTION(strtolower);
|
||||
PHP_FUNCTION(basename);
|
||||
PHP_FUNCTION(dirname);
|
||||
PHP_FUNCTION(pathinfo);
|
||||
PHP_FUNCTION(strstr);
|
||||
PHP_FUNCTION(str_contains);
|
||||
PHP_FUNCTION(strpos);
|
||||
PHP_FUNCTION(stripos);
|
||||
PHP_FUNCTION(strrpos);
|
||||
PHP_FUNCTION(strripos);
|
||||
PHP_FUNCTION(strrchr);
|
||||
PHP_FUNCTION(substr);
|
||||
PHP_FUNCTION(quotemeta);
|
||||
PHP_FUNCTION(ucfirst);
|
||||
PHP_FUNCTION(lcfirst);
|
||||
PHP_FUNCTION(ucwords);
|
||||
PHP_FUNCTION(strtr);
|
||||
PHP_FUNCTION(strrev);
|
||||
PHP_FUNCTION(hebrev);
|
||||
PHP_FUNCTION(sprintf);
|
||||
PHP_FUNCTION(printf);
|
||||
PHP_FUNCTION(vprintf);
|
||||
PHP_FUNCTION(vsprintf);
|
||||
PHP_FUNCTION(addcslashes);
|
||||
PHP_FUNCTION(addslashes);
|
||||
PHP_FUNCTION(stripcslashes);
|
||||
PHP_FUNCTION(stripslashes);
|
||||
PHP_FUNCTION(chr);
|
||||
PHP_FUNCTION(ord);
|
||||
PHP_FUNCTION(nl2br);
|
||||
PHP_FUNCTION(setlocale);
|
||||
PHP_FUNCTION(localeconv);
|
||||
PHP_FUNCTION(nl_langinfo);
|
||||
PHP_FUNCTION(stristr);
|
||||
PHP_FUNCTION(chunk_split);
|
||||
PHP_FUNCTION(parse_str);
|
||||
PHP_FUNCTION(str_getcsv);
|
||||
PHP_FUNCTION(bin2hex);
|
||||
PHP_FUNCTION(hex2bin);
|
||||
PHP_FUNCTION(similar_text);
|
||||
PHP_FUNCTION(strip_tags);
|
||||
PHP_FUNCTION(str_repeat);
|
||||
PHP_FUNCTION(substr_replace);
|
||||
PHP_FUNCTION(strnatcmp);
|
||||
PHP_FUNCTION(strnatcasecmp);
|
||||
PHP_FUNCTION(substr_count);
|
||||
PHP_FUNCTION(str_pad);
|
||||
PHP_FUNCTION(sscanf);
|
||||
PHP_FUNCTION(str_shuffle);
|
||||
PHP_FUNCTION(str_word_count);
|
||||
PHP_FUNCTION(str_split);
|
||||
PHP_FUNCTION(strpbrk);
|
||||
PHP_FUNCTION(substr_compare);
|
||||
PHP_FUNCTION(utf8_encode);
|
||||
PHP_FUNCTION(utf8_decode);
|
||||
PHP_FUNCTION(strcoll);
|
||||
|
||||
#if defined(ZTS)
|
||||
PHP_MINIT_FUNCTION(localeconv);
|
||||
PHP_MSHUTDOWN_FUNCTION(localeconv);
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
/*
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) The PHP Group |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 3.01 of the PHP license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
| available through the world-wide-web at the following url: |
|
||||
| http://www.php.net/license/3_01.txt |
|
||||
| If you did not receive a copy of the PHP license and are unable to |
|
||||
| obtain it through the world-wide-web, please send a note to |
|
||||
| license@php.net so we can mail you a copy immediately. |
|
||||
+----------------------------------------------------------------------+
|
||||
| Author: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
#ifndef PHP_TYPE_H
|
||||
#define PHP_TYPE_H
|
||||
|
||||
PHP_FUNCTION(intval);
|
||||
PHP_FUNCTION(floatval);
|
||||
PHP_FUNCTION(strval);
|
||||
PHP_FUNCTION(boolval);
|
||||
PHP_FUNCTION(gettype);
|
||||
PHP_FUNCTION(settype);
|
||||
PHP_FUNCTION(is_null);
|
||||
PHP_FUNCTION(is_resource);
|
||||
PHP_FUNCTION(is_bool);
|
||||
PHP_FUNCTION(is_int);
|
||||
PHP_FUNCTION(is_float);
|
||||
PHP_FUNCTION(is_numeric);
|
||||
PHP_FUNCTION(is_string);
|
||||
PHP_FUNCTION(is_array);
|
||||
PHP_FUNCTION(is_object);
|
||||
PHP_FUNCTION(is_scalar);
|
||||
PHP_FUNCTION(is_callable);
|
||||
PHP_FUNCTION(is_iterable);
|
||||
PHP_FUNCTION(is_countable);
|
||||
|
||||
#endif
|
||||
@@ -17,9 +17,6 @@
|
||||
#ifndef PHP_UUENCODE_H
|
||||
#define PHP_UUENCODE_H
|
||||
|
||||
PHP_FUNCTION(convert_uudecode);
|
||||
PHP_FUNCTION(convert_uuencode);
|
||||
|
||||
PHPAPI zend_string *php_uudecode(char *src, size_t src_len);
|
||||
PHPAPI zend_string *php_uuencode(char *src, size_t src_len);
|
||||
|
||||
|
||||
@@ -21,13 +21,6 @@
|
||||
#include "zend_smart_str_public.h"
|
||||
|
||||
PHP_MINIT_FUNCTION(var);
|
||||
PHP_FUNCTION(var_dump);
|
||||
PHP_FUNCTION(var_export);
|
||||
PHP_FUNCTION(debug_zval_dump);
|
||||
PHP_FUNCTION(serialize);
|
||||
PHP_FUNCTION(unserialize);
|
||||
PHP_FUNCTION(memory_get_usage);
|
||||
PHP_FUNCTION(memory_get_peak_usage);
|
||||
|
||||
PHPAPI void php_var_dump(zval *struc, int level);
|
||||
PHPAPI void php_var_export(zval *struc, int level);
|
||||
|
||||
@@ -21,6 +21,5 @@
|
||||
|
||||
PHPAPI char *php_canonicalize_version(const char *);
|
||||
PHPAPI int php_version_compare(const char *, const char *);
|
||||
PHP_FUNCTION(version_compare);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -20,7 +20,4 @@
|
||||
PHPAPI zend_string *php_quot_print_decode(const unsigned char *str, size_t length, int replace_us_by_ws);
|
||||
PHPAPI zend_string *php_quot_print_encode(const unsigned char *str, size_t length);
|
||||
|
||||
PHP_FUNCTION(quoted_printable_decode);
|
||||
PHP_FUNCTION(quoted_printable_encode);
|
||||
|
||||
#endif /* QUOT_PRINT_H */
|
||||
|
||||
@@ -31,7 +31,4 @@ PHPAPI void PHP_SHA1Update(PHP_SHA1_CTX *, const unsigned char *, size_t);
|
||||
PHPAPI void PHP_SHA1Final(unsigned char[20], PHP_SHA1_CTX *);
|
||||
PHPAPI void make_sha1_digest(char *sha1str, unsigned char *digest);
|
||||
|
||||
PHP_FUNCTION(sha1);
|
||||
PHP_FUNCTION(sha1_file);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -18,50 +18,3 @@
|
||||
#define PHP_STREAM_CLIENT_PERSISTENT 1
|
||||
#define PHP_STREAM_CLIENT_ASYNC_CONNECT 2
|
||||
#define PHP_STREAM_CLIENT_CONNECT 4
|
||||
|
||||
PHP_FUNCTION(stream_socket_client);
|
||||
PHP_FUNCTION(stream_socket_server);
|
||||
PHP_FUNCTION(stream_socket_accept);
|
||||
PHP_FUNCTION(stream_socket_get_name);
|
||||
PHP_FUNCTION(stream_socket_recvfrom);
|
||||
PHP_FUNCTION(stream_socket_sendto);
|
||||
|
||||
PHP_FUNCTION(stream_copy_to_stream);
|
||||
PHP_FUNCTION(stream_get_contents);
|
||||
|
||||
PHP_FUNCTION(stream_set_blocking);
|
||||
PHP_FUNCTION(stream_select);
|
||||
PHP_FUNCTION(stream_set_timeout);
|
||||
PHP_FUNCTION(stream_set_read_buffer);
|
||||
PHP_FUNCTION(stream_set_write_buffer);
|
||||
PHP_FUNCTION(stream_set_chunk_size);
|
||||
PHP_FUNCTION(stream_get_transports);
|
||||
PHP_FUNCTION(stream_get_wrappers);
|
||||
PHP_FUNCTION(stream_get_line);
|
||||
PHP_FUNCTION(stream_get_meta_data);
|
||||
PHP_FUNCTION(stream_wrapper_register);
|
||||
PHP_FUNCTION(stream_wrapper_unregister);
|
||||
PHP_FUNCTION(stream_wrapper_restore);
|
||||
PHP_FUNCTION(stream_context_create);
|
||||
PHP_FUNCTION(stream_context_set_params);
|
||||
PHP_FUNCTION(stream_context_get_params);
|
||||
PHP_FUNCTION(stream_context_set_option);
|
||||
PHP_FUNCTION(stream_context_get_options);
|
||||
PHP_FUNCTION(stream_context_get_default);
|
||||
PHP_FUNCTION(stream_context_set_default);
|
||||
PHP_FUNCTION(stream_filter_prepend);
|
||||
PHP_FUNCTION(stream_filter_append);
|
||||
PHP_FUNCTION(stream_filter_remove);
|
||||
PHP_FUNCTION(stream_socket_enable_crypto);
|
||||
PHP_FUNCTION(stream_socket_shutdown);
|
||||
PHP_FUNCTION(stream_resolve_include_path);
|
||||
PHP_FUNCTION(stream_is_local);
|
||||
PHP_FUNCTION(stream_supports_lock);
|
||||
PHP_FUNCTION(stream_isatty);
|
||||
#ifdef PHP_WIN32
|
||||
PHP_FUNCTION(sapi_windows_vt100_support);
|
||||
#endif
|
||||
|
||||
#if HAVE_SOCKETPAIR
|
||||
PHP_FUNCTION(stream_socket_pair);
|
||||
#endif
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#endif
|
||||
|
||||
#include "php_lcg.h"
|
||||
#include "uniqid.h"
|
||||
|
||||
#ifdef HAVE_GETTIMEOFDAY
|
||||
ZEND_TLS struct timeval prev_tv = { 0, 0 };
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
/*
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) The PHP Group |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 3.01 of the PHP license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
| available through the world-wide-web at the following url: |
|
||||
| http://www.php.net/license/3_01.txt |
|
||||
| If you did not receive a copy of the PHP license and are unable to |
|
||||
| obtain it through the world-wide-web, please send a note to |
|
||||
| license@php.net so we can mail you a copy immediately. |
|
||||
+----------------------------------------------------------------------+
|
||||
| Author: Stig Sæther Bakken <ssb@php.net> |
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
#ifndef UNIQID_H
|
||||
#define UNIQID_H
|
||||
|
||||
#ifdef HAVE_GETTIMEOFDAY
|
||||
PHP_FUNCTION(uniqid);
|
||||
#endif
|
||||
|
||||
#endif /* UNIQID_H */
|
||||
@@ -37,13 +37,6 @@ PHPAPI zend_string *php_url_encode(char const *s, size_t len);
|
||||
PHPAPI zend_string *php_raw_url_encode(char const *s, size_t len);
|
||||
PHPAPI char *php_replace_controlchars_ex(char *str, size_t len);
|
||||
|
||||
PHP_FUNCTION(parse_url);
|
||||
PHP_FUNCTION(urlencode);
|
||||
PHP_FUNCTION(urldecode);
|
||||
PHP_FUNCTION(rawurlencode);
|
||||
PHP_FUNCTION(rawurldecode);
|
||||
PHP_FUNCTION(get_headers);
|
||||
|
||||
#define PHP_URL_SCHEME 0
|
||||
#define PHP_URL_HOST 1
|
||||
#define PHP_URL_PORT 2
|
||||
|
||||
Reference in New Issue
Block a user