3v4l.org

run code in 300+ PHP versions simultaneously
<?php $testArray = array( array( "id" => "1", "value1" => "Something", "anotherValue" => "Else" ), array( "id" => "2", "value1" => "Something", "anotherValue" => "Else" ), array( "id" => "3", "value1" => "Something", "anotherValue" => "Else" ), array( "id" => "4", "value1" => "Something", "anotherValue" => "Else" ), array( "id" => "5", "value1" => "Something", "anotherValue" => "Else" ), array( "id" => "6", "value1" => "Something", "anotherValue" => "Else" )); print_r($testArray);

preferences:
48.73 ms | 402 KiB | 5 Q