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