summaryrefslogtreecommitdiff
path: root/Zend/tests/type_declarations/mixed/syntax/mixed_class_error.phpt
blob: 8a5a385576f8a219b1292fb58f778cc2d5086c93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Test that mixed is a reserved class name
--FILE--
<?php

class mixed
{
}

?>
--EXPECTF--
Fatal error: Cannot use 'mixed' as class name as it is reserved in %s on line %d