Deprecated: Return type of Iterator@anonymous::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/c2ode on line 8
Deprecated: Return type of Iterator@anonymous::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/c2ode on line 13
Deprecated: Return type of Iterator@anonymous::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/c2ode on line 18
Deprecated: Return type of Iterator@anonymous::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/c2ode on line 23
Deprecated: Return type of Iterator@anonymous::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/c2ode on line 28
Using skipOne(iterator):
Skipped one
Rewinding
int(1)
int(2)
int(3)
Using skipOne(generator):
Skipped one
int(2)
int(3)
Using skipOne(wrappedIterator):
Rewinding
Skipped one
int(2)
int(3)
Using foreach(iterator):
Rewinding
int(1)
int(2)
int(3)
Using skipOne(iterator):
Skipped one
Rewinding
int(1)
int(2)
int(3)
Using skipOne(generator):
Skipped one
int(2)
int(3)
Using skipOne(wrappedIterator):
Rewinding
Skipped one
int(2)
int(3)
Using foreach(iterator):
Rewinding
int(1)
int(2)
int(3)
Output for 5.6.0 - 5.6.40
Parse error: syntax error, unexpected 'class' (T_CLASS) in /in/c2ode on line 2
Process exited with code 255.