summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_063.phpt
blob: 1be000983f7d0570a40d1f0f69baafde2ed35901 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
063: Support for old-style constructors in namesapces
--FILE--
<?php
namespace Foo;
class Bar {
	function Bar() {
		echo "ok\n";
	}
}
new Bar();
--EXPECT--
ok