3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
5<?php echo count_chars( "1AAABBCCCDDDDDDD",5 );
based on amrMC
Output for 5.2.5 - 7.1.0
5 Warning: count_chars(): Unknown mode in /in/GZIJ1 on line 2
Output for 4.3.2 - 5.2.4
5 Warning: count_chars(): Unknown mode. in /in/GZIJ1 on line 2
Output for 4.3.0 - 4.3.1
5 Warning: count_chars() [http://www.php.net/function.count-chars]: Unknown mode. in /in/GZIJ1 on line 2