call_user_method() invalid free of arguments

 [2009-04-27 12:44 UTC] 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
---------------------------------------