ID: 8857 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Date/time related Operating System: Solaris 2.4 PHP Version: 4.0 Latest CVS (23/01/2001) New Comment:
These functions use the functions provided by your system's libs. Not a PHP bug -> bogus. Previous Comments: ------------------------------------------------------------------------ [2001-01-23 12:30:27] [EMAIL PROTECTED] the script: <?php echo "A: ", (double)microtime()*1000000; setlocale(LC_NUMERIC,"pl"); echo "<BR>"; echo "B: ", (double)microtime()*1000000; ?> the script's output: A: 773149 B: 0 it works however under Solaris 2.6: A: 588313 B: 590748 It is possible pl locale for Solaris 2.4 is somehow broken (although it seems elsewhere to work). Nevertheless even buggy locale shouldn't prevent other (PHP) functions (in consequence it breaks mt_srand and mt_rand) from working. What is interesting: all locale categories do not produce this effect except LC_NUMERIC and LC_ALL. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=8857&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]