3v4l.org

run code in 300+ PHP versions simultaneously
This is outputted verbatim <?php echo "Hello from PHP!\n"; echo phpversion() ."\n"; </script> This is also outputted verbatim

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.6.280.0030.06720.91
5.6.210.0100.07720.72
5.6.200.0100.06318.17
5.6.190.0100.07720.35
5.6.180.0370.03720.64
5.6.170.0270.07720.50
5.6.160.0100.07320.48
5.6.150.0030.04018.21
5.6.140.0100.05718.08
5.6.130.0030.08318.12
5.6.120.0070.06020.89
5.6.110.0100.08021.11
5.6.100.0130.08021.00
5.6.90.0030.07721.09
5.6.80.0170.07320.39
5.5.350.0070.08020.48
5.5.340.0070.08317.92
5.5.330.0030.05320.29
5.5.320.0070.05720.30
5.5.310.0270.08320.20
5.5.300.0100.06717.94
5.5.290.0100.06718.01
5.5.280.0200.05020.67
5.5.270.0070.07720.74
5.5.260.0170.07320.76
5.5.250.0070.04020.57
5.5.240.0230.06020.36
5.4.450.0100.04019.41
5.4.440.0030.04019.50
5.4.430.0030.07019.23
5.4.420.0070.05319.40
5.4.410.0030.08319.13
5.4.400.0100.05719.18
5.4.390.0070.05718.79
5.4.380.0130.05019.07
5.4.370.0070.04018.92
5.4.360.0000.04319.14
5.4.350.0030.07718.92
5.4.340.0030.05319.14
5.4.320.0030.07319.17
5.4.310.0100.06319.09
5.4.300.0070.03319.11
5.4.290.0070.07719.07
5.4.280.0070.03719.08
5.4.270.0030.05719.20
5.4.260.0030.04018.80
5.4.250.0000.06019.17
5.4.240.0030.07718.80
5.4.230.0030.06319.07
5.4.220.0070.07318.91
5.4.210.0030.04018.91
5.4.200.0030.05719.17
5.4.190.0070.07319.11
5.4.180.0100.05718.99
5.4.170.0030.06019.10
5.4.160.0000.04019.07
5.4.150.0030.04719.07
5.4.140.0000.04016.25
5.4.130.0030.03716.45
5.4.120.0070.04016.29
5.4.110.0030.03716.20
5.4.100.0070.07316.41
5.4.90.0000.04016.33
5.4.80.0070.03316.35
5.4.70.0070.05716.25
5.4.60.0070.04016.26
5.4.50.0070.04316.38
5.4.40.0130.04016.58
5.4.30.0070.07016.26
5.4.20.0070.07316.38
5.4.10.0030.04016.39
5.4.00.0030.05315.71
5.3.290.0100.08014.60
5.3.280.0070.07714.57
5.3.270.0030.04314.55
5.3.260.0030.03714.52
5.3.250.0030.03714.52
5.3.240.0030.05014.53
5.3.230.0000.04014.68
5.3.220.0070.03314.50
5.3.210.0030.08014.46
5.3.200.0070.07714.46
5.3.190.0030.07014.52
5.3.180.0030.05014.48
5.3.170.0030.04714.49
5.3.160.0130.07014.51
5.3.150.0070.04314.51
5.3.140.0100.05314.47
5.3.130.0000.05314.55
5.3.120.0100.04714.44
5.3.110.0070.03714.33
5.3.100.0030.04013.96
5.3.90.0230.05313.95
5.3.80.0000.04313.96
5.3.70.0070.03313.94
5.3.60.0100.07313.83
5.3.50.0070.07313.89
5.3.40.0070.04313.88
5.3.30.0070.04313.86
5.3.20.0030.04313.64
5.3.10.0070.07013.67
5.3.00.0030.04713.60
5.2.170.0000.07711.00
5.2.160.0030.04311.02
5.2.150.0130.05011.13
5.2.140.0030.05311.11
5.2.130.0000.04311.03
5.2.120.0030.06011.03
5.2.110.0070.04310.99
5.2.100.0070.05711.00
5.2.90.0030.06711.08
5.2.80.0000.04711.24
5.2.70.0070.05011.07
5.2.60.0030.05311.02
5.2.50.0030.06311.11
5.2.40.0100.03310.95
5.2.30.0030.04710.79
5.2.20.0030.05010.96
5.2.10.0030.06711.01
5.2.00.0070.05010.71
5.1.60.0070.0279.99
5.1.50.0070.03710.06
5.1.40.0000.0509.95
5.1.30.0000.02710.36
5.1.20.0070.05710.25
5.1.10.0070.05710.10
5.1.00.0030.04310.06
5.0.50.0000.0478.55
5.0.40.0030.0378.55
5.0.30.0000.0478.37
5.0.20.0070.0408.18
5.0.10.0030.0308.29
5.0.00.0070.0378.08
4.4.90.0030.0238.08
4.4.80.0000.0338.08
4.4.70.0070.0308.08
4.4.60.0000.0378.08
4.4.50.0030.0278.08
4.4.40.0000.0308.08
4.4.30.0030.0208.08
4.4.20.0000.0338.08
4.4.10.0000.0178.08
4.4.00.0030.0438.08
4.3.110.0000.0238.08
4.3.100.0030.0378.08
4.3.90.0000.0308.08
4.3.80.0000.0478.08
4.3.70.0070.0208.08
4.3.60.0070.0308.08
4.3.50.0030.0278.08
4.3.40.0000.0538.08
4.3.30.0070.0308.08
4.3.20.0000.0338.08
4.3.10.0000.0338.08
4.3.00.0000.0208.08

preferences:
144.73 ms | 1394 KiB | 7 Q