Bug #79746 [Opn->Nab]: Gd create a image resource, but `is_resource` reutrn false,
| From: | requinix@php.net | Date: | Sat, 27 Jun 2020 07:11:37 +0000 |
| Subject: | Bug #79746 [Opn->Nab]: Gd create a image resource, but `is_resource` reutrn false, | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-227696@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79746&edit=1
ID: 79746
Updated by: requinix@php.net
Reported by: re2953 at 163 dot com
Summary: Gd create a image resource, but
is_resource reutrn
false,
-Status: Open
+Status: Not a bug
Type: Bug
Package: GD related
Operating System: osx 10.15
PHP Version: 8.0.0alpha1
Block user comment: N
Private report: N
New Comment:
Yes, for the people who test for resource types this is a BC break. That's why it's
happening in 8.0 and not 7.x.
Previous Comments:
------------------------------------------------------------------------
[2020-06-27 03:11:15] re2953 at 163 dot com
Description:
------------
Gd create a image resource, but is_resource reutrn false, and gettype
return 'object'.It breaks the compatibility.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79746&edit=1