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

From: Date: Thu, 05 May 2016 07:43:15 +0000
Subject: Bug #72151 [Com]: mysqli_fetch_object changed behaviour from 5.6.20
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-200906@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 Comment by: neo22s at gmail dot com Reported by: nicola at tiphys dot com 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: Same issue on PHP 7.0.6. Previous Comments: ------------------------------------------------------------------------ [2016-05-04 10:30:39] nicola at tiphys dot com changed title ------------------------------------------------------------------------ [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

« previous php.bugs (#200906) next »