Function FirePHP->is_utf8

Definitions

sources/firephp.php

  • Returns true if $string is valid UTF-8 and false otherwise.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$str mixed No No required parameter N/A N/A String to be tested

Returns

  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Returns true if $string is valid UTF-8 and false otherwise.
 *
 * @param  mixed $str String to be tested
 * @return boolean
 */

protected function is_utf8($str)