3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = "ejIjSS3Fh5GSYG3hALUII53AeIR55ej3LeeAeSjReS5jRjeeG3GL5hLShhFS5h5GUAheRISFSO5IOIIAGFGGAS3eh5h5FjLe33Ueje3h35jIjjhj5L5j53A3"; foreach (asort(count_chars($data, 1)) as $i => $val) { echo "There were $val instance(s) of \"" , chr($i) , "\" in the string.\n"; } ?>
Output for git.master, git.master_jit
Notice: Only variables should be passed by reference in /in/5XhQs on line 4 Warning: foreach() argument must be of type array|object, bool given in /in/5XhQs on line 4
Output for rfc.property-hooks
Notice: Only variables should be passed by reference in /in/5XhQs on line 4 Warning: foreach() argument must be of type array|object, true given in /in/5XhQs on line 4

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