blob: 30b78adfe18585c632cf13d235304af1d3634c20 [file] [log] [blame]
<?php
class Mock_Core_Utf8 extends CI_Utf8 {
/**
* We need to define UTF8_ENABLED the same way that
* CI_Utf8 constructor does.
*
* @covers CI_Utf8::__construct()
*/
public function __construct()
{
defined('UTF8_ENABLED') OR define('UTF8_ENABLED', TRUE);
}
public function is_ascii_test($str)
{
return $this->_is_ascii($str);
}
}