/** * @dataProvider codeProvider */ public function testGetErrorNameWithIntl($code, $name) { $this->skipIfIntlExtensionIsNotLoaded(); $this->assertSame(intl_error_name($code), StubIntl::getErrorName($code)); }
protected function getIntlErrorName($errorCode) { return intl_error_name($errorCode); }
function check($err_code) { echo intl_error_name($err_code) . "\n"; }