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