}
/* }}} */
-/* {{{ proto string base64_encode(string str) U
+/* {{{ proto binary base64_encode(binary str) U
Encodes string using MIME base64 algorithm */
PHP_FUNCTION(base64_encode)
{
/* }}} */
-/* {{{ proto string base64_decode(string str[, bool strict]) U
+/* {{{ proto binary base64_decode(binary str[, bool strict]) U
Decodes string using MIME base64 algorithm */
PHP_FUNCTION(base64_decode)
{
}
/* }}} */
-/* {{{ proto string urlencode(string str)
+/* {{{ proto string urlencode(binary str) U
URL-encodes string */
PHP_FUNCTION(urlencode)
{
char *in_str, *out_str;
int in_str_len, out_str_len;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &in_str,
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S", &in_str,
&in_str_len) == FAILURE) {
return;
}
}
/* }}} */
-/* {{{ proto string urldecode(string str)
+/* {{{ proto binary urldecode(binary str) U
Decodes URL-encoded string */
PHP_FUNCTION(urldecode)
{
}
/* }}} */
-/* {{{ proto string rawurlencode(string str)
+/* {{{ proto binary rawurlencode(binary str) U
URL-encodes string */
PHP_FUNCTION(rawurlencode)
{
}
/* }}} */
-/* {{{ proto string rawurldecode(string str)
+/* {{{ proto binary rawurldecode(binary str) U
Decodes URL-encodes string */
PHP_FUNCTION(rawurldecode)
{