|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39125 Memleak when reflecting non-existing class/method
Submitted: 2006-10-11 15:01 UTC Modified: 2006-10-11 15:52 UTC
From: Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 5.1.6 OS: Linux
Private report: No CVE-ID: None
 [2006-10-11 15:01 UTC]
I get a memleak when trying to reflect a nonexisting class and method from commandline.

Reproduce code:
php --rf someclass::somefunct

Expected result:
Exception: Class someclass does not exist

Actual result:
Exception: Class someclass does not exist
[Wed Oct 11 16:56:28 2006]  Script:  '-'
/data/cvs/php/php-5.1.6/ext/reflection/php_reflection.c(2124) :  Freeing 0x08DF74AC (10 bytes), script=-
=== Total 1 memory leaks detected ===


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-11 15:52 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Feb 23 15:01:34 2024 UTC