php-src/Zend/tests/ns_023.phpt

12 lines
164 B
Plaintext
Raw Normal View History

2007-09-28 19:52:53 +00:00
--TEST--
023: __NAMESPACE__ constant
--FILE--
<?php
namespace test\foo;
2007-09-28 19:52:53 +00:00
var_dump(__NAMESPACE__);
--EXPECT--
string(8) "test\foo"
2007-09-28 19:52:53 +00:00
--UEXPECT--
unicode(8) "test\foo"