php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&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?qS XzG'ay
files >> /opt/php-7.0.1/ext/intl/tests/ |
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\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`