1--TEST--
2ReflectionObject::isUserDefined() - basic function test
3--FILE--
4<?php
5class C {
6}
7
8$r1 = new ReflectionObject(new stdClass);
9$r2 = new ReflectionObject(new ReflectionClass('C'));
10$r3 = new ReflectionObject(new ReflectionProperty('Exception', 'message'));
11$r4 = new ReflectionObject(new Exception);
12$r5 = new ReflectionObject(new C);
13
14var_dump($r1->isUserDefined(), $r2->isUserDefined(), $r3->isUserDefined(),
15		 $r4->isUserDefined(), $r5->isUserDefined());
16
17?>
18--EXPECTF--
19bool(false)
20bool(false)
21bool(false)
22bool(false)
23bool(true)
24