php-src/Zend/tests/ns_063.phpt
2008-05-05 09:44:39 +00:00

14 lines
168 B
PHP

--TEST--
063: Support for old-style constructors in namesapces
--FILE--
<?php
namespace Foo;
class Bar {
function Bar() {
echo "ok\n";
}
}
new Bar();
--EXPECT--
ok