3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $log_data = time() . " - " . memory_get_usage() . PHP_EOL; echo $log_data;
Output for 7.1.0
1402405871 - 345760
Output for 7.0.0 - 7.0.14
1402405871 - 345744
Output for hhvm-3.10.0 - 3.12.0
1402405871 - 2097152
Output for 5.5.0 - 5.6.28
1402405871 - 216440
Output for 5.4.10 - 5.4.45
1402405871 - 216960
Output for 5.4.0 - 5.4.9
1402405871 - 216432
Output for 5.3.11 - 5.3.29
1402405871 - 619152
Output for 5.3.0 - 5.3.10
1402405871 - 618848
Output for 5.2.10 - 5.2.17
1402405871 - 76912
Output for 5.2.7 - 5.2.9
1402405871 - 77416
Output for 5.2.3 - 5.2.6
1402405871 - 77736
Output for 5.2.2
1402405871 - 75592
Output for 5.2.1
1402405871 - 75536
Output for 5.0.0 - 5.2.0
Fatal error: Call to undefined function memory_get_usage() in /in/oPI2C on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: memory_get_usage() in /in/oPI2C on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: memory_get_usage() in /in/oPI2C on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: memory_get_usage() in /in/oPI2C on line 3