3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array( 'post' => array( 'tr' => array( 'slug' => 'a' ), 'en' => array('slug'=>'b') ) ); echo var_dump(array_map('unserialize', array_unique(array_map('serialize', $a['post'])))); ?>
Output for 4.3.0 - 7.1.7
array(2) { ["tr"]=> array(1) { ["slug"]=> string(1) "a" } ["en"]=> array(1) { ["slug"]=> string(1) "b" } }