php-src/Zend/tests/class_alias_002.phpt
2008-05-12 13:31:36 +00:00

13 lines
178 B
PHP

--TEST--
Trying redeclare class with class_alias()
--FILE--
<?php
class foo { }
class_alias('foo', 'FOO');
?>
--EXPECTF--
Warning: Cannot redeclare class FOO in %s on line %d