]> granicus.if.org Git - php/commitdiff
0..255
authorThies C. Arntzen <thies@php.net>
Thu, 15 Feb 2001 14:01:18 +0000 (14:01 +0000)
committerThies C. Arntzen <thies@php.net>
Thu, 15 Feb 2001 14:01:18 +0000 (14:01 +0000)
ext/standard/string.c

index 6b81ee03ab3b2b6b3007569d571e741452347e0e..2cdd40d51ddfee2d19de58bde4e5b37f9beb81b3 100644 (file)
@@ -2937,7 +2937,7 @@ PHP_FUNCTION(count_chars)
                array_init(return_value);
        }
 
-       for (inx=0; inx < 255; inx++) {
+       for (inx=0; inx < 256; inx++) {
                switch (mymode) {
                case 0:
                        add_index_long(return_value,inx,chars[inx]);