xref: /PHP-8.2/Zend/tests/class_alias_014.phpt (revision d30cd7d7)
1--TEST--
2Testing creation of alias to class name without namespace prefix
3--FILE--
4<?php
5
6namespace foo;
7
8class bar {
9}
10
11class_alias('bar', 'baz');
12
13?>
14--EXPECTF--
15Warning: Class "bar" not found in %s on line %d
16