3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arraykey = new stdClass; $arraykey->date = "2008-05-20"; $arraykey->page_views = 1; $arraykey->date = "2011-08-03"; $arraykey->page_views = 1; $arraykey->date = 2008-08-20; $arraykey->page_views = 1; $arraykey->date = 2008-08-27; $arraykey->page_views = 1; $arraykey->date = "2011-10-11"; $arraykey->page_views = 1; print_r($arraykey);
Output for 4.3.0 - 5.6.28
stdClass Object ( [date] => 2011-10-11 [page_views] => 1 )