From ca2476ff7b460c4de498b5a2b8c866b809b9dc1c Mon Sep 17 00:00:00 2001 From: Levi Morrison Date: Thu, 19 Sep 2013 04:45:56 +0000 Subject: [PATCH] Documented exceptions for ArrayObject::__construct. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331443 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/spl/arrayobject/construct.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/reference/spl/arrayobject/construct.xml b/reference/spl/arrayobject/construct.xml index 2055ee1727..219b41d5bd 100644 --- a/reference/spl/arrayobject/construct.xml +++ b/reference/spl/arrayobject/construct.xml @@ -60,6 +60,19 @@ + + + &reftitle.errors; + + Throws InvalidArgumentException when: + + input is not an array or object + flags is not an integer + iterator_class is not an object that implements Iterator. + + + + &reftitle.examples;