com php-src: Check the function UConverter::getAvailable with parameter wrong: ext/intl/tests/uconverter_getAvailable_wrongparam_ 001.phpt

From: Date: Thu, 06 Aug 2015 03:10:37 +0000
Subject: com php-src: Check the function UConverter::getAvailable with parameter wrong: ext/intl/tests/uconverter_getAvailable_wrongparam_ 001.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-88638@lists.php.net to get a copy of this message
Commit: 6bd3ace67e611af58ebfc017d3f38478589e172d Author: Rodrigo Prado <royopa@gmail.com> Thu, 6 Aug 2015 00:10:37 -0300 Parents: 2eaf28367dd5da282156f567f8dbc031a4dbb2c2 Branches: PHP-7.0.0 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6bd3ace67e611af58ebfc017d3f38478589e172d Log: Check the function UConverter::getAvailable with parameter wrong Changed paths: A ext/intl/tests/uconverter_getAvailable_wrongparam_001.phpt Diff: diff --git a/ext/intl/tests/uconverter_getAvailable_wrongparam_001.phpt b/ext/intl/tests/uconverter_getAvailable_wrongparam_001.phpt new file mode 100644 index 0000000..4e38128 --- /dev/null +++ b/ext/intl/tests/uconverter_getAvailable_wrongparam_001.phpt @@ -0,0 +1,8 @@ +--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

« previous php.cvs (#88638) next »