update page now
PHP 8.1.34 Released!

Voting

: max(zero, eight)?
(Example: nine)

The Note You're Voting On

xedin dot unknown at gmail dot com
7 years ago
Array functions, such as `current()` and `rewind()` will work on `Traversable` as well, PHP 5.0 - 7.3, but not in HHVM:

<?php

$queue = new ArrayIterator(array('adasdasd'));
reset($queue);
$current = current($queue);
var_dump($current);

?>

See https://3v4l.org/VjCHR

<< Back to user notes page

To Top