Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /usr/local/src/php7/php-7.0.5/ext/reflection/tests/ |
Current File : //usr/local/src/php7/php-7.0.5/ext/reflection/tests/ReflectionClass_isInterface_basic.phpt |
--TEST-- ReflectionClass::isInterface() method --CREDITS-- Felix De Vliegher <felix.devliegher@gmail.com> #testfest roosendaal on 2008-05-10 --FILE-- <?php interface TestInterface {} class TestClass {} interface DerivedInterface extends TestInterface {} $reflectionClass = new ReflectionClass('TestInterface'); $reflectionClass2 = new ReflectionClass('TestClass'); $reflectionClass3 = new ReflectionClass('DerivedInterface'); var_dump($reflectionClass->isInterface()); var_dump($reflectionClass2->isInterface()); var_dump($reflectionClass3->isInterface()); ?> --EXPECT-- bool(true) bool(false) bool(true)
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare