mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Test ReflectionClass::getReflectionConstant method
This commit is contained in:
parent
e1cc4863d9
commit
0c0a5df111
@ -0,0 +1,13 @@
|
||||
--TEST--
|
||||
Test ReflectionClass::getReflectionConstant method
|
||||
--CREDITS--
|
||||
Gabriel Caruso (carusogabriel34@gmail.com)
|
||||
--FILE--
|
||||
<?php
|
||||
$refleClass = new ReflectionClass(ReflectionClass::class);
|
||||
var_dump(gettype($refleClass->getReflectionConstant('IS_IMPLICIT_ABSTRACT')));
|
||||
var_dump($refleClass->getReflectionConstant('FOO_BAR'));
|
||||
?>
|
||||
--EXPECT--
|
||||
string(6) "object"
|
||||
bool(false)
|
Loading…
Reference in New Issue
Block a user