Mecha CMS

$u_r_l->offsetExists()

Check the existence of an URL property.

2.2.0 \ArrayAccess

$u_r_l->offsetExists($key);

Example:

$url = new URL('https://mecha-cms.com');

if (isset($url['hash'])) { … }