I've got a temporary fix but still the iterator always return true,
still hope someone could help me out to point out the problem:)
//parseOptions utilitiese by tgckpg
function parseOptions ( $argStream, $handler ) {
//Chop first useless argument -- argv[0]
array_shift ( $argStream
If you enable notices you will see that PHP outputs this : Notice:
ArrayIterator::next(): Array was modified outside object and internal
position is no longer valid.This line seems to be the problem //Test
if next stream is an option for ( $iterator->next();
$iterator->valid(); $iterator->next() )
2012/1/28 Mihai Anghel
If you enable notices you will see that PHP outputs this : Notice:
ArrayIterator::next(): Array was modified outside object and internal
position is no longer valid.This line seems to be the problem //Test
if next stream is an option for ( $iterator->next();
$iterator->vali
3 matches
Mail list logo