summaryrefslogtreecommitdiff
path: root/ext/spl/tests/SplFixedArray__construct_param_array.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/SplFixedArray__construct_param_array.phpt')
-rw-r--r--ext/spl/tests/SplFixedArray__construct_param_array.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/tests/SplFixedArray__construct_param_array.phpt b/ext/spl/tests/SplFixedArray__construct_param_array.phpt
index e1515c4039..b15579edca 100644
--- a/ext/spl/tests/SplFixedArray__construct_param_array.phpt
+++ b/ext/spl/tests/SplFixedArray__construct_param_array.phpt
@@ -7,7 +7,7 @@ PHPNW Test Fest 2009 - Jordan Hatch
try {
$array = new SplFixedArray( array("string", 1) );
-} catch (TypeException $iae) {
+} catch (TypeError $iae) {
echo "Ok - ".$iae->getMessage().PHP_EOL;
}