|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48087 call_user_method() invalid free of arguments
Submitted: 2009-04-27 12:44 UTC Modified: 2009-04-27 12:52 UTC
From: Assigned: felipe (profile)
Status: Closed Package: Scripting Engine problem
PHP Version: 5.3.0RC1 OS:
Private report: No CVE-ID: None
 [2009-04-27 12:44 UTC]
See below.

Reproduce code:

class foo {
	public function x() {
		print "hi\n";

call_user_method('x', new foo);

Expected result:

Actual result:
[Mon Apr 27 09:40:26 2009]  Script:  '../bug.php'
/home/felipe/dev/php6/ext/standard/basic_functions.c(4780) : Block 0x00000000 status:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-27 12: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.

Fixed in 5.3 and HEAD.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Feb 25 14:01:26 2024 UTC