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

class bool {}
--EXPECTF--
Fatal error: Cannot use 'bool' as class name as it is reserved in %s on line %d