http\Url Changelog

  1. v2.2.0
    • Added parser constants:
      • http\Url::PARSE_MBUTF8
      • http\Url::PARSE_MBLOC (on systems with wide character support)
      • http\Url::PARSE_TOIDN (with libidn support)
      • http\Url::PARSE_TOPCT
  2. v2.6.0, v3.1.0
    • Added parser constants:
      • http\Url::IGNORE_ERRORS
      • http\Url::SILENT_ERRORS
      • http\Url::STDFLAGS
      • http\Url::PARSE_TOIDN_2003
      • http\Url::PARSE_TOIDN_2008

Backwards compatibility notes

New parser in v2.2.0

PHP’s parse_url() is avoided since v2.2.0.

Creating an empty url by new http\Url(NULL, NULL, 0) will not result in http://localhost/ anymore but in an empty URL instead.

No more default parts from the environment in v3.0.0

The default value of the $flags parameter of http\Url::__construct() was changed from http\Url::FROM_ENV to 0 and http\Env\Url was introduced instead.