. Fixed bug #80121 (Null pointer deref if CurlHandle directly instantiated).
(Nikita)
+- Opcache:
+ . Fixed bug #80184 (Complex expression in while / if statements resolves to
+ false incorrectly). (Nikita)
+
- SPL:
. Fixed bug #65387 (Circular references in SPL iterators are not garbage
collected). (Nikita)
--- /dev/null
+--TEST--
+Bug #80184: Complex expression in while / if statements resolves to false incorrectly
+--FILE--
+<?php
+
+$callbacks = [
+ function () { echo "First item!\n"; },
+ function () { echo "Second item!\n"; },
+ function () { echo "Third item!\n"; },
+ function () { echo "Fourth item!\n"; },
+];
+
+while ($callback = array_shift($callbacks) and ($callback() || true));
+
+?>
+--EXPECT--
+First item!
+Second item!
+Third item!
+Fourth item!