xref: /PHP-5.3/Zend/tests/class_alias_002.phpt (revision 5c2ff404)
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 redeclare class FOO in %s on line %d
13