1
0
mirror of https://github.com/php/php-src.git synced 2026-04-17 13:01:02 +02:00
Files
archived-php-src/tests/classes/constants_visibility_008.phpt
Máté Kocsis 7aacc705d0 Add many missing closing PHP tags to tests
Closes GH-5958
2020-08-09 22:03:36 +02:00

14 lines
168 B
PHP

--TEST--
Defined on private constant should not raise exception
--FILE--
<?php
class Foo
{
private const BAR = 1;
}
echo (int)defined('Foo::BAR');
?>
--EXPECT--
0