xref: /PHP-7.4/Zend/tests/class_alias_006.phpt (revision 5c2ff404)
1--TEST--
2Testing creation of alias to an internal class
3--FILE--
4<?php
5
6class_alias('stdclass', 'foo');
7
8?>
9--EXPECTF--
10Warning: First argument of class_alias() must be a name of user defined class in %s on line %d
11