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 ))); array_unique($sam);
Output for 5.4.0 - 5.6.28, 7.0.0 - 7.1.0
Notice: Array to string conversion in /in/qVV7M on line 6 Notice: Array to string conversion in /in/qVV7M on line 6 Notice: Array to string conversion in /in/qVV7M on line 6 Notice: Array to string conversion in /in/qVV7M on line 6 Notice: Array to string conversion in /in/qVV7M on line 6 Notice: Array to string conversion in /in/qVV7M on line 6 Notice: Array to string conversion in /in/qVV7M on line 6 Notice: Array to string conversion in /in/qVV7M on line 6
Output for hhvm-3.10.0 - 3.12.0
Notice: Array to string conversion in /in/qVV7M on line 6 Notice: Array to string conversion in /in/qVV7M on line 6 Notice: Array to string conversion in /in/qVV7M on line 6
Output for 4.3.0 - 5.3.29