3v4l.org

run code in 200+ PHP versions simultaneously
<?php $x = array ( 0 => array ( 81 => 'assess', ), 1 => array ( 9 => 'assess', ), 2 => array ( 45 => 'assess', ), 3 => array ( 22 => 'assess', ), 4 => array ( 83 => 'assess3', ), 5 => array ( 9 => 'assess', ), ); print_r(array_unique($x, SORT_REGULAR));
Output for 7.0.0 - 7.3.2
Array ( [0] => Array ( [81] => assess ) [1] => Array ( [9] => assess ) [2] => Array ( [45] => assess ) [3] => Array ( [22] => assess ) [4] => Array ( [83] => assess3 ) )
Output for 5.2.9 - 5.6.38
Array ( [0] => Array ( [81] => assess ) [1] => Array ( [9] => assess ) [2] => Array ( [45] => assess ) [3] => Array ( [22] => assess ) [4] => Array ( [83] => assess3 ) [5] => Array ( [9] => assess ) )
Output for 4.3.0 - 5.2.8
Warning: Wrong parameter count for array_unique() in /in/qESFP on line 30