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