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

From: Date: Wed, 04 May 2016 10:30:40 +0000
Subject: Bug #72151 [Opn]: mysqli_fetch_object changed behaviour from 5.6.20
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-200887@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
 User updated by:    nicola at tiphys dot com
 Reported by:        nicola at tiphys dot com
-Summary:            mysql_fetch_object changed behaviour from 5.6.20
+Summary:            mysqli_fetch_object changed behaviour from 5.6.20
 Status:             Open
 Type:               Bug
 Package:            MySQLi related
 PHP Version:        5.6.21
 Block user comment: N
 Private report:     N

 New Comment:

changed title


Previous Comments:
------------------------------------------------------------------------
[2016-05-04 10:26:52] nicola at tiphys dot com

Description:
------------
mysqli_fetch_object calls __set after calling the object constructor now.

In 5.6.20 and below the behaviour was the opposite, same with PDO and the old mysql extension.

I think the commit that makes this change is this one:

https://github.com/php/php-src/commit/1b632cfe834bfd87d182566d7d960df7d10ded72



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



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


Thread (9 messages)

« previous php.bugs (#200887) next »