1--TEST--
2Cannot declare class, because the name is already in use
3--FILE--
4<?php
5
6function test() {
7 class A {}
8}
9test();
10test();
11
12?>
13--EXPECTF--
14Fatal error: Cannot declare class A, because the name is already in use in %s on line %d
15