1--TEST--
2Basic behaviour of call_user_method() test
3--CREDITS--
4Sebastian Schürmann
5sebs@php.net
6Testfest 2009 Munich
7--FILE--
8<?php
9class a {
10	static function b() {
11		return true;
12	}
13}
14$a = new a();
15$res = call_user_method('b', $a);
16var_dump($res);
17?>
18--EXPECTF--
19Deprecated: Function call_user_method() is deprecated in %s on line 8
20bool(true)
21