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