Bug #72151 [Csd]: mysqli_fetch_object changed behaviour from 5.6.20

From: Date: Mon, 25 Jul 2016 08:46:58 +0000
Subject: Bug #72151 [Csd]: mysqli_fetch_object changed behaviour from 5.6.20
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-202565@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72151&edit=1

 ID:                 72151
 Updated by:         ab@php.net
 Reported by:        nicola at tiphys dot com
 Summary:            mysqli_fetch_object changed behaviour from 5.6.20
 Status:             Closed
 Type:               Bug
 Package:            MySQLi related
 PHP Version:        5.6.21
 Assigned To:        ab
 Block user comment: N
 Private report:     N

 New Comment:

@mauroasprea, sounds sane to me, however i don't see where to pass this option to
pg_fetch_object. Might be solvable anyway. Could you please open a FR for this, so the idea
doesn't get forgotten?

Thanks.


Previous Comments:
------------------------------------------------------------------------
[2016-07-23 13:48:31] mauroasprea+php at gmail dot com

What about implementing something like PDO::FETCH_PROPS_LATE but for MySQLi and pg?

------------------------------------------------------------------------
[2016-05-10 09:26:24] requinix@php.net

Related To: Bug #72184

------------------------------------------------------------------------
[2016-05-09 15:44:32] ab@php.net

Also, please check the upcoming RC this week and ping back in case of issue.

Thanks.

------------------------------------------------------------------------
[2016-05-09 15:43:45] ab@php.net

Thanks for the ping. These changes was reverted in the dev branch in
1cc536af5a9790288ef6638e3b167858d3b0cca1 and fc2a45b70a6675cad627cfe6341dc77d61952ba4. With this,
the patches to bug #71820 are reverted.

See also bug #50636 and bug #49521 for the historical reasons. The change didn't cause any
issues with the QA, thus it were released. The behavior is inconsistent, however it is documented
this way. Thus reverted to avoid beyond breakage.

Thanks.

------------------------------------------------------------------------
[2016-05-09 13:42:41] ondrej@php.net

This affects both 5.6.21 and 7.0.6 as well.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=72151


--
Edit this bug report at https://bugs.php.net/bug.php?id=72151&edit=1


Thread (9 messages)

« previous php.bugs (#202565) next »