mirror of
https://github.com/php/php-src.git
synced 2024-12-13 20:05:26 +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
|