3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo sprintf('Extensions %s - %f', count(get_loaded_extensions()), memory_get_usage());
Output for 7.2.0
Extensions 34 - 382416.000000
Output for 7.0.14 - 7.0.20, 7.1.0, 7.1.7
Extensions 34 - 345800.000000
Output for 7.1.5 - 7.1.6
Extensions 34 - 345960.000000
Output for 7.0.6 - 7.0.10
Extensions 32 - 345800.000000
Output for 7.0.0 - 7.0.5
Extensions 35 - 345800.000000
Output for 5.6.28
Extensions 35 - 216616.000000
Output for 5.5.35 - 5.5.38, 5.6.21 - 5.6.25
Extensions 33 - 216616.000000
Output for 5.5.0 - 5.5.34, 5.6.0 - 5.6.20
Extensions 36 - 216616.000000
Output for 5.4.15 - 5.4.45
Extensions 35 - 217136.000000
Output for 5.4.10 - 5.4.14
Extensions 34 - 217136.000000
Output for 5.4.0 - 5.4.9
Extensions 34 - 216608.000000
Output for 5.3.11 - 5.3.29
Extensions 39 - 619112.000000
Output for 5.3.0 - 5.3.10
Extensions 39 - 618808.000000
Output for 5.2.10 - 5.2.17
Extensions 34 - 76736.000000
Output for 5.2.7 - 5.2.9
Extensions 34 - 83024.000000
Output for 5.2.3 - 5.2.6
Extensions 34 - 83344.000000
Output for 5.2.2
Extensions 35 - 81960.000000
Output for 5.2.1
Extensions 35 - 81432.000000
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/rtAJR on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: memory_get_usage() in /in/rtAJR on line 2
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/rtAJR on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: memory_get_usage() in /in/rtAJR on line 2

preferences:
147.88 ms | 401 KiB | 216 Q