--- embedaddon/php/ext/intl/tests/badargs.phpt 2012/02/21 23:47:56 1.1.1.1 +++ embedaddon/php/ext/intl/tests/badargs.phpt 2014/06/15 20:03:49 1.1.1.3 @@ -1,5 +1,5 @@ --TEST-- -Check that bad argumens return the same +Check that bad arguments return the same --SKIPIF-- --FILE-- @@ -13,7 +13,10 @@ foreach($funcs as $func) { if($rfunc->getNumberOfRequiredParameters() == 0) { continue; } - $res = $func($arg); + + try { + $res = $func($arg); + } catch (Exception $e) { continue; } if($res != false) { echo "$func: "; var_dump($res);