mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
11 lines
215 B
PHP
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
|