Bug #78281 [Dup]: output mismatch
| From: | cmb@php.net | Date: | Wed, 07 Aug 2019 06:52:52 +0000 |
| Subject: | Bug #78281 [Dup]: output mismatch | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-222117@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78281&edit=1
ID: 78281
Updated by: cmb@php.net
Reported by: v-altruo at microsoft dot com
Summary: output mismatch
Status: Duplicate
Type: Bug
Package: Scripting Engine problem
Operating System: Windows
PHP Version: 7.4.0alpha3
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This bug will be fixed in PHP 7.2.22 and 7.3.9 (and has already been fixed in 7.4.0beta1).
Previous Comments:
------------------------------------------------------------------------
[2019-08-06 23:28:13] v-altruo at microsoft dot com
This test still fails for PHP-7.2.21 and PHP-7.3.8 for x86 only regardless of opcache on/off.
There is a slight difference though.
An output for 7.2.21:
failed (got -34, expecting 1565129706)
An output for 7.3.8:
failed (got -185, expecting 1565129706)
Running each one multiple times gave different values that were "got x". The value always
increased, but not by a set amount.
------------------------------------------------------------------------
[2019-07-13 10:17:22] cmb@php.net
This bug has the same cause as bug #78282, so I'm closing as
duplicate.
------------------------------------------------------------------------
[2019-07-12 19:49:01] v-altruo at microsoft dot com
Description:
------------
Test fails for both TS/NTS regardless of opcache on/off but only for x86. My machine is x64, if that
matters.
Failed Test Location: ext\standard\tests\file\bug49047.phpt
Test script:
---------------
<?php
// fopen with interesting windows paths.
$testdir = __DIR__ . '/bug47177.tmpdir';
mkdir($testdir);
$t = time() - 3600;
touch($testdir, $t);
clearstatcache();
$t2 = filemtime($testdir);
if ($t2 != $t) echo "failed (got $t2, expecting $t)\n";
rmdir($testdir);
echo "Ok.";
?>
Expected result:
----------------
Ok.
Actual result:
--------------
failed (got 2133437328, expecting 1562957009)
Ok.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78281&edit=1