. Fixed bug #76747 (Opcache treats path containing "test.pharma.tld" as a phar
file). (Laruence)
+- Standard:
+ . Fixed bug #76755 (setcookie does not accept "double" type for expire time).
+ (Laruence)
+
16 Aug 2018, PHP 7.3.0beta2
- Core:
goto cleanup;
}
} else {
- expires = Z_LVAL_P(expires_or_options);
+ expires = zval_get_long(expires_or_options);
}
}
--- /dev/null
+--TEST--
+Bug #76755 (setcookie does not accept "double" type for expire time)
+--FILE--
+<?php
+var_dump(setcookie('name', 'value', (real)(time() + 1296000)));
+?>
+--EXPECT--
+bool(true)