3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $sam = array(Array ( "0" => Array ( "0" => 24 ),"1" => Array("0" => 25)), Array ( "0" => Array ( "0" => 24 ),"1" => Array("0" => 25)), Array ( "0" => Array ( "0" => 24 ),"1" => Array("0" => 25 ))); //$sam=array_unique($sam); $sam = array_map("unserialize", array_unique(array_map("serialize", $sam))); print_r($sam);
Output for 4.3.0 - 7.1.0
Array ( [0] => Array ( [0] => Array ( [0] => 24 ) [1] => Array ( [0] => 25 ) ) )