3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arraykey = new stdClass; $arraykey->date = "2008-05-20"; $arraykey->page_views = 1; $arraykey->date = "2011-08-03"; $arraykey->page_views = 2; $arraykey->date = "2008-08-20"; $arraykey->page_views = 3; $arraykey->date = "2008-08-27"; $arraykey->page_views = 2; $arraykey->date = "2011-10-11"; $arraykey->page_views = 3; var_dump($arraykey); foreach($arraykey as $ad) { var_dump($ad); }
Output for git.master, git.master_jit, rfc.property-hooks
object(stdClass)#1 (2) { ["date"]=> string(10) "2011-10-11" ["page_views"]=> int(3) } string(10) "2011-10-11" int(3)

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
53.07 ms | 401 KiB | 8 Q