next
laravel/framework
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Advance the internal pointer of an array
next
(array|
object
&
$array
):
mixed
{
$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'
],
tests/Support/SupportHelpersTest.php