php-src/Zend/tests/ns_069.phpt
Fabien Villepinte a555cc0b3d Clean DONE tags from tests
Remove most of the `===DONE===` tags and its variations.
Keep `===DONE===` if the test output otherwise becomes empty.

Closes GH-4872.
2019-11-07 21:31:47 +01:00

23 lines
289 B
PHP

--TEST--
069: Include inside namespaced method
--FILE--
<?php
namespace foo;
class Test {
static function f() {
var_dump(__NAMESPACE__);
include __DIR__ . '/ns_069.inc';
var_dump(__NAMESPACE__);
}
}
Test::f();
?>
--EXPECT--
string(3) "foo"
string(0) ""
string(3) "foo"