PHP Manual
Prev |  | Next

# CLXI. URL Functions

# Introduction

Dealing with URL strings: encoding, decoding and parsing.

# Requirements

No external libraries are needed to build this extension.

# Installation

There is no installation needed to use these functions; they are part of the PHP core.

# Runtime Configuration

This extension has no configuration directives defined in `php.ini`.

# Resource Types

This extension has no resource types defined.

# Predefined Constants

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

The following constants are meant to be used with parse_url() and are available since PHP 5.1.2.

`PHP_URL_SCHEME` (integer)

`PHP_URL_HOST` (integer)

`PHP_URL_PORT` (integer)

`PHP_URL_USER` (integer)

`PHP_URL_PASS` (integer)

`PHP_URL_PATH` (integer)

`PHP_URL_QUERY` (integer)

`PHP_URL_FRAGMENT` (integer)

Prev | Home | Next
unicode_semantics | Up | base64_decode