note 119298 added to mysqli-result.fetch-object

From: Date: Sun, 08 May 2016 08:04:45 +0000
Subject: note 119298 added to mysqli-result.fetch-object
Groups: php.notes 
Request: Send a blank email to php-notes+get-205440@lists.php.net to get a copy of this message
Since 5.6.21 and PHP 7.0.6 mysqli_fetch_object() sets the properties of the object AFTER calling the object constructor. Not BEFORE as was in previous versions. So behaviour has changed. Seems a bug but not sure if was done intentionally. https://bugs.php.net/bug.php?id=72151 ---- Server IP: 72.52.91.14 Probable Submitter: 91.126.115.182 ---- Manual Page -- http://php.net/manual/en/mysqli-result.fetch-object.php Edit -- https://master.php.net/note/edit/119298 Del: integrated -- https://master.php.net/note/delete/119298/integrated Del: useless -- https://master.php.net/note/delete/119298/useless Del: bad code -- https://master.php.net/note/delete/119298/bad+code Del: spam -- https://master.php.net/note/delete/119298/spam Del: non-english -- https://master.php.net/note/delete/119298/non-english Del: in docs -- https://master.php.net/note/delete/119298/in+docs Del: other reasons-- https://master.php.net/note/delete/119298 Reject -- https://master.php.net/note/reject/119298 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#205440) next »