1--TEST--
2count_chars() function
3--FILE--
4<?php
5$s = "het leven is net erwtensoep - je kunt er geen touw aan vastknopen";
6for($i=0; $i<3; $i++) {
7	echo implode(count_chars($s, $i))."\n";
8}
9echo $a = count_chars($s, 3), "\n";
10echo (int) strlen(count_chars($s, 4)) == 256-strlen($a),"\n";
11
12?>
13--EXPECT--
14000000000000000000000000000000001200000000000010000000000000000000000000000000000000000000000000003000120111121083202362220000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
15121312111121832236222
16000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
17 -aeghijklnoprstuvw
181
19