php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
url.c File Reference
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <sys/types.h>
#include "php.h"
#include "url.h"
#include "file.h"

Go to the source code of this file.

Functions

PHPAPI void php_url_free (php_url *theurl)
 
PHPAPI php_urlphp_url_parse (char const *str)
 
PHPAPI php_urlphp_url_parse_ex (char const *str, size_t length)
 
PHPAPI php_urlphp_url_parse_ex2 (char const *str, size_t length, bool *has_port)
 
 PHP_FUNCTION (parse_url)
 
PHPAPI zend_stringphp_url_encode (char const *s, size_t len)
 
 PHP_FUNCTION (urlencode)
 
 PHP_FUNCTION (urldecode)
 
PHPAPI size_t php_url_decode (char *str, size_t len)
 
PHPAPI zend_stringphp_raw_url_encode (char const *s, size_t len)
 
 PHP_FUNCTION (rawurlencode)
 
 PHP_FUNCTION (rawurldecode)
 
PHPAPI size_t php_raw_url_decode (char *str, size_t len)
 
 PHP_FUNCTION (get_headers)
 

Function Documentation

◆ PHP_FUNCTION() [1/6]

PHP_FUNCTION ( get_headers )

Definition at line 667 of file url.c.

◆ PHP_FUNCTION() [2/6]

PHP_FUNCTION ( parse_url )

Definition at line 319 of file url.c.

◆ PHP_FUNCTION() [3/6]

PHP_FUNCTION ( rawurldecode )

Definition at line 628 of file url.c.

◆ PHP_FUNCTION() [4/6]

PHP_FUNCTION ( rawurlencode )

Definition at line 615 of file url.c.

◆ PHP_FUNCTION() [5/6]

PHP_FUNCTION ( urldecode )

Definition at line 566 of file url.c.

◆ PHP_FUNCTION() [6/6]

PHP_FUNCTION ( urlencode )

Definition at line 553 of file url.c.

◆ php_raw_url_decode()

PHPAPI size_t php_raw_url_decode ( char * str,
size_t len )

Definition at line 644 of file url.c.

◆ php_raw_url_encode()

PHPAPI zend_string * php_raw_url_encode ( char const * s,
size_t len )

Definition at line 608 of file url.c.

◆ php_url_decode()

PHPAPI size_t php_url_decode ( char * str,
size_t len )

Definition at line 582 of file url.c.

◆ php_url_encode()

PHPAPI zend_string * php_url_encode ( char const * s,
size_t len )

Definition at line 546 of file url.c.

◆ php_url_free()

PHPAPI void php_url_free ( php_url * theurl)

Definition at line 32 of file url.c.

◆ php_url_parse()

PHPAPI php_url * php_url_parse ( char const * str)

Definition at line 67 of file url.c.

◆ php_url_parse_ex()

PHPAPI php_url * php_url_parse_ex ( char const * str,
size_t length )

Definition at line 84 of file url.c.

◆ php_url_parse_ex2()

PHPAPI php_url * php_url_parse_ex2 ( char const * str,
size_t length,
bool * has_port )

Definition at line 92 of file url.c.