3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = [1, 2,4,8]; $b = [0, 2, 4,'6', 8, 10]; $c = ['1'=> "a",3=>"B"]; echo count($c); //print_r(array_diff($b, $a));
Output for 7.3.0rc3
2