diff --git a/reference/pdo/error-handling.xml b/reference/pdo/error-handling.xml index ca4c03c7dd..18c938d75e 100644 --- a/reference/pdo/error-handling.xml +++ b/reference/pdo/error-handling.xml @@ -13,7 +13,7 @@ PDO::ERRMODE_SILENT - This is the default mode. PDO will simply set the error code for you + Prior to PHP 8.0.0, this was the default mode. PDO will simply set the error code for you to inspect using the PDO::errorCode and PDO::errorInfo methods on both the statement and database objects; if the error resulted from a call on a @@ -41,6 +41,7 @@ PDO::ERRMODE_EXCEPTION + As of PHP 8.0.0, this is the default mode. In addition to setting the error code, PDO will throw a PDOException and set its properties to reflect the error code and error