3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo base_convert(sha1(uniqid(mt_rand(), true)), 16, 72);

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.0030.00316.89
7.1.60.0000.01217.13
7.1.50.0060.01316.82
7.1.00.0030.07722.45
7.0.200.0090.00916.48
7.0.140.0070.07021.95
7.0.60.0070.06719.88
7.0.50.0070.05017.94
7.0.40.0100.08720.06
7.0.30.0300.04020.05
7.0.20.0270.05320.35
7.0.10.0070.08319.96
7.0.00.0030.07020.19
5.6.280.0000.07721.00
5.6.210.0030.04320.64
5.6.200.0100.08018.12
5.6.190.0030.05320.57
5.6.180.0400.07020.77
5.6.170.0170.06720.53
5.6.160.0100.05320.46
5.6.150.0000.04318.14
5.6.140.0130.06018.25
5.6.130.0030.08318.11
5.6.120.0130.06721.11
5.6.110.0200.07720.97
5.6.100.0100.04021.12
5.6.90.0030.09321.12
5.6.80.0030.04020.50
5.5.350.0330.07720.39
5.5.340.0200.07017.98
5.5.330.0230.07020.57
5.5.320.0070.04720.41
5.5.310.0270.05720.13
5.5.300.0070.04017.88
5.5.290.0000.09317.90
5.5.280.0000.07320.76
5.5.270.0030.08720.86
5.5.260.0070.06720.79
5.5.250.0200.07320.60
5.5.240.0130.04720.28
5.4.450.0500.06019.59
5.4.440.0770.06019.09
5.4.430.1230.05719.65
5.4.420.1230.06719.62
5.4.410.0800.05319.14
5.4.400.1030.05319.13
5.4.390.1030.06019.09
5.4.380.0830.05718.48
5.4.370.0930.05018.60
5.4.360.0970.05018.66
5.4.350.0830.05318.71
5.4.340.0800.06318.46
5.4.320.0110.03912.45
5.4.310.0130.03412.45
5.4.300.0070.03912.45
5.4.290.0060.04512.45
5.4.280.0090.03612.35
5.4.270.0100.03612.35
5.4.260.0070.04312.35
5.4.250.0040.04712.35
5.4.240.0080.04612.35
5.4.230.0080.04712.34
5.4.220.0060.04012.34
5.4.210.0080.04012.34
5.4.200.0110.03712.34
5.4.190.0070.03612.34
5.4.180.0080.04612.34
5.4.170.0070.04012.35
5.4.160.0080.03812.34
5.4.150.0150.03212.34
5.4.140.0110.03712.02
5.4.130.0100.03212.01
5.4.120.0010.04111.97
5.4.110.0070.03711.96
5.4.100.0120.03311.96
5.4.90.0050.03911.97
5.4.80.0060.04111.97
5.4.70.0050.03811.96
5.4.60.0060.03811.96
5.4.50.0040.04011.96
5.4.40.0050.03811.95
5.4.30.0050.03911.95
5.4.20.0100.03611.95
5.4.10.0050.03611.95
5.4.00.0060.03711.44
5.3.290.0070.04712.80
5.3.280.0090.03712.71
5.3.270.0070.04212.73
5.3.260.0060.05312.71
5.3.250.0070.05512.72
5.3.240.0090.05012.72
5.3.230.0110.04612.71
5.3.220.0090.04812.68
5.3.210.0040.04512.68
5.3.200.0100.04612.68
5.3.190.0100.04812.68
5.3.180.0060.05212.68
5.3.170.0060.05212.67
5.3.160.0110.04812.67
5.3.150.0100.05012.68
5.3.140.0130.04312.66
5.3.130.0130.04712.66
5.3.120.0100.05012.66
5.3.110.0090.05212.66
5.3.100.0080.04812.11
5.3.90.0090.05212.08
5.3.80.0040.05012.08
5.3.70.0080.04512.07
5.3.60.0070.04312.06
5.3.50.0100.04112.00
5.3.40.0060.03812.00
5.3.30.0120.03411.95
5.3.20.0090.03611.73
5.3.10.0040.03911.70
5.3.00.0050.03911.68
5.2.170.0040.0379.19
5.2.160.0020.0349.18
5.2.150.0040.0349.19
5.2.140.0060.0379.18
5.2.130.0060.0319.14
5.2.120.0070.0289.14
5.2.110.0110.0359.15
5.2.100.0070.0369.14
5.2.90.0060.0419.14
5.2.80.0030.0439.14
5.2.70.0040.0329.14
5.2.60.0070.0299.09
5.2.50.0050.0319.06
5.2.40.0040.0309.04
5.2.30.0090.0269.02
5.2.20.0030.0329.02
5.2.10.0080.0268.93
5.2.00.0060.0288.80
5.1.60.0010.0298.08
5.1.50.0050.0258.07
5.1.40.0060.0328.05
5.1.30.0040.0368.41
5.1.20.0100.0308.43
5.1.10.0040.0338.15
5.1.00.0030.0278.16
5.0.50.0050.0286.63
5.0.40.0070.0186.49
5.0.30.0000.0376.30
5.0.20.0040.0206.27
5.0.10.0020.0226.25
5.0.00.0050.0346.24
4.4.90.0060.0124.78
4.4.80.0040.0144.76
4.4.70.0030.0164.75
4.4.60.0020.0174.75
4.4.50.0020.0164.77
4.4.40.0020.0264.71
4.4.30.0050.0134.76
4.4.20.0020.0184.84
4.4.10.0030.0184.85
4.4.00.0030.0254.76
4.3.110.0010.0174.67
4.3.100.0020.0194.66
4.3.90.0050.0204.63
4.3.80.0070.0254.58
4.3.70.0030.0164.63
4.3.60.0060.0174.63
4.3.50.0040.0174.62
4.3.40.0050.0254.54
4.3.30.0040.0153.31
4.3.20.0010.0183.29
4.3.10.0020.0163.25
4.3.00.0170.01715.96

preferences:
41.97 ms | 401 KiB | 5 Q