summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_004.phpt
blob: d293f65dce313336628e4a0b699d00f8cdaae6e2 (plain)
1
2
3
4
5
6
7
8
9
--TEST--
004: Using global class name from namespace (unqualified - fail)
--FILE--
<?php
namespace test\ns1;

echo get_class(new Exception()),"\n";
--EXPECTF--
Fatal error: Class 'test\ns1\Exception' not found in %sns_004.php on line %d