3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo count_chars( "1AAABBCCCDDDDDDD", 5);
Output for 5.2.5 - 5.6.29, 7.0.0 - 7.1.0
Warning: count_chars(): Unknown mode in /in/RUucU on line 2
Output for hhvm-3.10.0 - 3.13.2
Warning: Invalid argument: mode: 5 in /in/RUucU on line 2
Output for 4.3.2 - 5.2.4
Warning: count_chars(): Unknown mode. in /in/RUucU 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/RUucU on line 2