xref: /PHP-8.1/Zend/tests/ns_063.phpt (revision f8d79582)
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