mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
91b3b58f71
Fixes GH-9968
16 lines
254 B
PHP
16 lines
254 B
PHP
<?php
|
|
|
|
class Root1_Constant_Definer
|
|
{
|
|
const CONSTANT = 'value';
|
|
}
|
|
|
|
class Root1_Constant_Empty
|
|
{
|
|
}
|
|
|
|
class Root1_Constant_Referencer extends Root2_Empty_Empty
|
|
{
|
|
protected $propertyReferencingAnExternalConstant = Root1_Constant_Definer::CONSTANT;
|
|
}
|