3v4l.org

run code in 300+ PHP versions simultaneously
<?php function isDictionary(array $array) { return !(bool)count(array_filter(array_keys($array), 'is_string')); } isDictionary(0);

preferences:
60.45 ms | 402 KiB | 5 Q