xref: /PHP-7.2/Zend/tests/class_alias_014.phpt (revision d9d47f37)
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