mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
13 lines
148 B
PHP
13 lines
148 B
PHP
--TEST--
|
|
Ensure a interface can have public constants
|
|
--FILE--
|
|
<?php
|
|
interface IA {
|
|
public const FOO = 10;
|
|
}
|
|
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECT--
|
|
Done
|