php-src/Zend/tests/class_alias_006.phpt
2008-05-12 13:30:50 +00:00

11 lines
215 B
PHP

--TEST--
Testing creation of alias to an internal class
--FILE--
<?php
class_alias('stdclass', 'foo');
?>
--EXPECTF--
Warning: First argument of class_alias() must be a name of user defined class in %s on line %d