diff options
Diffstat (limited to 'ext/spl/tests/SplFixedArray_construct_param_SplFixedArray.phpt')
-rw-r--r-- | ext/spl/tests/SplFixedArray_construct_param_SplFixedArray.phpt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/spl/tests/SplFixedArray_construct_param_SplFixedArray.phpt b/ext/spl/tests/SplFixedArray_construct_param_SplFixedArray.phpt index 10d4c64a0c..20f4e7970c 100644 --- a/ext/spl/tests/SplFixedArray_construct_param_SplFixedArray.phpt +++ b/ext/spl/tests/SplFixedArray_construct_param_SplFixedArray.phpt @@ -6,8 +6,7 @@ Philip Norton philipnorton42@gmail.com <?php try { $array = new SplFixedArray(new SplFixedArray(3)); -} -catch(InvalidArgumentException $iae) { +} catch (TypeException $iae) { echo "Ok - ".$iae->getMessage().PHP_EOL; } |