Req #73618 [NEW]: Request Feature: Change "Creation Date" time on Windows

From: Date: Mon, 28 Nov 2016 16:59:57 +0000
Subject: Req #73618 [NEW]: Request Feature: Change "Creation Date" time on Windows
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205675@lists.php.net to get a copy of this message
From: David at Refoua dot me Operating system: Windows PHP version: Irrelevant Package: Win32API related Bug Type: Feature/Change Request Bug description:Request Feature: Change "Creation Date" time on Windows Description: ------------ As stated in several questions like this: https://stackoverflow.com/q/11148262/1454514 We would like a feature for PHP's touch() function on Windows to also modify the "creation time" alongside last modification and access time, which php already supports. If PHP is internally using Windows APIs such as "windows.h", this can be *easily* managed by doing something like this: https://stackoverflow.com/a/10041674/1454514 This feature would be really useful for Windows CLI PHP application developers, like me for instance. Also, it's really easy to do so. I'd really appreciate php devs to implement this! :) Test script: --------------- <?php touch('exaple-dir', 1480352303); ?> -- Edit bug report at https://bugs.php.net/bug.php?id=73618&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73618&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73618&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73618&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=73618&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=73618&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=73618&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=73618&r=needscript Try newer version: https://bugs.php.net/fix.php?id=73618&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=73618&r=support Expected behavior: https://bugs.php.net/fix.php?id=73618&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=73618&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=73618&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=73618&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73618&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=73618&r=dst IIS Stability: https://bugs.php.net/fix.php?id=73618&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=73618&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=73618&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=73618&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=73618&r=mysqlcfg

« previous php.bugs (#205675) next »