3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class BaseClass { public function foo() { var_dump(class_exists("ProjectManagementConfig")); echo ProjectManagementConfig::FOO; } } class ProjectManagementConfig extends BaseClass { const FOO = "Bar"; } $pmc = new ProjectManagementConfig; $pmc->foo();
based on OVuVr
Output for 5.5.0 - 7.3.0rc4
bool(true) Bar