xref: /PHP-7.3/Zend/tests/bug43344_6.phpt (revision e97d5fab)
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 %sbug43344_6.php:%d
10Stack trace:
11#0 {main}
12  thrown in %sbug43344_6.php on line %d
13