- print_r: documentation ( source)
- array_keys: documentation ( source)
<?php
$test = array(
array('a' => 'testA',
'b' => 'testB'),
array('a' =>'testC',
'b' => 'testD')
);
print_r((int) array_keys($test, array('a' => 'testA', 'b' => 'testB')));