From: v-altruo at microsoft dot com Operating system: Windows PHP version: 7.4.0alpha3 Package: Testing related Bug Type: Bug Bug description:output mismatch
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 bug report at https://bugs.php.net/bug.php?id=78281&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=78281&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=78281&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=78281&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=78281&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78281&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78281&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78281&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78281&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78281&r=support Expected behavior: https://bugs.php.net/fix.php?id=78281&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78281&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78281&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78281&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=78281&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=78281&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78281&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78281&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78281&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78281&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78281&r=mysqlcfg