3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo ini_get('memory_limit'); $pass = str_repeat('a', 1024 * 1024 * 10 + 1024 * 400); $pass . $pass; __halt_compiler();
Output for 5.3.29, 5.4.27 - 7.1.0
64M
Output for 5.2.1 - 5.2.17, 5.4.0 - 5.4.26
32M
Output for 5.3.0 - 5.3.28
32M Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 21790721 bytes) in /in/4cjGX on line 5
Process exited with code 255.
Output for 5.1.0 - 5.2.0
Output for 5.0.0 - 5.0.5
Fatal error: Call to undefined function __halt_compiler() in /in/4cjGX on line 8
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: __halt_compiler() in /in/4cjGX on line 8
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: __halt_compiler() in /in/4cjGX on line 8
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: __halt_compiler() in /in/4cjGX on line 8