php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /opt/php-7.0.1/ext/intl/tests/
upload
files >> //opt/php-7.0.1/ext/intl/tests/badargs.phpt

--TEST--
Check that bad arguments return the same
--SKIPIF--
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
--FILE--
<?php
$funcs = get_extension_funcs("intl");
function ignore_err() {}
set_error_handler("ignore_err");
$arg = new stdClass();
foreach($funcs as $func) {
        $rfunc = new ReflectionFunction($func);
        if($rfunc->getNumberOfRequiredParameters() == 0) {
                continue;
        }
		
		try {
			$res = $func($arg);
		} catch (Exception $e) {
			continue;
		} catch (Error $e) {
			continue;
		}
        if($res != false) {
                echo "$func: ";
                var_dump($res);
        }
}
echo "OK!\n";
?>
--EXPECT--
OK!
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`