HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/RDamen/damenbeletteringen.nl/wwwroot/admin/tests/mocks/core/utf8.php
<?php

class Mock_Core_Utf8 extends CI_Utf8 {

	/**
	 * We need to define several constants as
	 * the same process within CI_Utf8 class constructor.
	 *
	 * @covers CI_Utf8::__construct()
	 */
	public function __construct()
	{
		defined('UTF8_ENABLED') OR define('UTF8_ENABLED', TRUE);

		if (extension_loaded('mbstring'))
		{
			defined('MB_ENABLED') OR define('MB_ENABLED', TRUE);
			mb_internal_encoding('UTF-8');
		}
		else
		{
			defined('MB_ENABLED') OR define('MB_ENABLED', FALSE);
		}
	}

}