<?php $it = new ArrayIterator(array("tmp", "foo", "bar", "bazbar")); $it = new RegexIterator($it, "/ba(.)/", RegexIterator::ALL_MATCHES); echo count(iterator_to_array($it));
You have javascript disabled. You will not be able to edit any code.