1--TEST--
2ReflectionObject::isInternal() - 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->isInternal(), $r2->isInternal(), $r3->isInternal(),
15		 $r4->isInternal(), $r5->isInternal());
16
17?>
18--EXPECTF--
19bool(true)
20bool(true)
21bool(true)
22bool(true)
23bool(false)
24