--TEST-- Bug #43344.1 (Wrong error message for undefined namespace constant) --FILE-- 0)) { reset($a); return key($a); } try { echo bar."\n"; } catch (Error $e) { echo $e->getMessage(), "\n"; } try { echo f1()."\n"; } catch (Error $e) { echo $e->getMessage(), "\n"; } try { echo f2()."\n"; } catch (Error $e) { echo $e->getMessage(), "\n"; } try { echo f3()."\n"; } catch (Error $e) { echo $e->getMessage(), "\n"; } ?> --EXPECT-- Undefined constant "Foo\bar" Undefined constant "Foo\bar" Undefined constant "Foo\bar" Undefined constant "Foo\bar"