#48087 [Asn->Csd]: call_user_method() invalid free of arguments

From: Date: Mon, 27 Apr 2009 12:52:50 +0000
Subject: #48087 [Asn->Csd]: call_user_method() invalid free of arguments
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-136364@lists.php.net to get a copy of this message
ID: 48087 Updated by: felipe@php.net Reported By: felipe@php.net -Status: Assigned +Status: Closed Bug Type: Scripting Engine problem PHP Version: 5.3.0RC1 Assigned To: felipe New Comment: 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 http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Fixed in 5.3 and HEAD. Previous Comments: ------------------------------------------------------------------------ [2009-04-27 12:44:05] felipe@php.net Description: ------------ See below. Reproduce code: --------------- <?php class foo { public function x() { print "hi\n"; } } call_user_method('x', new foo); Expected result: ---------------- hi Actual result: -------------- hi [Mon Apr 27 09:40:26 2009] Script: '../bug.php' --------------------------------------- /home/felipe/dev/php6/ext/standard/basic_functions.c(4780) : Block 0x00000000 status: NULL --------------------------------------- ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48087&edit=1

« previous php.bugs (#136364) next »