diff options
Diffstat (limited to 'ext/spl/tests/SplFixedArray__construct_param_string.phpt')
-rw-r--r-- | ext/spl/tests/SplFixedArray__construct_param_string.phpt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/spl/tests/SplFixedArray__construct_param_string.phpt b/ext/spl/tests/SplFixedArray__construct_param_string.phpt index 411d7402df..66c7fe6a59 100644 --- a/ext/spl/tests/SplFixedArray__construct_param_string.phpt +++ b/ext/spl/tests/SplFixedArray__construct_param_string.phpt @@ -6,8 +6,7 @@ PHPNW Test Fest 2009 - Jordan Hatch <?php try { $array = new SplFixedArray( "string" ); -} -catch(InvalidArgumentException $iae) { +} catch (TypeException $iae) { echo "Ok - ".$iae->getMessage().PHP_EOL; } |