V8Js::__construct

(PECL v8js >= 0.1.0) Construct a new V8Js object public V8Js::__construct ([ string $object_name = "PHP" [, array $variables = array() [, array $extensions = array() [, bool $report_uncaught_exceptions = TRUE ]]]] ) Constructs a new V8Js object. Parameters: object_name The name of the object passed to Javascript. variables Map of

urlencode

(PHP 4, PHP 5, PHP 7) URL-encodes string string urlencode ( string $str ) This function is convenient when encoding a string to be used in a query part of a URL, as a convenient way to pass variables to the next page. Parameters: str The string to be encoded. Returns: Returns a string in which all non-alphanumeric characters except -_. have been

urldecode

(PHP 4, PHP 5, PHP 7) Decodes URL-encoded string string urldecode ( string $str ) Decodes any %## encoding in the given string. Plus symbols ('+') are decoded to a space character. Parameters: str The string to be decoded. Returns: Returns the decoded string. Examples: urldecode() exa

rawurlencode

(PHP 4, PHP 5, PHP 7) URL-encode according to RFC 3986 string rawurlencode ( string $str ) Encodes the given string according to » RFC 3986. Parameters: str The URL to be encoded. Returns: Returns a string in which all non-alphanumeric characters except -_.~ have been replaced with a percent (%) sign followed by two hex digits. This is the encodi

rawurldecode

(PHP 4, PHP 5, PHP 7) Decode URL-encoded strings string rawurldecode ( string $str ) Returns a string in which the sequences with percent (%) signs followed by two hex digits have been replaced with literal characters. Parameters: str The URL to be decoded. Returns: Returns the decoded URL, as a string. Notes:

parse_url

(PHP 4, PHP 5, PHP 7) Parse a URL and return its components mixed parse_url ( string $url [, int $component = -1 ] ) This function parses a URL and returns an associative array containing any of the various components of the URL that are present. This function is not meant to validate the given URL, it only breaks it up into the above listed parts. Partial URLs are also accepted, parse_url() tries its best to parse them c

http_build_query

(PHP 5, PHP 7) Generate URL-encoded query string string http_build_query ( mixed $query_data [, string $numeric_prefix [, string $arg_separator [, int $enc_type = PHP_QUERY_RFC1738 ]]] ) Generates a URL-encoded query string from the associative (or indexed) array provided. Parameters: query_data May be an array or object containing properties. If query_data is an array

get_meta_tags

(PHP 4, PHP 5, PHP 7) Extracts all meta tag content attributes from a file and returns an array array get_meta_tags ( string $filename [, bool $use_include_path = false ] ) Opens filename and parses it line by line for <meta> tags in the file. The parsing stops at </head>. Parameters: filename The path to the HTML file, as a string. This can be a local file o

get_headers

(PHP 5, PHP 7) Fetches all the headers sent by the server in response to a HTTP request array get_headers ( string $url [, int $format = 0 ] ) get_headers() returns an array with the headers sent by the server in response to a HTTP request. Parameters: url The target URL. format If the optional format parameter is set to non-zero, get_

base64_encode

(PHP 4, PHP 5, PHP 7) Encodes data with MIME base64 string base64_encode ( string $data ) Encodes the given data with base64. This encoding is designed to make binary data survive transport through transport layers that are not 8-bit clean, such as mail bodies. Base64-encoded data takes about 33% more space than the original data. Parameters: data The data to encode.