blob: 1ab7a67204a06a97c770861ec1441f58e2d56f56 (
plain)
1
2
3
4
5
6
7
8
9
10
|
--TEST--
Scalar type names cannot be used as class, trait or interface names (7)
--FILE--
<?php
namespace foo;
class int {}
?>
--EXPECTF--
Fatal error: Cannot use 'int' as class name as it is reserved in %s on line %d
|