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