diff --git a/reference/strings/functions/count-chars.xml b/reference/strings/functions/count-chars.xml index b7184c7075..0962e16149 100644 --- a/reference/strings/functions/count-chars.xml +++ b/reference/strings/functions/count-chars.xml @@ -1,5 +1,5 @@ - + @@ -18,7 +18,7 @@ Counts the number of occurrences of every byte-value (0..255) in string and returns it in various ways. - The optional parameter Mode default to + The optional parameter mode default to 0. Depending on mode count_chars returns one of the following: @@ -52,6 +52,45 @@ + + + <function>count_chars</function> example + + +]]> + + + This will output : + + + + + + See also strpos and substr_count.