Skip to content

Custom PDO fetch modes and 2.7.0 #3082

Closed
@corphi

Description

@corphi

Announced as a deprecation only, an exception is thrown when passing unrecognized fetch modes, such as PDO::FETCH_KEY_PAIR. That is a BC break. In another instance, a silenced deprecation warning is issued instead.

While I completely agree on deprecating implicit usage of PDO features, I'd like a migration path that does not involve breaking working code. I suppose that some code depends on recognized fetch modes; I will investigate this and want to provide a pull request.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions