3v4l.org

run code in 300+ PHP versions simultaneously
<?php class AutoLoader { static function load() { require 'path/to/php/file' } } //spl_autoload_register(array('AutoLoader', 'load')); $a = new Cheese();

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.270.0130.07018.95
5.4.260.0100.07718.97
5.4.250.0170.05018.96
5.4.240.0100.07318.94
5.4.230.0100.05018.93
5.4.220.0130.07319.00
5.4.210.0070.05718.93
5.4.200.0030.07018.96
5.4.190.0130.05318.64
5.4.180.0230.04318.98
5.4.170.0270.04318.89
5.4.160.0170.04318.98
5.4.150.0130.07019.09
5.4.140.0030.06016.45
5.4.130.0200.06716.58
5.4.120.0100.04716.31
5.4.110.0100.06716.43
5.4.100.0130.05316.52
5.4.90.0170.03716.65
5.4.80.0100.04716.55
5.4.70.0200.05316.60
5.4.60.0070.05016.46
5.4.50.0100.07016.48
5.4.40.0070.07316.60
5.4.30.0130.05316.53
5.4.20.0200.05316.39
5.4.10.0130.05716.59
5.4.00.0130.04715.99
5.3.280.0100.05714.61
5.3.270.0170.04314.69
5.3.260.0070.05314.70
5.3.250.0130.05714.69
5.3.240.0170.04314.74
5.3.230.0200.04714.68
5.3.220.0200.06314.55
5.3.210.0100.06314.53
5.3.200.0030.05314.67
5.3.190.0100.07714.65
5.3.180.0030.05714.54
5.3.170.0100.06714.73
5.3.160.0070.05314.46
5.3.150.0200.05314.78
5.3.140.0070.07314.64
5.3.130.0170.04714.52
5.3.120.0200.06014.68
5.3.110.0070.06014.45
5.3.100.0030.07314.12
5.3.90.0100.06014.18
5.3.80.0100.05014.18
5.3.70.0030.06313.84
5.3.60.0170.04714.02
5.3.50.0030.05314.03
5.3.40.0130.06013.94
5.3.30.0100.04713.97
5.3.20.0030.06013.86
5.3.10.0130.05013.48
5.3.00.0030.05713.61
5.2.170.0130.05711.22
5.2.160.0130.05311.21
5.2.150.0030.04711.14
5.2.140.0230.04011.09
5.2.130.0170.04311.10
5.2.120.0070.04011.18
5.2.110.0030.04311.16
5.2.100.0100.03710.92
5.2.90.0170.03711.18
5.2.80.0070.04711.15
5.2.70.0070.05311.16
5.2.60.0070.06011.05
5.2.50.0100.04011.10
5.2.40.0070.04311.07
5.2.30.0070.04310.97
5.2.20.0030.04711.13
5.2.10.0030.04010.77
5.2.00.0070.05310.63
5.1.60.0030.03310.24
5.1.50.0100.04310.09
5.1.40.0100.03310.13
5.1.30.0200.03710.42
5.1.20.0100.03010.51
5.1.10.0030.04310.04
5.1.00.0070.04310.22
5.0.50.0070.0378.46
5.0.40.0030.0408.36
5.0.30.0000.0478.17
5.0.20.0030.0308.43
5.0.10.0070.0278.21
5.0.00.0030.0578.31
4.4.90.0100.0207.23
4.4.80.0000.0237.23
4.4.70.0030.0277.23
4.4.60.0070.0277.23
4.4.50.0030.0277.23
4.4.40.0000.0377.23
4.4.30.0000.0277.23
4.4.20.0030.0237.23
4.4.10.0070.0207.23
4.4.00.0030.0377.23
4.3.110.0030.0207.23
4.3.100.0070.0177.23
4.3.90.0070.0177.23
4.3.80.0100.0377.23
4.3.70.0100.0177.23
4.3.60.0030.0277.23
4.3.50.0070.0307.23
4.3.40.0000.0337.23
4.3.30.0030.0237.23
4.3.20.0070.0237.23
4.3.10.0000.0307.23
4.3.00.0000.0237.22

preferences:
136.81 ms | 1386 KiB | 7 Q