PHP 8.5.0 Beta 2 available for testing

Voting

: min(zero, five)?
(Example: nine)

The Note You're Voting On

Geoffrey Thubron
18 years ago
@ tfg_allardyce at gmail dot com

You could loop through the list backwards, that way, you are only ever taking off the last item from the list, and hence wont have disrupted the order.

<< Back to user notes page

To Top