<?php
// your code goes here
$i = 0;
while ($i < 5) {
echo memory_get_usage() . "\n";
stream_context_create(
array('http' =>
array(
'method' => 'POST',
'header' => 'Content-type: application/x-www-form-urlencoded',
'content' => str_repeat('a', 99),
),
)
);
$i++;
}
- Output for 7.4.0
- 387240
387272
387272
387272
387272
- Output for 7.3.0 - 7.3.12
- 387160
387192
387192
387192
387192
- Output for 7.2.17 - 7.2.25
- 383280
383312
383312
383312
383312
- Output for 7.2.0
- 383320
383352
383352
383352
383352
- Output for 7.1.26 - 7.1.33
- 346672
346704
346704
346704
346704
- Output for 7.0.0 - 7.0.20, 7.1.0, 7.1.7
- 346744
346776
346776
346776
346776
- Output for 7.1.5 - 7.1.6
- 346912
346944
346944
346944
346944
- Output for 5.6.0 - 5.6.25
- 217512
217560
217560
217560
217560
- Output for 5.5.0 - 5.5.38
- 217512
217544
217544
217544
217544
- Output for 5.4.10 - 5.4.45
- 218032
218064
218064
218064
218064
- Output for 5.4.0 - 5.4.9
- 217504
217536
217536
217536
217536
- Output for 5.3.11 - 5.3.29
- 620880
620912
620912
620912
620912
- Output for 5.3.0 - 5.3.10
- 620576
620608
620608
620608
620608
- Output for 5.2.10 - 5.2.17
- 78512
79848
81152
82456
83760
- Output for 5.2.7 - 5.2.9
- 78872
81248
82552
83856
85160
- Output for 5.2.3 - 5.2.6
- 79192
81568
82872
84176
85480
- Output for 5.2.1 - 5.2.2
- 77088
79464
80768
82072
83432
- Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0
- Fatal error: Call to undefined function memory_get_usage() in /in/RHrCW on line 9
Process exited with code 255. - Output for 4.4.5 - 4.4.9
- Fatal error: Call to undefined function: memory_get_usage() in /in/RHrCW on line 9
Process exited with code 255. - Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
- Fatal error: Call to undefined function: memory_get_usage() in /in/RHrCW on line 9
Process exited with code 255. - Output for 4.3.0 - 4.3.1
- Fatal error: Call to undefined function: memory_get_usage() in /in/RHrCW on line 9
preferences:
190.05 ms | 401 KiB | 246 Q