3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array( array('a' => 'testA', 'b' => 'testB'), array('a' =>'testC', 'b' => 'testD') ); $key = array_keys($test, array('a' => 'testA', 'b' => 'testB')); print_r($test[$key[0]]);

preferences:
50.74 ms | 402 KiB | 5 Q