3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ddd = str_repeat('a', 1024 * 1024 * 2 - memory_get_usage()); $pass = str_repeat('a', 1024 * 1024 * 9 + 1024 * 512); $pass . $pass; __halt_compiler();

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)
7.1.70.4100.01047.22
7.1.60.0070.03147.72
7.1.50.0110.02147.29
7.1.00.0030.04052.48
7.0.200.0430.00946.84
7.0.140.0100.07752.23
7.0.60.0270.08350.11
7.0.50.0270.07047.84
7.0.40.0130.08748.00
7.0.30.0530.06048.06
7.0.20.0630.04348.19
7.0.10.0800.07348.29
7.0.00.0130.04348.19
5.6.280.0100.07750.92
5.6.210.0230.08350.63
5.6.200.0130.04348.32
5.6.190.0070.05050.48
5.6.181.1170.04350.48
5.6.170.0870.07350.53
5.6.160.0230.03350.41
5.6.150.0170.07748.27
5.6.140.0200.07048.18
5.6.130.0230.09048.31
5.6.120.0200.09051.25
5.6.110.0130.06751.04
5.6.100.0200.09051.13
5.6.90.0230.09351.25
5.6.80.0170.03750.55
5.6.70.0570.08050.43
5.5.350.0300.03750.77
5.5.340.0300.08048.02
5.5.330.0200.09350.20
5.5.320.0570.10050.32
5.5.310.0630.04050.19
5.5.300.0230.08348.14
5.5.290.0170.09048.07
5.5.280.0330.08050.89
5.5.270.0300.07750.97
5.5.260.0130.04351.02
5.5.250.0370.07050.91
5.5.240.0070.09350.31
5.4.450.2300.06349.73
5.4.440.0970.05349.34
5.4.430.2200.05749.72
5.4.420.2100.06049.40
5.4.410.2300.06049.42
5.4.400.0900.05748.84
5.4.390.0800.06748.85
5.4.380.0770.05348.64
5.4.370.0430.05748.83
5.4.360.0570.04348.78
5.4.350.0430.05748.80
5.4.340.0430.07048.61
5.4.320.0140.04042.61
5.4.310.0130.04242.61
5.4.300.0110.04742.61
5.4.290.0150.04742.60
5.4.280.0160.03742.50
5.4.270.0100.04342.50
5.4.260.0300.07048.98
5.4.250.0200.06348.79
5.4.240.0300.05049.03
5.4.230.0330.05048.88
5.4.220.0130.06748.84
5.4.210.0270.06749.03
5.4.200.0330.05349.00
5.4.190.0270.05048.92
5.4.180.0270.08048.65
5.4.170.0270.07748.97
5.4.160.0230.07049.01
5.4.150.0100.09748.68
5.4.140.0270.05346.52
5.4.130.0270.07346.36
5.4.120.0230.05746.41
5.4.110.0270.05346.55
5.4.100.0230.05346.55
5.4.90.0330.06346.34
5.4.80.0230.08046.57
5.4.70.0170.05346.35
5.4.60.0300.05046.39
5.4.50.0170.06046.34
5.4.40.0200.05746.38
5.4.30.0230.07046.43
5.4.20.0200.07746.52
5.4.10.0170.08346.31
5.4.00.0430.05045.86
5.3.290.0130.04342.57
5.3.280.0230.07344.17
5.3.270.0270.06044.44
5.3.260.0400.06344.03
5.3.250.0430.04744.20
5.3.240.0230.07344.16
5.3.230.0300.07044.32
5.3.220.0300.05744.29
5.3.210.0170.08344.13
5.3.200.0300.06743.99
5.3.190.0170.07344.29
5.3.180.0300.05744.14
5.3.170.0170.05344.16
5.3.160.0230.08043.99
5.3.150.0230.07344.40
5.3.140.0330.06744.30
5.3.130.0230.08344.38
5.3.120.0270.07744.27
5.3.110.0200.08744.13
5.3.100.0200.05343.65
5.3.90.0230.05743.69
5.3.80.0370.05743.79
5.3.70.0270.05343.69
5.3.60.0270.06043.68
5.3.50.0330.06343.48
5.3.40.0330.04343.45
5.3.30.0130.05743.49
5.3.20.0200.06343.38
5.3.10.0230.05743.33
5.3.00.0230.07043.22
5.2.170.0230.04341.38
5.2.160.0200.06341.29
5.2.150.0130.05341.38
5.2.140.0130.07041.26
5.2.130.0230.06341.29
5.2.120.0230.06741.16
5.2.110.0270.06041.34
5.2.100.0130.06741.13
5.2.90.0170.04741.23
5.2.80.0130.05341.23
5.2.70.0270.03741.11
5.2.60.0170.05041.25
5.2.50.0130.06741.20
5.2.40.0200.04041.15
5.2.30.0230.06041.19
5.2.20.0130.06741.16
5.2.10.0270.05041.14
5.2.00.0030.04710.61
5.1.60.0070.03310.02
5.1.50.0130.02710.08
5.1.40.0170.0239.89
5.1.30.0030.04010.26
5.1.20.0100.03310.35
5.1.10.0130.04010.15
5.1.00.0030.04010.12
5.0.50.0030.0309.71
5.0.40.0070.0279.71
5.0.30.0070.0409.71
5.0.20.0030.0379.71
5.0.10.0100.0309.71
5.0.00.0030.0479.71
4.4.90.0030.0309.71
4.4.80.0030.0209.71
4.4.70.0030.0309.71
4.4.60.0030.0209.71
4.4.50.0100.0139.71
4.4.40.0070.0309.71
4.4.30.0030.0209.71
4.4.20.0030.0279.71
4.4.10.0000.0339.71
4.4.00.0030.0339.71
4.3.110.0000.0239.71
4.3.100.0070.0279.71
4.3.90.0070.0209.71
4.3.80.0030.0409.71
4.3.70.0030.0209.71
4.3.60.0030.0239.71
4.3.50.0000.0279.71
4.3.40.0000.0339.71
4.3.30.0000.0239.71
4.3.20.0000.0279.71
4.3.10.0070.0239.71
4.3.00.0070.0277.26

preferences:
58.49 ms | 401 KiB | 5 Q