/
vshmidt
/
php
Обзор
Документация
Войти
/
vshmidt
/
php
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
ext/reflection/tests/ReflectionClass_export_array_bug72222.phpt
31 строка
435 B
Nikita Popov
Reindent phpt files
04 фев 2020, 00:52
04 фев 2020, 00:52
f8d7958
Код
Авторство
О чём код?
--TEST-- ReflectionClass::__toString() - array constants --FILE-- <?php Class A { const A = 8; const B = ["a", "b"]; } echo new ReflectionClass("A"), "\n"; ?> --EXPECTF-- Class [ <user> class A ] { @@ %s 2-5 - Constants [2] { Constant [ public int A ] { 8 } Constant [ public array B ] { Array } } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [0] { } }