- Core:
. Fixed bug #75679 (Path 260 character problem). (Anatol)
+- Opcache:
+ . Fixed bug #75687 (var 8 (TMP) has array key type but not value type).
+ (Laruence)
+
- PGSQL:
. Fixed bug #75671 (pg_version() crashes when called on a connection to
cockroach). (magicaltux at gmail dot com)
/* Ignore the constraint (either ce instanceof constraint->ce or
* they are unrelated, as far as we can statically determine) */
}
+ } else if ((tmp & MAY_BE_ANY) == 0) {
+ /* FIXME: usage in unreachable block */
+ tmp |= MAY_BE_UNDEF;
}
}
--- /dev/null
+--TEST--
+Bug #75687 (var 8 (TMP) has array key type but not value type)
+--INI--
+opcache.enable=1
+opcache.enable_cli=1
+opcache.optimization_level=-1
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
+--FILE--
+<?php
+
+function x($y)
+{
+ if (is_array($y)) {
+ $z = is_array($y) ? array() : array($y);
+ }
+}
+?>
+okey
+--EXPECT--
+okey