xref: /PHP-8.2/Zend/tests/bug43344_2.phpt (revision d30cd7d7)
1--TEST--
2Bug #43344.2 (Wrong error message for undefined namespace constant)
3--FILE--
4<?php
5namespace Foo;
6echo Foo::bar."\n";
7?>
8--EXPECTF--
9Fatal error: Uncaught Error: Class "Foo\Foo" not found in %s:%d
10Stack trace:
11#0 {main}
12  thrown in %sbug43344_2.php on line %d
13