blob: dbe34b428ebb5af62141cc7dda9a41a38eb6d9e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--TEST--
063: Old-style constructors in namesapces (not supported!)
--FILE--
<?php
namespace Foo;
class Bar {
function Bar() {
echo "ok\n";
}
}
new Bar();
echo "ok\n";
--EXPECT--
ok
|