php-src/Zend/tests/ns_023.phpt
Dmitry Stogov f32ffe9b43 Namespaces
2007-09-28 19:52:53 +00:00

12 lines
167 B
PHP
Executable File

--TEST--
023: __NAMESPACE__ constant
--FILE--
<?php
namespace test::foo;
var_dump(__NAMESPACE__);
--EXPECT--
string(9) "test::foo"
--UEXPECT--
unicode(9) "test::foo"