#48087 [Opn->Asn]: call_user_method() invalid free of arguments
| From: | felipe@php.net | Date: | Mon, 27 Apr 2009 12:44:31 +0000 |
| Subject: | #48087 [Opn->Asn]: call_user_method() invalid free of arguments | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-136362@lists.php.net to get a copy of this message | ||
ID: 48087
Updated by: felipe@php.net
Reported By: felipe@php.net
-Status: Open
+Status: Assigned
Bug Type: Scripting Engine problem
PHP Version: 5.3.0RC1
-Assigned To:
+Assigned To: felipe
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