summaryrefslogtreecommitdiff
path: root/Zend/tests/type_declarations/scalar_reserved2_use.phpt
blob: 3e8d1be88dde79b7aa0886392d4c85794f14fb3e (plain)
1
2
3
4
5
6
7
8
--TEST--
Scalar type names cannot be used as class, trait or interface names (2) - use
--FILE--
<?php

use foobar as int;
--EXPECTF--
Fatal error: Cannot use foobar as int because 'int' is a special class name in %s on line %d