3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = array ( "rooms"=>array ("id"=>1,"room_name"=>"room_1","id"=>2,"room_name"=>"name2","id"=>3,"room_name"=>"name 3") ); print_r($data);
based on fNKHL
Output for 4.3.0 - 7.2.0
Array ( [rooms] => Array ( [id] => 3 [room_name] => name 3 ) )