3v4l.org

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