SproutCMS

This is the code documentation for the SproutCMS project

function clean()

Recursively cleans arrays, objects, and strings. Removes ASCII control
codes and converts to UTF-8 while silently discarding incompatible
UTF-8 characters.

Usage

object|array|string utf8::clean ( string|array|object $str );

Authors

Arguments

  1. string|array|object $str
    Thing to clean

Return value

  • string
  • array
  • object