projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- fypo tix
[m6w6/ext-http]
/
http_functions.c
diff --git
a/http_functions.c
b/http_functions.c
index 82597f4517f4d22aa91d79d8426878065fdcdc3a..2018c276dcd3d350781de2a8d447e469aa006286 100644
(file)
--- a/
http_functions.c
+++ b/
http_functions.c
@@
-62,6
+62,10
@@
PHP_FUNCTION(http_date)
}
/* }}} */
}
/* }}} */
+#if PHP_MAJOR_VERSION == 4 && PHP_MINOR_VERSION == 3 && PHP_RELEASE_VERSION < 10
+# define php_url_parse_ex(u, l) php_url_parse(u)
+#endif
+
/* {{{ proto string http_build_url([mixed url[, mixed parts[, int flags = HTTP_URL_REPLACE[, array &new_url]]]])
*
* Build an URL.
/* {{{ proto string http_build_url([mixed url[, mixed parts[, int flags = HTTP_URL_REPLACE[, array &new_url]]]])
*
* Build an URL.
@@
-1151,7
+1155,7
@@
PHP_FUNCTION(http_get_request_headers)
NO_ARGS;
array_init(return_value);
NO_ARGS;
array_init(return_value);
- http_get_request_headers(
return_value
);
+ http_get_request_headers(
Z_ARRVAL_P(return_value)
);
}
/* }}} */
}
/* }}} */