3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'a b c d a c a d 你 我 他们 我'; $a = explode(' ', $str); var_dump(array_count_values($a));
Output for git.master, git.master_jit, rfc.property-hooks
array(7) { ["a"]=> int(3) ["b"]=> int(1) ["c"]=> int(2) ["d"]=> int(2) ["你"]=> int(1) ["我"]=> int(2) ["他们"]=> int(1) }

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:
42.06 ms | 401 KiB | 8 Q