|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2021-06-18 09:40 UTC] nikic@php.net
-Status: Open
+Status: Not a bug
[2021-06-18 09:40 UTC] nikic@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 08:00:01 2025 UTC |
Description: ------------ <?php $arr = []; for ($i = 0; $i < 5000000; $i++) { $mct = microtime(true); $arr[$mct] = $mct; } print_r($arr); Expected result: ---------------- <?php $arr = []; for ($i = 0; $i < 5000000; $i++) { $mct = microtime(true); $arr[$mct] = $mct; } print_r($arr); // result Array ( [1624008537] => 1624008538 [1624008538] => 1624008538.6062 ) Key is diffrent and value is diffrent of same variable.