php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #62567 PDO::FETCH_CLASSTYPE
Submitted: 2012-07-14 17:14 UTC Modified: 2021-06-10 16:38 UTC
Votes:4
Avg. Score:4.0 ± 0.7
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:0 (0.0%)
From: jk555 at hotbox dot ru Assigned: cmb (profile)
Status: Wont fix Package: PDO related
PHP Version: 5.3.14 OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
31 - 12 = ?
Subscribe to this entry?

 
 [2012-07-14 17:14 UTC] jk555 at hotbox dot ru
Description:
------------
Requesting possibility to pass constructor arguments when using PDO::FETCH_CLASS | PDO::FETCH_CLASSTYPE. It would be very useful.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-06-10 16:38 UTC] cmb@php.net
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2021-06-10 16:38 UTC] cmb@php.net
This feature request got no traction during almost nine years, and
given that you can use PDO::FETCH_INTO (or an userland ORM)
instead, I'm closing as WONTFIX.

If you still think this feature would be beneficial for PHP,
please pursue the RFC process[1].

[1] <https://wiki.php.net/rfc/howto>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 00:01:27 2024 UTC