xref: /PHP-7.3/Zend/tests/ns_063.phpt (revision 5f6a39d5)
1--TEST--
2063: Old-style constructors in namesapces (not supported!)
3--FILE--
4<?php
5namespace Foo;
6class Bar {
7	function Bar() {
8		echo "ok\n";
9	}
10}
11new Bar();
12echo "ok\n";
13--EXPECT--
14ok
15