Function __global->parse_url

Definitions

sources_custom/phpstub.php

  • Parse a URL and return its components.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$url string required parameter N/A N/A The URL to parse
$component integer -1 N/A N/A The component to get (-1 get all in an array)

Return

  • A map of details about the URL (false: URL cannot be parsed) (null: missing component)
  • Type: ?~mixed
  • Set: N/A
  • Range: N/A