Given an array:
$a = array( \'abc\', 123, \'k1\'=>\'v1\', \'k2\'=>\'v2\', 78, \'tt\', \'k3\'=>\'v3\' );
Wi
There's a nice function that would help you here: https://gist.github.com/scribu/588429