summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionClass_getReflectionConstant.phpt
blob: 71fd92140ff0828e2e3121671b69ec38abc02d19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)