3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input = array( array( 'tag_name' => 'google', 'number' => 1, 'test' => 2 ), array( 'tag_name' => 'technology', 'number' => 2, 'test' => 3 ) ); echo array_search(array('tag_name' => 'technology', 'number' => 2), array_map(function($entry) { return array('tag_name' => $entry['tag_name'], 'number' => $entry['number']); }, $input));
based on OmrA9
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0rc3
1