I keep getting an error when I try to instantiate the ArrayIterator class within a name space
$a = new ArrayIterator;
//works just fine
namespace test;
$a = new ArrayIterator;
//get error
//Fatal error: Class 'test\ArrayIterator' not found in /www/ on line 3
I've been searching the web for hours now and I still can't find a solution to solve this problem.