Gen. partnerAlgotech

PHP function prev()

Rewind the internal array pointer

|
September 11, 2019

Availability in PHP 4.0

Rewind the internal array pointer

Parameters

Parameter Data type Default value Note
$array array not The input array.

Return values

mixed

the array value in the previous place that's pointed to by the internal array pointer, or false if there are no more elements.

Other resources

Official prev documentation

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.