3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array('vk_group' => NULL,'vk_group1' => NULL,'vk_group2' => NULL); echo array_count_values($array);
Output for 5.4.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: array_count_values(): Can only count STRING and INTEGER values! in /in/GcFqq on line 4 Warning: array_count_values(): Can only count STRING and INTEGER values! in /in/GcFqq on line 4 Warning: array_count_values(): Can only count STRING and INTEGER values! in /in/GcFqq on line 4 Notice: Array to string conversion in /in/GcFqq on line 4 Array
Output for hhvm-3.10.0 - 3.12.0
Warning: Can only count STRING and INTEGER values! in /in/GcFqq on line 4 Warning: Can only count STRING and INTEGER values! in /in/GcFqq on line 4 Warning: Can only count STRING and INTEGER values! in /in/GcFqq on line 4 Notice: Array to string conversion in /in/GcFqq on line 4 Array
Output for 4.3.2 - 5.3.29
Warning: array_count_values(): Can only count STRING and INTEGER values! in /in/GcFqq on line 4 Warning: array_count_values(): Can only count STRING and INTEGER values! in /in/GcFqq on line 4 Warning: array_count_values(): Can only count STRING and INTEGER values! in /in/GcFqq on line 4 Array
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/GcFqq on line 4 Warning: array_count_values() [http://www.php.net/function.array-count-values]: Can only count STRING and INTEGER values! in /in/GcFqq on line 4 Warning: array_count_values() [http://www.php.net/function.array-count-values]: Can only count STRING and INTEGER values! in /in/GcFqq on line 4 Array