1--TEST-- 2intl_is_failure() 3--SKIPIF-- 4<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> 5--FILE-- 6<?php 7/* 8 * Check determining failure error codes. 9 */ 10 11 12function check( $err_code ) 13{ 14 var_export( intl_is_failure( $err_code ) ); 15 echo "\n"; 16} 17 18check( U_ZERO_ERROR ); 19check( U_USING_FALLBACK_WARNING ); 20check( U_ILLEGAL_ARGUMENT_ERROR ); 21?> 22--EXPECT-- 23false 24false 25true 26