3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = array('vk_group' => NULL,'vk_group1' => NULL,'vk_group2' => NULL); if(array_count_values($array)){ echo 1 ; }
Output for 4.3.2 - 7.2.0
Warning: array_count_values(): Can only count STRING and INTEGER values! in /in/7c37a on line 4 Warning: array_count_values(): Can only count STRING and INTEGER values! in /in/7c37a on line 4 Warning: array_count_values(): Can only count STRING and INTEGER values! in /in/7c37a on line 4
Output for 4.3.0 - 4.3.1
Warning: array_count_values() [http://www.php.net/function.array-count-values]: Can only count STRING and INTEGER values! in /in/7c37a on line 4 Warning: array_count_values() [http://www.php.net/function.array-count-values]: Can only count STRING and INTEGER values! in /in/7c37a on line 4 Warning: array_count_values() [http://www.php.net/function.array-count-values]: Can only count STRING and INTEGER values! in /in/7c37a on line 4