Created
August 6, 2015 11:19
-
-
Save royopa/eb4687c478aeea4990eb to your computer and use it in GitHub Desktop.
Test - uconverter_getAvailable_wrongparam_001.phpt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--TEST-- | |
Check the function UConverter::getAvailable with parameter wrong | |
--SKIPIF-- | |
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> | |
--FILE-- | |
<?php UConverter::getAvailable("This is an ascii string"); ?> | |
--EXPECTF-- | |
Warning: UConverter::getAvailable() expects exactly 0 parameters, 1 given in %s on line %d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment