File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,18 @@ PHP 8.5 UPGRADE NOTES
50
50
. pcntl_exec() now throws ValueErrors when entries or keys of the
51
51
$env_vars parameter contain null bytes.
52
52
53
+ - PDO:
54
+ . The constructor arguments set in conjunction with PDO::FETCH_CLASS now
55
+ follow the usual CUFA semantics.
56
+ This means string keys will act like a named argument.
57
+ Moreover, automatic wrapping for by-value arguments passed to a by-ref
58
+ parameter has been removed, and the usual E_WARNING about this is now
59
+ emitted.
60
+ To pass a variable by-ref to a constructor argument use the general
61
+ array value reference assignment: $ctor_args = [&$valByRef]
62
+ . Attempting to modify a PDOStatement during a call to PDO::fetch(),
63
+ PDO::fetchObject(), PDO::fetchAll() will now throw an Error.
64
+
53
65
- PDO_FIREBIRD:
54
66
. A ValueError is now thrown when trying to set a cursor name that is too
55
67
long on a PDOStatement resulting from the Firebird driver.
You can’t perform that action at this time.
0 commit comments