1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 10:16:41 +02:00
Files
archived-php-src/Zend/tests/interface_underscore_as_name.phpt
T
2024-08-13 14:37:40 +02:00

19 lines
320 B
PHP

--TEST--
Using "_" as an interface name is deprecated
--FILE--
<?php
namespace Foo\Bar {
interface _ {}
}
namespace {
interface _ {}
}
?>
--EXPECTF--
Deprecated: Using "_" as a class name is deprecated since 8.4 in %s on line %d
Deprecated: Using "_" as a class name is deprecated since 8.4 in %s on line %d