Mecha CMS

$u_r_l->count()

Count all URL properties.

2.0.0 \Countable

$u_r_l->count(void);

Example:

$url = new URL('https://mecha-cms.com/foo/bar/1?baz=qux#asdf');

test($url->count(), count($url));