3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ [ "Query" => "hehe haha hihi", "Merry" => "1.11" ], [ "Query" => "hehe hoho hrooo", "Merry" => "1.12" ] ]; var_export( array_count_values( explode( ' ', implode( ' ', array_column($array, 'Query') ) ) ) );

preferences:
28.7 ms | 408 KiB | 5 Q