3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr1=Array ( 0 => Array ( 0 => 24 ), 1 => Array ( 0 => 25 ) ); $arr2=Array ( 0 => Array ( 0 => 24 ), 1 => Array ( 0 => 25 ) ); $arr3=Array ( 0 => Array ( 0 => 24 ), 1 => Array ( 0 => 25 ) ); $result=array_intersect($arr1,$arr2,$arr3); print_r($result);
Output for 5.4.0 - 7.2.0
Notice: Array to string conversion in /in/OLu6g on line 42 Notice: Array to string conversion in /in/OLu6g on line 42 Notice: Array to string conversion in /in/OLu6g on line 42 Notice: Array to string conversion in /in/OLu6g on line 42 Notice: Array to string conversion in /in/OLu6g on line 42 Notice: Array to string conversion in /in/OLu6g on line 42 Notice: Array to string conversion in /in/OLu6g on line 42 Notice: Array to string conversion in /in/OLu6g on line 42 Notice: Array to string conversion in /in/OLu6g on line 42 Notice: Array to string conversion in /in/OLu6g on line 42 Notice: Array to string conversion in /in/OLu6g on line 42 Notice: Array to string conversion in /in/OLu6g on line 42 Array ( [0] => Array ( [0] => 24 ) [1] => Array ( [0] => 25 ) )
Output for 4.3.0 - 5.3.29
Array ( [0] => Array ( [0] => 24 ) [1] => Array ( [0] => 25 ) )