3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array("world", 1, "hello", 1, "hello", "hello", "how"); $new_array = array_count_values($array); print_r($new_array); ?>

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
153.48 ms | 2214 KiB | 12 Q