3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data1 = array("Peter" => "1", "Ann" => "1", "Susan" => "2", "Tom"=> "3", "John" => 3, "Jenny" => 3); $counts =array_count_values($data1); rsort($counts); $find = $counts[0]; Var_dump(array_keys(array_intersect($data1, [$find])));
Output for rfc.property-hooks, git.master, git.master_jit
array(3) { [0]=> string(3) "Tom" [1]=> string(4) "John" [2]=> string(5) "Jenny" }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
99.23 ms | 1529 KiB | 4 Q