--TEST-- url as array --SKIPIF-- --FILE-- toArray()); var_dump($url->toArray() === $url2->toArray()); ?> DONE --EXPECT-- Test bool(true) DONE