php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73585 Logging of "Internal Zend error - Missing class information" missing class name
Submitted: 2016-11-23 07:43 UTC Modified: -
From: mhagstrand at gmail dot com Assigned:
Status: Closed Package: *General Issues
PHP Version: 7.1.0RC6 OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mhagstrand at gmail dot com
New email:
PHP Version: OS:

 

 [2016-11-23 07:43 UTC] mhagstrand at gmail dot com
Description:
------------
When I was looking at https://bugs.php.net/bug.php?id=73583 I had reversed the order of the class and the function. I noticed error message was not outputting the class name.

Test script:
---------------
<?php
if (true) {
    function thing() { }
    class thing { }
}
?>

Expected result:
----------------
Fatal error: Internal Zend error - Missing class information for thing in /opt/codebases/php-src/crash.php on line 4

Actual result:
--------------
Fatal error: Internal Zend error - Missing class information for  in /opt/codebases/php-src/crash.php on line 4

Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-11-24 04:05 UTC] laruence@php.net
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e19d263d81452c2117773387680e3da0716f1f34
Log: Fixed bug #73585 (Logging of &quot;Internal Zend error - Missing class information&quot; missing class name)
 [2016-11-24 04:05 UTC] laruence@php.net
-Status: Open +Status: Closed
 [2016-11-30 23:13 UTC] davey@php.net
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e19d263d81452c2117773387680e3da0716f1f34
Log: Fixed bug #73585 (Logging of &quot;Internal Zend error - Missing class information&quot; missing class name)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 13:01:29 2024 UTC