From cdf5498ad7b22ff91ac89bcbadf639fb82a9e89e Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Fri, 7 Feb 2020 17:51:35 +0000 Subject: [PATCH] Fix description of COM error constants Besides adding docs for the missing `DISP_E_BADINDEX`, we also document that the values are positive integers on x64 as of PHP 7.0.0. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349163 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/com/constants.xml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/reference/com/constants.xml b/reference/com/constants.xml index 0ff5fb499a..796316b6cb 100644 --- a/reference/com/constants.xml +++ b/reference/com/constants.xml @@ -569,7 +569,7 @@ A return error that indicates a divide by zero error. - + As of PHP 7.0.0, the value is 2147614738 on x64. @@ -581,7 +581,18 @@ An error that indicates that a value could not be coerced to its expected representation. - + As of PHP 7.0.0, the value is 2147614730 on x64. + + + + DISP_E_BADINDEX + (integer) + + -2147352565 + + An error that indicates that an array index does not exist. + + As of PHP 7.0.0, the value is 2147614731 on x64. @@ -593,7 +604,7 @@ iMoniker COM status code, return on errors where the function call failed due to unavailability. - + As of PHP 7.0.0, the value is 2147746275 on x64.