3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $items_thread=Array ( Array ( 'RecipientID' => 3, 'RecipientScreenname' => 'Tom L', 'RecipientFirstname' => 'Thomas', 'RecipientEmail'=> 'info@xx.com', ), Array ( 'RecipientID' => 3, 'RecipientScreenname' => 'Tom L', 'RecipientFirstname' => 'Thomas', 'RecipientEmail'=> 'info@xx.com', ), Array ( 'RecipientID'=> 1, 'RecipientScreenname' => 'Lau T', 'RecipientFirstname' => 'TK', 'RecipientEmail' => 'au@xx.co.uk', ) ); var_export(array_unique($items_thread, SORT_REGULAR));
Output for 5.2.9 - 7.1.0
array ( 0 => array ( 'RecipientID' => 3, 'RecipientScreenname' => 'Tom L', 'RecipientFirstname' => 'Thomas', 'RecipientEmail' => 'info@xx.com', ), 2 => array ( 'RecipientID' => 1, 'RecipientScreenname' => 'Lau T', 'RecipientFirstname' => 'TK', 'RecipientEmail' => 'au@xx.co.uk', ), )
Output for 4.3.0 - 5.2.8
Warning: Wrong parameter count for array_unique() in /in/urLDb on line 33 NULL