<?php
$result = array();
for($i=0;$i<1000000;$i++) {
$result[] = array('member0'=>0,'member1'=>1,'member2'=>2,'member3'=>3);
}
echo 'Memory: '.memory_get_usage()."\n";
Abusive script
This script was stopped while abusing our resources
- Output for 7.4.0 - 7.4.1
- Memory: 33946352
- Output for 7.3.0 - 7.3.13
- Memory: 33946272
- Output for 7.2.0 - 7.2.4, 7.2.6 - 7.2.8, 7.2.10 - 7.2.26
- Memory: 33942448
- Output for 5.6.1, 5.6.12, 5.6.19 - 5.6.20, 5.6.23, 5.6.31 - 5.6.34, 5.6.37, 7.0.9 - 7.0.12, 7.0.14 - 7.0.15, 7.0.24, 7.0.30, 7.1.2, 7.1.4 - 7.1.6, 7.1.14 - 7.1.15, 7.1.18 - 7.1.20, 7.2.5, 7.2.9
Process exited with code 137.- Output for 7.1.1, 7.1.3, 7.1.7 - 7.1.13, 7.1.16 - 7.1.17, 7.1.21 - 7.1.33
- Memory: 33905776
- Output for 7.1.0
- Memory: 33905776
Process exited with code 137. - Output for 7.0.0 - 7.0.8, 7.0.13, 7.0.16 - 7.0.23, 7.0.25 - 7.0.29, 7.0.31 - 7.0.33
- Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 20480 bytes) in /in/h9gQL on line 4
Process exited with code 255. - Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0, 5.6.2 - 5.6.11, 5.6.13 - 5.6.18, 5.6.21 - 5.6.22, 5.6.24 - 5.6.30, 5.6.35 - 5.6.36, 5.6.38 - 5.6.40
- Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 72 bytes) in /in/h9gQL on line 4
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 64 bytes) in /in/h9gQL on line 4
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 32 bytes) in /in/h9gQL on line 4
Process exited with code 255.
preferences:
186.91 ms | 401 KiB | 272 Q