xref: /PHP-7.2/Zend/tests/class_alias_002.phpt (revision 67b907f0)
1--TEST--
2Trying redeclare class with class_alias()
3--FILE--
4<?php
5
6class foo { }
7
8class_alias('foo', 'FOO');
9
10?>
11--EXPECTF--
12Warning: Cannot declare class FOO, because the name is already in use in %s on line %d
13