We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2336aa6 commit 6fa669aCopy full SHA for 6fa669a
UPGRADING
@@ -82,8 +82,10 @@ PHP 8.5 UPGRADE NOTES
82
emitted.
83
To pass a variable by-ref to a constructor argument use the general
84
array value reference assignment: $ctor_args = [&$valByRef]
85
- . Attempting to modify a PDOStatement during a call to PDO::fetch(),
86
- PDO::fetchObject(), PDO::fetchAll() will now throw an Error.
+ . Attempting to call PDOStatement::setFetchMode during a call to PDO::fetch(),
+ PDO::fetchObject(), PDO::fetchAll(),
87
+ for example using tricks such as passing the statement object as a constructor
88
+ argument when fetching into an object, will now throw an Error.
89
. The value of the constants PDO::FETCH_GROUP, PDO::FETCH_UNIQUE,
90
PDO::FETCH_CLASSTYPE, PDO::FETCH_PROPS_LATE, and PDO::FETCH_SERIALIZE
91
has changed.
0 commit comments