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