Legend of the Green Dragon

arraytourl.php

Table of Contents

arraytourl()  : string
Turns an array into an URL argument string.
urltoarray()  : array<string|int, mixed>
Takes an array and returns its arguments in an array.

Functions

arraytourl()

Turns an array into an URL argument string.

arraytourl(array<string|int, mixed> $array) : string

Takes an array and encodes it in key=val&key=val form. Does not add starting ?

Parameters
$array : array<string|int, mixed>

The array to turn into an URL

urltoarray()

Takes an array and returns its arguments in an array.

urltoarray(string $url) : array<string|int, mixed>
Parameters
$url : string

The URL

Search results