/
vshmidt
/
php
Обзор
Документация
Войти
/
vshmidt
/
php
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
ext/reflection/tests/bug36308.phpt
22 строки
473 B
Dmitry Stogov
Rmoved opcache.load_comments.
15 июн 2015, 14:01
15 июн 2015, 14:01
ae88a24
Код
Авторство
О чём код?
--TEST-- Reflection Bug #36308 (ReflectionProperty::getDocComment() does not reflect extended class commentary) --INI-- opcache.save_comments=1 --FILE-- <?php class Base { /** Base comment block */ public $foo = 'bar'; } class Extended extends Base { /** Extended commentary */ public $foo = 'zim'; } $reflect = new ReflectionClass('Extended'); $props = $reflect->getProperties(); echo $props[0]->getDocComment(); ?> --EXPECT-- /** Extended commentary */