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