<?php
$count = 50000;
$time = microtime(true);
$items = array();
for ($i = 0; $i < $count; $i++) {
$item = array();
$item['some_simple_key_0'] = 'value 0';
$item['some_simple_key_1'] = 'value 1';
$item['some_simple_key_2'] = 'value 2';
$item['some_simple_key_3'] = 'value 3';
$item['some_simple_key_4'] = 'value 4';
$item['some_simple_key_5'] = 'value 5';
$item['some_simple_key_6'] = 'value 6';
$item['some_simple_key_7'] = 'value 7';
$item['some_simple_key_8'] = 'value 8';
$item['some_simple_key_9'] = 'value 9';
$val = $item['some_simple_key_0'];
$val = $item['some_simple_key_1'];
$val = $item['some_simple_key_2'];
$val = $item['some_simple_key_3'];
$val = $item['some_simple_key_4'];
$val = $item['some_simple_key_5'];
$val = $item['some_simple_key_6'];
$val = $item['some_simple_key_7'];
$val = $item['some_simple_key_8'];
$val = $item['some_simple_key_9'];
$items[] = $item;
}
$spentTime = microtime(true) - $time;
echo number_format($spentTime, 3) . ' seconds';
- Output for 7.0.33, 7.4.0 - 7.4.1
- 0.058 seconds
- Output for 7.1.27, 7.3.13
- 0.060 seconds
- Output for 7.0.10, 7.3.12
- 0.059 seconds
- Output for 7.2.2, 7.3.11
- 0.048 seconds
- Output for 7.0.17, 7.1.0, 7.1.5, 7.2.17, 7.2.22, 7.3.10
- 0.045 seconds
- Output for 7.0.2, 7.0.13 - 7.0.14, 7.1.19, 7.1.22, 7.2.19, 7.2.21, 7.2.24, 7.3.9
- 0.043 seconds
- Output for 7.0.4, 7.0.7, 7.0.23, 7.0.29, 7.1.3, 7.1.8, 7.1.18, 7.1.26, 7.3.8
- 0.041 seconds
- Output for 7.1.1 - 7.1.2, 7.1.16, 7.1.20, 7.1.24, 7.1.29, 7.3.7
- 0.039 seconds
- Output for 7.0.9, 7.0.19, 7.0.28, 7.0.30, 7.3.6
- 0.046 seconds
- Output for 7.0.8, 7.0.16, 7.0.25, 7.0.27, 7.1.6 - 7.1.7, 7.1.9, 7.1.31, 7.3.2 - 7.3.3, 7.3.5
- 0.040 seconds
- Output for 7.1.21, 7.1.25, 7.2.15, 7.3.0, 7.3.4
- 0.047 seconds
- Output for 7.2.3, 7.2.13, 7.3.1
- 0.035 seconds
- Output for 7.2.25 - 7.2.26
- 0.063 seconds
- Output for 7.0.1, 7.0.6, 7.0.18, 7.0.21, 7.2.18, 7.2.20, 7.2.23
- 0.044 seconds
- Output for 7.1.4, 7.2.16
- 0.049 seconds
- Output for 7.1.13, 7.1.28, 7.1.32, 7.2.14
- 0.037 seconds
- Output for 7.2.12
- 0.034 seconds
- Output for 7.1.12, 7.1.15, 7.2.1, 7.2.4, 7.2.8, 7.2.11
- 0.038 seconds
- Output for 7.1.33, 7.2.10
- 0.036 seconds
- Output for 7.0.5, 7.0.11, 7.0.15, 7.0.22, 7.0.31, 7.2.9
- 0.042 seconds
- Output for 7.2.7
- 0.102 seconds
- Output for 7.2.6
- 0.031 seconds
- Output for 7.2.5
- 0.050 seconds
- Output for 7.2.0
- 0.032 seconds
- Output for 7.0.12, 7.1.30
- 0.054 seconds
- Output for 7.1.10, 7.1.23
- 0.051 seconds
- Output for 7.1.11, 7.1.17
- 0.056 seconds
- Output for 7.1.14
- 0.055 seconds
- Output for 7.0.0, 7.0.20, 7.0.24, 7.0.32
- 0.057 seconds
- Output for 7.0.26
- 0.062 seconds
- Output for 7.0.3
- 0.052 seconds
- Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
- Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 72 bytes) in /in/WtaiM on line 34
Process exited with code 255. - Output for 5.4.10 - 5.4.45
- Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 72 bytes) in /in/WtaiM on line 19
Process exited with code 255. - Output for 5.4.0 - 5.4.9
- Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /in/WtaiM on line 12
Process exited with code 255. - Output for 5.3.11 - 5.3.29
- Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /in/WtaiM on line 18
Process exited with code 255. - Output for 5.3.0 - 5.3.10
- Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 89 bytes) in /in/WtaiM on line 20
Process exited with code 255. - Output for 5.2.1, 5.2.10 - 5.2.17
- Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 24 bytes) in /in/WtaiM on line 16
Process exited with code 255. - Output for 5.2.7 - 5.2.9
- Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 8 bytes) in /in/WtaiM on line 15
Process exited with code 255. - Output for 5.2.3 - 5.2.6
- Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 89 bytes) in /in/WtaiM on line 14
Process exited with code 255. - Output for 5.2.2
- Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 89 bytes) in /in/WtaiM on line 13
Process exited with code 255. - Output for 5.2.0
- 0.175 seconds
- Output for 5.1.6
- 0.149 seconds
- Output for 5.1.0, 5.1.5
- 0.158 seconds
- Output for 5.1.4
- 0.152 seconds
- Output for 5.1.3
- 0.231 seconds
- Output for 5.1.2
- 0.156 seconds
- Output for 5.1.1
- 0.150 seconds
- Output for 5.0.5
- 0.198 seconds
- Output for 5.0.4
- 0.196 seconds
- Output for 5.0.3
- 0.197 seconds
- Output for 5.0.2
- 0.204 seconds
- Output for 5.0.1
- 0.189 seconds
- Output for 4.3.7, 5.0.0
- 0.203 seconds
- Output for 4.4.9
- 0.195 seconds
- Output for 4.4.8
- 0.190 seconds
- Output for 4.4.7
- -0.772 seconds
- Output for 4.4.6
- 0.224 seconds
- Output for 4.4.0, 4.4.5
- -0.792 seconds
- Output for 4.3.10, 4.4.4
- 0.201 seconds
- Output for 4.4.3
- 0.259 seconds
- Output for 4.4.2
- 0.213 seconds
- Output for 4.4.1
- 0.209 seconds
- Output for 4.3.11
- 0.255 seconds
- Output for 4.3.9
- -0.807 seconds
- Output for 4.3.8
- 0.207 seconds
- Output for 4.3.6
- 0.228 seconds
- Output for 4.3.5
- 0.225 seconds
- Output for 4.3.4
- 0.227 seconds
- Output for 4.3.3
- 0.243 seconds
- Output for 4.3.2
- 0.271 seconds
- Output for 4.3.1
- -0.761 seconds
- Output for 4.3.0
- 0.205 seconds
preferences:
262.5 ms | 401 KiB | 325 Q