summaryrefslogtreecommitdiff
path: root/ext/standard/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/url.c')
-rw-r--r--ext/standard/url.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/standard/url.c b/ext/standard/url.c
index a33091a86b..d1baff1049 100644
--- a/ext/standard/url.c
+++ b/ext/standard/url.c
@@ -95,13 +95,13 @@ static const char *binary_strcspn(const char *s, const char *e, const char *char
/* {{{ php_url_parse */
PHPAPI php_url *php_url_parse_ex(char const *str, size_t length)
{
- zend_bool has_port;
+ bool has_port;
return php_url_parse_ex2(str, length, &has_port);
}
/* {{{ php_url_parse_ex2
*/
-PHPAPI php_url *php_url_parse_ex2(char const *str, size_t length, zend_bool *has_port)
+PHPAPI php_url *php_url_parse_ex2(char const *str, size_t length, bool *has_port)
{
char port_buf[6];
php_url *ret = ecalloc(1, sizeof(php_url));
@@ -335,7 +335,7 @@ PHP_FUNCTION(parse_url)
php_url *resource;
zend_long key = -1;
zval tmp;
- zend_bool has_port;
+ bool has_port;
ZEND_PARSE_PARAMETERS_START(1, 2)
Z_PARAM_STRING(str, str_len)
@@ -458,7 +458,7 @@ static int php_htoi(char *s)
static const unsigned char hexchars[] = "0123456789ABCDEF";
-static zend_always_inline zend_string *php_url_encode_impl(const char *s, size_t len, zend_bool raw) /* {{{ */ {
+static zend_always_inline zend_string *php_url_encode_impl(const char *s, size_t len, bool raw) /* {{{ */ {
register unsigned char c;
unsigned char *to;
unsigned char const *from, *end;
@@ -683,7 +683,7 @@ PHP_FUNCTION(get_headers)
size_t url_len;
php_stream *stream;
zval *prev_val, *hdr = NULL;
- zend_bool format = 0;
+ bool format = 0;
zval *zcontext = NULL;
php_stream_context *context;