summaryrefslogtreecommitdiff
path: root/ext/spl/tests/arrayObject___construct_error2.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/arrayObject___construct_error2.phpt')
-rw-r--r--ext/spl/tests/arrayObject___construct_error2.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/tests/arrayObject___construct_error2.phpt b/ext/spl/tests/arrayObject___construct_error2.phpt
index d075516725..35ba83d09f 100644
--- a/ext/spl/tests/arrayObject___construct_error2.phpt
+++ b/ext/spl/tests/arrayObject___construct_error2.phpt
@@ -13,7 +13,7 @@ Class C implements Iterator {
try {
var_dump(new ArrayObject(new stdClass, 0, "C", "extra"));
-} catch (TypeException $e) {
+} catch (TypeError $e) {
echo $e->getMessage() . "(" . $e->getLine() . ")\n";
}
?>