Net_URL Constructor

Net_URL Constructor – Instantiating Net_URL


require_once 'Net/URL.php';

string Net_URL ( string $url = null , boolean $useBrackets = true )


Instantiates a new Net_URL object


  • string $url - The url to parse. By default this is getting $_SERVER['PHP_SELF']

  • boolean $useBrackets - Whether to use sqare brackets or not when there is multiple query variable names using the same name.


Using Net_URL

require_once 'Net/URL.php';
$url = new Net_URL();
Net_URL (Previous) Setting options with Net_URL (Next)
Last updated: Tue, 17 Jan 2017 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.