3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function test($v1,$v2){ return 0; } $array2=NULL; $array=array( array("id"=>1,"data"=>1), array("id"=>1,"data"=>2), array("id"=>1,"data"=>3), array("id"=>3,"data"=>5), array("id"=>8,"data"=>1), array("id"=>10,"data"=>10) ); print_r(array_udiff_assoc($array, $array, 'test'));
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( )
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: array_udiff_assoc() in /in/rhCcJ on line 15
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: array_udiff_assoc() in /in/rhCcJ on line 15
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: array_udiff_assoc() in /in/rhCcJ on line 15