File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -82,8 +82,10 @@ PHP 8.5 UPGRADE NOTES
82
82
emitted.
83
83
To pass a variable by-ref to a constructor argument use the general
84
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.
85
+ . Attempting to call PDOStatement::setFetchMode during a call to PDO::fetch(),
86
+ 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.
87
89
. The value of the constants PDO::FETCH_GROUP, PDO::FETCH_UNIQUE,
88
90
PDO::FETCH_CLASSTYPE, PDO::FETCH_PROPS_LATE, and PDO::FETCH_SERIALIZE
89
91
has changed.
You can’t perform that action at this time.
0 commit comments