<?php next(array|object &$array): mixed
<?php { $pointerArray = ['Taylor', 'Otwell']; next($pointerArray); return [ ['/:[a-z_]+/', ['8:30', '9:00'], 'The event will take place between :start and :end', 'The event will take place between 8:30 and 9:00'],
<?php $offset += strlen($matches[0]); } else { next($patterns); } }