📄 Viewing: scalar_reserved2.phpt

--TEST--
Scalar type names cannot be used as class, trait or interface names (2)
--FILE--
<?php

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

🌑 DarkStealth — WP Plugin Edition

Directory: /usr/src/php-7.4.23/Zend/tests/type_declarations