3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0; $i < 1000; $i++) { md5(uniqid(microtime(true), true)); }

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.0000.00817.10
7.1.60.0040.01219.70
7.1.50.0060.00617.00
7.1.00.0030.08022.28
7.0.200.0260.01014.87
7.0.140.0070.07021.99
7.0.60.0030.05319.81
7.0.50.0030.08317.80
7.0.40.0130.03720.23
7.0.30.0530.07320.13
7.0.20.0300.05020.00
7.0.10.0100.07720.04
7.0.00.0070.06720.04
5.6.280.0100.07020.77
5.6.210.0130.08020.46
5.6.200.0130.08018.20
5.6.190.0130.07020.39
5.6.180.3230.03720.70
5.6.170.0270.07720.54
5.6.160.0100.04720.61
5.6.150.0030.07718.15
5.6.140.0100.06718.22
5.6.130.0100.07718.23
5.6.120.0200.07020.89
5.6.110.0000.07320.96
5.6.100.0030.09020.90
5.6.90.0030.04720.87
5.6.80.0070.07720.35
5.6.70.4070.03720.41
5.5.350.0170.03720.41
5.5.340.0100.07318.02
5.5.330.0030.04320.40
5.5.320.0270.05320.41
5.5.310.0170.04320.26
5.5.300.0070.08017.91
5.5.290.0070.08718.02
5.5.280.0070.08720.98
5.5.270.0030.05720.75
5.5.260.0030.07020.87
5.5.250.0100.03720.58
5.5.240.0200.06320.03
5.4.450.0330.05329.93
5.4.440.0330.04729.92
5.4.430.0270.05028.29
5.4.420.1100.03719.45
5.4.410.0100.04028.29
5.4.400.0430.03028.29
5.4.390.0670.03728.29
5.4.380.0170.05318.65
5.4.370.0100.05718.77
5.4.360.0200.04718.58
5.4.350.0200.05018.57
5.4.340.0170.05018.49
5.4.320.0080.03612.46
5.4.310.0080.05612.45
5.4.300.0080.03812.46
5.4.290.0050.04312.46
5.4.280.0060.04612.36
5.4.270.0090.03512.35
5.4.260.0080.03712.36
5.4.250.0060.04012.36
5.4.240.0050.04212.35
5.4.230.0130.04012.35
5.4.220.0110.04212.35
5.4.210.0080.04912.34
5.4.200.0080.04012.34
5.4.190.0080.03912.34
5.4.180.0080.04412.34
5.4.170.0130.04512.35
5.4.160.0110.03812.35
5.4.150.0080.04912.35
5.4.140.0130.05012.03
5.4.130.0070.05012.02
5.4.120.0090.04911.98
5.4.110.0080.05011.97
5.4.100.0080.04711.97
5.4.90.0090.05011.97
5.4.80.0140.04511.96
5.4.70.0060.04011.97
5.4.60.0050.03811.96
5.4.50.0090.05211.96
5.4.40.0110.03911.95
5.4.30.0100.03511.95
5.4.20.0080.04111.95
5.4.10.0050.03811.95
5.4.00.0070.03711.44
5.3.290.0090.03812.80
5.3.280.0080.04012.71
5.3.270.0060.04212.72
5.3.260.0080.04212.72
5.3.250.0040.04412.72
5.3.240.0090.03812.72
5.3.230.0090.04512.71
5.3.220.0100.05212.68
5.3.210.0050.04412.68
5.3.200.0060.03912.68
5.3.190.0120.03712.68
5.3.180.0070.04112.68
5.3.170.0040.04312.67
5.3.160.0060.04112.68
5.3.150.0070.04012.67
5.3.140.0110.04912.66
5.3.130.0080.05512.66
5.3.120.0090.05412.66
5.3.110.0080.05112.65
5.3.100.0080.03712.12
5.3.90.0050.04012.09
5.3.80.0080.03612.07
5.3.70.0090.03612.07
5.3.60.0080.03712.06
5.3.50.0080.03712.00
5.3.40.0100.03512.00
5.3.30.0060.03711.95
5.3.20.0040.04111.73
5.3.10.0060.03611.70
5.3.00.0020.04811.68
5.2.170.0050.0349.18
5.2.160.0060.0339.19
5.2.150.0040.0349.19
5.2.140.0070.0319.18
5.2.130.0040.0339.14
5.2.120.0070.0339.14
5.2.110.0050.0339.15
5.2.100.0050.0429.14
5.2.90.0060.0439.14
5.2.80.0070.0319.14
5.2.70.0050.0339.14
5.2.60.0040.0359.09
5.2.50.0090.0309.06
5.2.40.0060.0309.04
5.2.30.0050.0329.01
5.2.20.0020.0379.03
5.2.10.0050.0368.95
5.2.00.0070.0378.82
5.1.60.0060.0298.10
5.1.50.0050.0318.09
5.1.40.0080.0298.07
5.1.30.0040.0388.43
5.1.20.0080.0418.45
5.1.10.0040.0388.17
5.1.00.0040.0338.17
5.0.50.0040.0276.66
5.0.40.0040.0256.51
5.0.30.0040.0386.32
5.0.20.0060.0236.29
5.0.10.0050.0256.27
5.0.00.0030.0366.26
4.4.90.0020.0214.78
4.4.80.0050.0184.75
4.4.70.0020.0284.76
4.4.60.0050.0194.75
4.4.50.0030.0204.77
4.4.40.0030.0304.71
4.4.30.0040.0194.76
4.4.20.0020.0214.85
4.4.10.0040.0204.85
4.4.00.0020.0304.76
4.3.110.0020.0204.67
4.3.100.0040.0194.66
4.3.90.0030.0224.63
4.3.80.0040.0284.58
4.3.70.0040.0224.63
4.3.60.0050.0174.63
4.3.50.0040.0184.63
4.3.40.0020.0294.54
4.3.30.0050.0183.32
4.3.20.0050.0193.30
4.3.10.0020.0193.25
4.3.00.0030.02328.29

preferences:
37.59 ms | 400 KiB | 5 Q