Bug #77376 [Opn->Csd]: "undefined function" message no longer includes namespace
| From: | laruence@php.net | Date: | Wed, 02 Jan 2019 07:33:01 +0000 |
| Subject: | Bug #77376 [Opn->Csd]: "undefined function" message no longer includes namespace | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-218723@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77376&edit=1
ID: 77376
Updated by: laruence@php.net
Reported by: sjon at hortensius dot net
Summary: "undefined function" message no longer includes
namespace
-Status: Open
+Status: Closed
Type: Bug
Package: Scripting Engine problem
Operating System: archlinux
PHP Version: 7.3.0
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e01f08f679105b5fc80a6e65774731821227b66f
Log: Fixed bug #77376 ("undefined function" message no longer includes namespace)
Previous Comments:
------------------------------------------------------------------------
[2018-12-30 19:06:14] cmb@php.net
It seems this behavioral change has been caused by commit
6fadb72[1].
[1] <http://git.php.net/?p=php-src.git;a=commit;h=6fadb72c0bf53844d4fccfb04af20fc4554c2189>
------------------------------------------------------------------------
[2018-12-30 16:36:26] sjon at hortensius dot net
Description:
------------
I found this while going through https://3v4l.org/bughunt/7.3.0/7.2.13+7.2.12.
I couldn't find any reference to this in the changelog, so it seems to be a bug.
Test script:
---------------
See https://3v4l.org/KGf5M
namespace C;
Hello();
Expected result:
----------------
Fatal error: Uncaught Error: Call to undefined function C\Hello() in /in/KGf5M:3
Actual result:
--------------
Fatal error: Uncaught Error: Call to undefined function hello() in /in/KGf5M:3
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77376&edit=1