01.01.2011, 13:51
It could be some sort of problem with using it inside of a 'foreach' loop, make sure to double check the documentation regarding it.
It would also help if you showed the code that you tested it with (debugging the problem).
It would also help if you showed the code that you tested it with (debugging the problem).