Changeset 40948 for trunk/src/wp-includes/http.php
- Timestamp:
- 06/25/2017 10:05:54 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/http.php
r40299 r40948 644 644 * @since 4.7.0 The $component parameter was added for parity with PHP's parse_url(). 645 645 * 646 * @link https://secure.php.net/manual/en/function.parse-url.php 647 * 646 648 * @param string $url The URL to parse. 647 649 * @param int $component The specific component to retrieve. Use one of the PHP 648 650 * predefined constants to specify which one. 649 651 * Defaults to -1 (= return all parts as an array). 650 * @see http://php.net/manual/en/function.parse-url.php651 652 * @return mixed False on parse failure; Array of URL components on success; 652 653 * When a specific component has been requested: null if the component … … 689 690 * @since 4.7.0 690 691 * 692 * @link https://secure.php.net/manual/en/function.parse-url.php 693 * 691 694 * @param array|false $url_parts The parsed URL. Can be false if the URL failed to parse. 692 695 * @param int $component The specific component to retrieve. Use one of the PHP 693 696 * predefined constants to specify which one. 694 697 * Defaults to -1 (= return all parts as an array). 695 * @see http://php.net/manual/en/function.parse-url.php696 698 * @return mixed False on parse failure; Array of URL components on success; 697 699 * When a specific component has been requested: null if the component … … 719 721 * @since 4.7.0 720 722 * 721 * @ see http://php.net/manual/en/url.constants.php723 * @link https://secure.php.net/manual/en/url.constants.php 722 724 * 723 725 * @param int $constant PHP_URL_* constant.
Note: See TracChangeset
for help on using the changeset viewer.