From: ab Operating system: windows PHP version: 5.5Git-2013-07-16 (Git) Package: Streams related Bug Type: Bug Bug description:select() implementation uses outdated tick API
Description: ------------ The implementation of php_select() in win32/select.c uses outdated function Get TickCount. From the documentation page http://msdn.microsoft.com/en- us/library/ms724408(v=vs.85).aspx "The elapsed time is stored as a DWORD value. Therefore, the time will wrap around to zero if the system is run continuously for 49.7 days. To avoid this problem, use the GetTickCount64 function. Otherwise, check for an overflow condition when comparing times." This can be an issue for long running php processes. As 5.5 has not to support windows xp anymore, and as the documentation suggests, GetTickCount64 should be used. -- Edit bug report at https://bugs.php.net/bug.php?id=65268&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65268&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65268&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65268&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=65268&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=65268&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=65268&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=65268&r=needscript Try newer version: https://bugs.php.net/fix.php?id=65268&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=65268&r=support Expected behavior: https://bugs.php.net/fix.php?id=65268&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=65268&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=65268&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=65268&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65268&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=65268&r=dst IIS Stability: https://bugs.php.net/fix.php?id=65268&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=65268&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=65268&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=65268&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=65268&r=mysqlcfg