-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from kuzmichus/master
Add CURL ext.
- Loading branch information
Showing
2 changed files
with
337 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,306 @@ | ||
<?php | ||
return array( | ||
'functions' => array( | ||
'curl_close', | ||
'curl_copy_handle', | ||
'curl_errno', | ||
'curl_error', | ||
'curl_escape', | ||
'curl_exec', | ||
'curl_file_create', | ||
'curl_getinfo', | ||
'curl_init', | ||
'curl_multi_add_handle', | ||
'curl_multi_close', | ||
'curl_multi_exec', | ||
'curl_multi_getcontent', | ||
'curl_multi_info_read', | ||
'curl_multi_init', | ||
'curl_multi_remove_handle', | ||
'curl_multi_select', | ||
'curl_multi_setopt', | ||
'curl_multi_strerror', | ||
'curl_pause', | ||
'curl_reset', | ||
'curl_setopt_array', | ||
'curl_setopt', | ||
'curl_share_close', | ||
'curl_share_init', | ||
'curl_share_setopt', | ||
'curl_strerror', | ||
'curl_unescape', | ||
'curl_version' | ||
), | ||
'classes' => array( | ||
'CURLFile' | ||
), | ||
'constants' => array( | ||
'CURLOPT_AUTOREFERER', | ||
'CURLOPT_COOKIESESSION', | ||
'CURLOPT_DNS_USE_GLOBAL_CACHE', | ||
'CURLOPT_DNS_CACHE_TIMEOUT', | ||
'CURLOPT_FTP_SSL', | ||
'CURLFTPSSL_TRY', | ||
'CURLFTPSSL_ALL', | ||
'CURLFTPSSL_CONTROL', | ||
'CURLFTPSSL_NONE', | ||
'CURLOPT_PRIVATE', | ||
'CURLOPT_FTPSSLAUTH', | ||
'CURLOPT_PORT', | ||
'CURLOPT_FILE', | ||
'CURLOPT_INFILE', | ||
'CURLOPT_INFILESIZE', | ||
'CURLOPT_URL', | ||
'CURLOPT_PROXY', | ||
'CURLOPT_VERBOSE', | ||
'CURLOPT_HEADER', | ||
'CURLOPT_HTTPHEADER', | ||
'CURLOPT_NOPROGRESS', | ||
'CURLOPT_NOBODY', | ||
'CURLOPT_FAILONERROR', | ||
'CURLOPT_UPLOAD', | ||
'CURLOPT_POST', | ||
'CURLOPT_FTPLISTONLY', | ||
'CURLOPT_FTPAPPEND', | ||
'CURLOPT_FTP_CREATE_MISSING_DIRS', | ||
'CURLOPT_NETRC', | ||
'CURLOPT_FOLLOWLOCATION', | ||
'CURLOPT_FTPASCII', | ||
'CURLOPT_PUT', | ||
'CURLOPT_MUTE', | ||
'CURLOPT_USERPWD', | ||
'CURLOPT_PROXYUSERPWD', | ||
'CURLOPT_RANGE', | ||
'CURLOPT_TIMEOUT', | ||
'CURLOPT_TIMEOUT_MS', | ||
'CURLOPT_TCP_NODELAY', | ||
'CURLOPT_POSTFIELDS', | ||
'CURLOPT_PROGRESSFUNCTION', | ||
'CURLOPT_REFERER', | ||
'CURLOPT_USERAGENT', | ||
'CURLOPT_FTPPORT', | ||
'CURLOPT_FTP_USE_EPSV', | ||
'CURLOPT_LOW_SPEED_LIMIT', | ||
'CURLOPT_LOW_SPEED_TIME', | ||
'CURLOPT_RESUME_FROM', | ||
'CURLOPT_COOKIE', | ||
'CURLOPT_SSLCERT', | ||
'CURLOPT_SSLCERTPASSWD', | ||
'CURLOPT_WRITEHEADER', | ||
'CURLOPT_SSL_VERIFYHOST', | ||
'CURLOPT_COOKIEFILE', | ||
'CURLOPT_SSLVERSION', | ||
'CURL_SSLVERSION_DEFAULT', | ||
'CURL_SSLVERSION_TLSv1', | ||
'CURL_SSLVERSION_SSLv2', | ||
'CURL_SSLVERSION_SSLv3', | ||
'CURL_SSLVERSION_TLSv1_0', | ||
'CURL_SSLVERSION_TLSv1_1', | ||
'CURL_SSLVERSION_TLSv1_2', | ||
'CURLOPT_TIMECONDITION', | ||
'CURLOPT_TIMEVALUE', | ||
'CURLOPT_CUSTOMREQUEST', | ||
'CURLOPT_STDERR', | ||
'CURLOPT_TRANSFERTEXT', | ||
'CURLOPT_RETURNTRANSFER', | ||
'CURLOPT_QUOTE', | ||
'CURLOPT_POSTQUOTE', | ||
'CURLOPT_INTERFACE', | ||
'CURLOPT_KRB4LEVEL', | ||
'CURLOPT_HTTPPROXYTUNNEL', | ||
'CURLOPT_FILETIME', | ||
'CURLOPT_WRITEFUNCTION', | ||
'CURLOPT_READFUNCTION', | ||
'CURLOPT_PASSWDFUNCTION', | ||
'CURLOPT_HEADERFUNCTION', | ||
'CURLOPT_MAXREDIRS', | ||
'CURLOPT_MAXCONNECTS', | ||
'CURLOPT_CLOSEPOLICY', | ||
'CURLOPT_FRESH_CONNECT', | ||
'CURLOPT_FORBID_REUSE', | ||
'CURLOPT_RANDOM_FILE', | ||
'CURLOPT_EGDSOCKET', | ||
'CURLOPT_CONNECTTIMEOUT', | ||
'CURLOPT_CONNECTTIMEOUT_MS', | ||
'CURLOPT_SSL_VERIFYPEER', | ||
'CURLOPT_CAINFO', | ||
'CURLOPT_CAPATH', | ||
'CURLOPT_COOKIEJAR', | ||
'CURLOPT_SSL_CIPHER_LIST', | ||
'CURLOPT_BINARYTRANSFER', | ||
'CURLOPT_NOSIGNAL', | ||
'CURLOPT_PROXYTYPE', | ||
'CURLOPT_BUFFERSIZE', | ||
'CURLOPT_HTTPGET', | ||
'CURLOPT_HTTP_VERSION', | ||
'CURLOPT_SSLKEY', | ||
'CURLOPT_SSLKEYTYPE', | ||
'CURLOPT_SSLKEYPASSWD', | ||
'CURLOPT_SSLENGINE', | ||
'CURLOPT_SSLENGINE_DEFAULT', | ||
'CURLOPT_SSLCERTTYPE', | ||
'CURLOPT_CRLF', | ||
'CURLOPT_ENCODING', | ||
'CURLOPT_PROXYPORT', | ||
'CURLOPT_UNRESTRICTED_AUTH', | ||
'CURLOPT_FTP_USE_EPRT', | ||
'CURLOPT_HTTP200ALIASES', | ||
'CURLOPT_HTTPAUTH', | ||
'CURLAUTH_BASIC', | ||
'CURLAUTH_DIGEST', | ||
'CURLAUTH_GSSNEGOTIATE', | ||
'CURLAUTH_NTLM', | ||
'CURLAUTH_ANY', | ||
'CURLAUTH_ANYSAFE', | ||
'CURLOPT_PROXYAUTH', | ||
'CURLOPT_MAX_RECV_SPEED_LARGE', | ||
'CURLOPT_MAX_SEND_SPEED_LARGE', | ||
'CURLCLOSEPOLICY_LEAST_RECENTLY_USED', | ||
'CURLCLOSEPOLICY_LEAST_TRAFFIC', | ||
'CURLCLOSEPOLICY_SLOWEST', | ||
'CURLCLOSEPOLICY_CALLBACK', | ||
'CURLCLOSEPOLICY_OLDEST', | ||
'CURLINFO_PRIVATE', | ||
'CURLINFO_EFFECTIVE_URL', | ||
'CURLINFO_HTTP_CODE', | ||
'CURLINFO_HEADER_OUT', | ||
'CURLINFO_HEADER_SIZE', | ||
'CURLINFO_REQUEST_SIZE', | ||
'CURLINFO_TOTAL_TIME', | ||
'CURLINFO_NAMELOOKUP_TIME', | ||
'CURLINFO_CONNECT_TIME', | ||
'CURLINFO_PRETRANSFER_TIME', | ||
'CURLINFO_SIZE_UPLOAD', | ||
'CURLINFO_SIZE_DOWNLOAD', | ||
'CURLINFO_SPEED_DOWNLOAD', | ||
'CURLINFO_SPEED_UPLOAD', | ||
'CURLINFO_FILETIME', | ||
'CURLINFO_SSL_VERIFYRESULT', | ||
'CURLINFO_CONTENT_LENGTH_DOWNLOAD', | ||
'CURLINFO_CONTENT_LENGTH_UPLOAD', | ||
'CURLINFO_STARTTRANSFER_TIME', | ||
'CURLINFO_CONTENT_TYPE', | ||
'CURLINFO_REDIRECT_TIME', | ||
'CURLINFO_REDIRECT_COUNT', | ||
'CURLINFO_REDIRECT_URL', | ||
'CURLINFO_PRIMARY_IP', | ||
'CURLINFO_PRIMARY_PORT', | ||
'CURLINFO_LOCAL_IP', | ||
'CURLINFO_LOCAL_PORT', | ||
'CURL_TIMECOND_IFMODSINCE', | ||
'CURL_TIMECOND_IFUNMODSINCE', | ||
'CURL_TIMECOND_LASTMOD', | ||
'CURL_VERSION_IPV6', | ||
'CURL_VERSION_KERBEROS4', | ||
'CURL_VERSION_SSL', | ||
'CURL_VERSION_LIBZ', | ||
'CURLVERSION_NOW', | ||
'CURLE_OK', | ||
'CURLE_UNSUPPORTED_PROTOCOL', | ||
'CURLE_FAILED_INIT', | ||
'CURLE_URL_MALFORMAT', | ||
'CURLE_URL_MALFORMAT_USER', | ||
'CURLE_COULDNT_RESOLVE_PROXY', | ||
'CURLE_COULDNT_RESOLVE_HOST', | ||
'CURLE_COULDNT_CONNECT', | ||
'CURLE_FTP_WEIRD_SERVER_REPLY', | ||
'CURLE_FTP_ACCESS_DENIED', | ||
'CURLE_FTP_USER_PASSWORD_INCORRECT', | ||
'CURLE_FTP_WEIRD_PASS_REPLY', | ||
'CURLE_FTP_WEIRD_USER_REPLY', | ||
'CURLE_FTP_WEIRD_PASV_REPLY', | ||
'CURLE_FTP_WEIRD_227_FORMAT', | ||
'CURLE_FTP_CANT_GET_HOST', | ||
'CURLE_FTP_CANT_RECONNECT', | ||
'CURLE_FTP_COULDNT_SET_BINARY', | ||
'CURLE_PARTIAL_FILE', | ||
'CURLE_FTP_COULDNT_RETR_FILE', | ||
'CURLE_FTP_WRITE_ERROR', | ||
'CURLE_FTP_QUOTE_ERROR', | ||
'CURLE_HTTP_NOT_FOUND', | ||
'CURLE_WRITE_ERROR', | ||
'CURLE_MALFORMAT_USER', | ||
'CURLE_FTP_COULDNT_STOR_FILE', | ||
'CURLE_READ_ERROR', | ||
'CURLE_OUT_OF_MEMORY', | ||
'CURLE_OPERATION_TIMEOUTED', | ||
'CURLE_FTP_COULDNT_SET_ASCII', | ||
'CURLE_FTP_PORT_FAILED', | ||
'CURLE_FTP_COULDNT_USE_REST', | ||
'CURLE_FTP_COULDNT_GET_SIZE', | ||
'CURLE_HTTP_RANGE_ERROR', | ||
'CURLE_HTTP_POST_ERROR', | ||
'CURLE_SSL_CONNECT_ERROR', | ||
'CURLE_FTP_BAD_DOWNLOAD_RESUME', | ||
'CURLE_FILE_COULDNT_READ_FILE', | ||
'CURLE_LDAP_CANNOT_BIND', | ||
'CURLE_LDAP_SEARCH_FAILED', | ||
'CURLE_LIBRARY_NOT_FOUND', | ||
'CURLE_FUNCTION_NOT_FOUND', | ||
'CURLE_ABORTED_BY_CALLBACK', | ||
'CURLE_BAD_FUNCTION_ARGUMENT', | ||
'CURLE_BAD_CALLING_ORDER', | ||
'CURLE_HTTP_PORT_FAILED', | ||
'CURLE_BAD_PASSWORD_ENTERED', | ||
'CURLE_TOO_MANY_REDIRECTS', | ||
'CURLE_UNKNOWN_TELNET_OPTION', | ||
'CURLE_TELNET_OPTION_SYNTAX', | ||
'CURLE_OBSOLETE', | ||
'CURLE_SSL_PEER_CERTIFICATE', | ||
'CURLE_GOT_NOTHING', | ||
'CURLE_SSL_ENGINE_NOTFOUND', | ||
'CURLE_SSL_ENGINE_SETFAILED', | ||
'CURLE_SEND_ERROR', | ||
'CURLE_RECV_ERROR', | ||
'CURLE_SHARE_IN_USE', | ||
'CURLE_SSL_CERTPROBLEM', | ||
'CURLE_SSL_CIPHER', | ||
'CURLE_SSL_CACERT', | ||
'CURLE_BAD_CONTENT_ENCODING', | ||
'CURLE_LDAP_INVALID_URL', | ||
'CURLE_FILESIZE_EXCEEDED', | ||
'CURLE_FTP_SSL_FAILED', | ||
'CURLFTPAUTH_DEFAULT', | ||
'CURLFTPAUTH_SSL', | ||
'CURLFTPAUTH_TLS', | ||
'CURLPROXY_HTTP', | ||
'CURLPROXY_SOCKS5', | ||
'CURL_NETRC_OPTIONAL', | ||
'CURL_NETRC_IGNORED', | ||
'CURL_NETRC_REQUIRED', | ||
'CURL_HTTP_VERSION_NONE', | ||
'CURL_HTTP_VERSION_1_0', | ||
'CURL_HTTP_VERSION_1_1', | ||
'CURLM_CALL_MULTI_PERFORM', | ||
'CURLM_OK', | ||
'CURLM_BAD_HANDLE', | ||
'CURLM_BAD_EASY_HANDLE', | ||
'CURLM_OUT_OF_MEMORY', | ||
'CURLM_INTERNAL_ERROR', | ||
'CURLMSG_DONE', | ||
'CURLOPT_KEYPASSWD', | ||
'CURLOPT_SSH_AUTH_TYPES', | ||
'CURLOPT_SSH_HOST_PUBLIC_KEY_MD5', | ||
'CURLOPT_SSH_PRIVATE_KEYFILE', | ||
'CURLOPT_SSH_PUBLIC_KEYFILE', | ||
'CURLMOPT_PIPELINING', | ||
'CURLMOPT_MAXCONNECTS', | ||
'CURLSSH_AUTH_ANY', | ||
'CURLSSH_AUTH_DEFAULT', | ||
'CURLSSH_AUTH_HOST', | ||
'CURLSSH_AUTH_KEYBOARD', | ||
'CURLSSH_AUTH_NONE', | ||
'CURLSSH_AUTH_PASSWORD', | ||
'CURLSSH_AUTH_PUBLICKEY', | ||
'CURL_WRAPPERS_ENABLED', | ||
'CURLPAUSE_ALL', | ||
'CURLPAUSE_CONT', | ||
'CURLPAUSE_RECV', | ||
'CURLPAUSE_RECV_CONT', | ||
'CURLPAUSE_SEND', | ||
'CURLPAUSE_SEND_CONT', | ||
'CURLPROXY_SOCKS4A', | ||
'CURLPROXY_SOCKS5_HOSTNAME' | ||
), | ||
'php_version' => '4.0.2', | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
return array( | ||
'functions' => array( | ||
'json_decode', | ||
'json_encode', | ||
'json_last_error_msg', | ||
'json_last_error' | ||
), | ||
'constants' => array( | ||
'JSON_ERROR_NONE', | ||
'JSON_ERROR_DEPTH', | ||
'JSON_ERROR_STATE_MISMATCH', | ||
'JSON_ERROR_CTRL_CHAR', | ||
'JSON_ERROR_SYNTAX', | ||
'JSON_ERROR_UTF8', | ||
'JSON_ERROR_RECURSION', | ||
'JSON_ERROR_INF_OR_NAN', | ||
'JSON_ERROR_UNSUPPORTED_TYPE', | ||
'JSON_HEX_TAG', | ||
'JSON_HEX_AMP', | ||
'JSON_HEX_APOS', | ||
'JSON_HEX_QUOT', | ||
'JSON_FORCE_OBJECT', | ||
'JSON_NUMERIC_CHECK', | ||
'JSON_BIGINT_AS_STRING', | ||
'JSON_PRETTY_PRINT', | ||
'JSON_UNESCAPED_SLASHES', | ||
'JSON_UNESCAPED_UNICODE' | ||
), | ||
'php_version' => '5.2.0', | ||
); |