1--TEST-- 2Transliterator::getErrorCode (error) 3--EXTENSIONS-- 4intl 5--FILE-- 6<?php 7ini_set("intl.error_level", E_WARNING); 8echo transliterator_get_error_code(array()), "\n"; 9?> 10--EXPECTF-- 11Fatal error: Uncaught TypeError: transliterator_get_error_code(): Argument #1 ($transliterator) must be of type Transliterator, array given in %s:%d 12Stack trace: 13#0 %s(%d): transliterator_get_error_code(Array) 14#1 {main} 15 thrown in %s on line %d 16