. Fixed bug #75434 (Wrong reflection for mysqli_fetch_all function). (Fabien
Villepinte)
+- Opcache:
+ . Fixed assertion on phpMyAdmin-4.7.5 home page. (Dmitry)
+
- SOAP:
. Fixed bug #75464 (Wrong reflection on SoapClient::__setSoapHeaders). (villfa)
for (j = 0; j < predecessors_count; j++) {
if (phi->sources[j] == var_num) {
if (j < pred_offset) {
- ZEND_ASSERT(phi->use_chains[pred_offset] == NULL);
+ if (next_phi == NULL) {
+ next_phi = phi->use_chains[pred_offset];
+ } else {
+ ZEND_ASSERT(phi->use_chains[pred_offset] == NULL);
+ }
} else if (j >= pred_offset) {
phi->use_chains[j] = next_phi;
}
--- /dev/null
+--TEST--
+Wrong assertion
+--FILE--
+<?php
+function foo($parts, $a, $b) {
+ $name = $a;
+ $level = 1;
+ foreach ($parts as $part) {
+ if ($level == 1) {
+ $level = 4;
+ $found = true;
+ switch ($part) {
+ case 'general':
+ break;
+ case 'bg':
+ $name = $b;
+ break;
+ }
+ if ($found) {
+ continue;
+ }
+ }
+ if ($level == 2) {
+ continue;
+ }
+ }
+ return $name;
+}
+?>
+OK
+--EXPECT--
+OK