|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-07-16 01:56 UTC] cmb@php.net
-Status: Assigned
+Status: Feedback
[2016-07-16 01:56 UTC] cmb@php.net
[2016-07-24 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 18:00:01 2025 UTC |
Description: ------------ here's a method in an object: public function setTilePath($path) { $bgimage = imageCreateFromPNG($path); ImageSetTile($this->imgHdl, $bgimage); } that tile is used elsewhere in a different method later in 5.2, this works. in 5.3, it only works if I amend it to be: public function setTilePath($path) { $this->bgimage = imageCreateFromPNG($path); ImageSetTile($this->imgHdl, $this->bgimage); } I spoke briefly about this with Pierre online, I'm pookey on freenode if anyone wants to talk to me about it. Reproduce code: --------------- author is very lazy, no reproduction code I'm afraid. Expected result: ---------------- I expect it to work despite going out of scope Actual result: -------------- It doesn't work, broken, fail, no image, unhappy coder.