3v4l.org

run code in 300+ PHP versions simultaneously
<?php $visits = array ( 0 => (object)array ( 'ID' => 5384, 'post_title' => 'AccordeonmeconjQuery', 'post_name' => 'accordeon-con-jquery', 'readings' => 55140, 'post_date' => '01-12-2012', 'media' => 59.546436285097, 'dias' => 926 ), 2 => (object)array ( 'ID' => 2509, 'post_title' => 'PopupmeconjQuery', 'post_name' => 'popup-me-con-jquery', 'readings' => 26261, 'post_date' => '13-04-2012', 'media' => 22.677892918826, 'dias' => 1158 ) ); print_r($visits); $visits = json_decode(json_encode($visits), true); print_r($visits); $visits = json_decode(json_encode($visits)); print_r($visits); $visits = (array)$visits; print_r($visits);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => stdClass Object ( [ID] => 5384 [post_title] => AccordeonmeconjQuery [post_name] => accordeon-con-jquery [readings] => 55140 [post_date] => 01-12-2012 [media] => 59.546436285097 [dias] => 926 ) [2] => stdClass Object ( [ID] => 2509 [post_title] => PopupmeconjQuery [post_name] => popup-me-con-jquery [readings] => 26261 [post_date] => 13-04-2012 [media] => 22.677892918826 [dias] => 1158 ) ) Array ( [0] => Array ( [ID] => 5384 [post_title] => AccordeonmeconjQuery [post_name] => accordeon-con-jquery [readings] => 55140 [post_date] => 01-12-2012 [media] => 59.546436285097 [dias] => 926 ) [2] => Array ( [ID] => 2509 [post_title] => PopupmeconjQuery [post_name] => popup-me-con-jquery [readings] => 26261 [post_date] => 13-04-2012 [media] => 22.677892918826 [dias] => 1158 ) ) stdClass Object ( [0] => stdClass Object ( [ID] => 5384 [post_title] => AccordeonmeconjQuery [post_name] => accordeon-con-jquery [readings] => 55140 [post_date] => 01-12-2012 [media] => 59.546436285097 [dias] => 926 ) [2] => stdClass Object ( [ID] => 2509 [post_title] => PopupmeconjQuery [post_name] => popup-me-con-jquery [readings] => 26261 [post_date] => 13-04-2012 [media] => 22.677892918826 [dias] => 1158 ) ) Array ( [0] => stdClass Object ( [ID] => 5384 [post_title] => AccordeonmeconjQuery [post_name] => accordeon-con-jquery [readings] => 55140 [post_date] => 01-12-2012 [media] => 59.546436285097 [dias] => 926 ) [2] => stdClass Object ( [ID] => 2509 [post_title] => PopupmeconjQuery [post_name] => popup-me-con-jquery [readings] => 26261 [post_date] => 13-04-2012 [media] => 22.677892918826 [dias] => 1158 ) )

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:
138.36 ms | 415 KiB | 5 Q