3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(); foreach(range(rand(1000, 5000), rand(5001, 7000)) as $key => $value) { $a[] = md5($key) . md5(uniqid(rand(4, 100)) . $value . 'zxc'); }

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.4.10.0090.01315.48
7.4.00.0090.01515.58
7.3.130.0120.00914.91
7.3.120.0070.01815.75
7.3.110.0120.00915.24
7.3.100.0040.01415.32
7.3.90.0070.01115.00
7.3.80.0040.01115.08
7.3.70.0070.00315.21
7.3.60.0040.01915.14
7.3.50.0120.00415.65
7.3.40.0040.01115.42
7.3.30.0060.01615.36
7.3.20.0030.01016.67
7.3.10.0110.00616.71
7.3.00.0070.01416.48
7.2.260.0000.02115.35
7.2.250.0080.01215.91
7.2.240.0060.01315.60
7.2.230.0110.01116.00
7.2.220.0060.00615.41
7.2.210.0110.00415.28
7.2.200.0070.01015.19
7.2.190.0080.01115.19
7.2.180.0100.00715.23
7.2.170.0030.01315.50
7.2.160.0040.01114.90
7.2.150.0030.01816.88
7.2.140.0070.01416.61
7.2.130.0060.01316.90
7.2.120.0110.00816.77
7.2.110.0060.01416.79
7.2.100.0090.01116.86
7.2.90.0020.01516.87
7.2.80.0050.01116.82
7.2.70.0060.01416.84
7.2.60.0070.01216.81
7.2.50.0080.00816.91
7.2.40.0030.01416.78
7.2.30.0070.01216.91
7.2.20.0070.01016.99
7.2.10.0050.01316.87
7.2.00.0010.01717.81
7.1.330.0090.02416.00
7.1.320.0070.03115.64
7.1.310.0080.02415.80
7.1.300.0170.02715.61
7.1.290.0140.02215.86
7.1.280.0040.01415.57
7.1.270.0180.01515.92
7.1.260.0120.04215.76
7.1.250.0140.01315.81
7.1.240.0180.01215.64
7.1.230.0120.02715.77
7.1.220.0200.02915.82
7.1.210.0180.02915.77
7.1.200.0100.01515.82
7.1.190.0170.02015.79
7.1.180.0320.01615.88
7.1.170.0130.03315.60
7.1.160.0220.01215.48
7.1.150.0300.02115.71
7.1.140.0160.02015.70
7.1.130.0230.04215.79
7.1.120.0150.03315.80
7.1.110.0110.02515.61
7.1.100.0150.02916.91
7.1.90.0100.02015.84
7.1.80.0230.03015.48
7.1.70.0080.01816.22
7.1.60.0180.03517.89
7.1.50.0110.02116.23
7.1.40.0060.02515.70
7.1.30.0260.01115.81
7.1.20.0210.01615.75
7.1.10.0220.03315.70
7.1.00.0200.04919.16
7.0.330.0060.02315.57
7.0.320.0270.02915.36
7.0.310.0280.01615.32
7.0.300.0210.01915.26
7.0.290.0130.02015.65
7.0.280.0170.02415.48
7.0.270.0000.02215.42
7.0.260.0170.03015.27
7.0.250.0120.03515.41
7.0.240.0200.02315.64
7.0.230.0150.01415.25
7.0.220.0190.02215.34
7.0.210.0040.01215.34
7.0.200.0060.02116.16
7.0.190.0080.01115.51
7.0.180.0100.00715.52
7.0.170.0150.01515.44
7.0.160.0130.01715.39
7.0.150.0040.02315.39
7.0.140.0070.03815.46
7.0.130.0290.02315.48
7.0.120.0130.00415.38
7.0.110.0130.02015.55
7.0.100.0230.02015.46
7.0.90.0080.00815.35
7.0.80.0110.02215.54
7.0.70.0190.02215.23
7.0.60.0090.03517.95
7.0.50.0150.04816.86
7.0.40.0150.05516.86
7.0.30.0180.03116.93
7.0.20.0210.04016.85
7.0.10.0090.03916.70
7.0.00.0100.05316.83
5.6.400.0090.03315.61
5.6.390.0240.03116.15
5.6.380.0180.02215.30
5.6.370.0300.04016.41
5.6.360.0170.05315.96
5.6.350.0080.02815.32
5.6.340.0170.05116.37
5.6.330.0120.04315.83
5.6.320.0070.01415.00
5.6.310.0220.03915.97
5.6.300.0080.03415.12
5.6.290.0190.03115.24
5.6.280.0180.05318.62
5.6.270.0190.01514.82
5.6.260.0180.03315.80
5.6.250.0150.03015.09
5.6.240.0280.03816.22
5.6.230.0100.02714.89
5.6.220.0220.03115.59
5.6.210.0170.06818.82
5.6.200.0070.04017.10
5.6.190.0240.03318.77
5.6.180.0200.06118.19
5.6.170.0300.04818.77
5.6.160.0230.06018.41
5.6.150.0210.07117.48
5.6.140.0290.06618.01
5.6.130.0180.04317.93
5.6.120.0090.06218.61
5.6.110.0170.06418.83
5.6.100.0190.03018.71
5.6.90.0170.03818.52
5.6.80.0200.03817.88
5.6.70.0240.00914.72
5.6.60.0080.02414.76
5.6.50.0130.01514.99
5.6.40.0070.01514.64
5.6.30.0190.02215.10
5.6.20.0190.04915.86
5.6.10.0220.05216.27
5.6.00.0120.01614.56
5.5.380.0200.03615.64
5.5.370.0210.04316.15
5.5.360.0200.00814.38
5.5.350.0150.04618.43
5.5.340.0100.05117.06
5.5.330.0240.05718.46
5.5.320.1910.04618.58
5.5.310.0260.05117.92
5.5.300.0130.05716.81
5.5.290.0170.04217.33
5.5.280.0140.06819.36
5.5.270.0140.04118.59
5.5.260.0150.05818.14
5.5.250.0140.05618.69
5.5.240.0170.04617.98
5.5.230.0120.04315.73
5.5.220.0210.02515.62
5.5.210.0230.04715.96
5.5.200.0260.02415.52
5.5.190.0240.03616.14
5.5.180.0190.02115.56
5.5.170.0120.03715.26
5.5.160.0130.01914.75
5.5.150.0110.04115.59
5.5.140.0190.00914.92
5.5.130.0220.02515.46
5.5.120.0180.02715.48
5.5.110.0150.01914.77
5.5.100.0180.01114.56
5.5.90.0160.03015.46
5.5.80.0200.02315.36
5.5.70.0150.03314.95
5.5.60.0220.01915.20
5.5.50.0230.02515.16
5.5.40.0210.04415.65
5.5.30.0200.01614.75
5.5.20.0200.01414.83
5.5.10.0180.02515.25
5.5.00.0090.03615.23
5.4.450.0060.04615.96
5.4.440.0540.03216.57
5.4.430.0230.07516.64
5.4.420.0150.04715.80
5.4.410.0140.06615.76
5.4.400.0330.09516.43
5.4.390.0270.08016.10
5.4.380.0300.08716.24
5.4.370.0260.09716.38
5.4.360.0300.07616.25
5.4.350.0230.06615.94
5.4.340.0200.08916.39
5.4.330.0090.04312.31
5.4.320.0370.08416.20
5.4.310.0170.04815.76
5.4.300.0340.04715.85
5.4.290.0320.09116.26
5.4.280.0290.07716.07
5.4.270.0250.04815.70
5.4.260.0120.04915.54
5.4.250.0390.07816.24
5.4.240.0400.09516.33
5.4.230.0190.07115.99
5.4.220.0310.07316.12
5.4.210.0170.05815.56
5.4.200.0280.04614.93
5.4.190.0420.06816.02
5.4.180.0230.07615.97
5.4.170.0320.07616.32
5.4.160.0220.06815.86
5.4.150.0330.07216.15
5.4.140.0210.06814.71
5.4.130.0450.08215.09
5.4.120.0250.04614.33
5.4.110.0380.08414.96
5.4.100.0190.04714.48
5.4.90.0210.06214.65
5.4.80.0360.04714.59
5.4.70.0270.07714.71
5.4.60.0280.07814.93
5.4.50.0210.06814.74
5.4.40.0270.09015.14
5.4.30.0170.04914.52
5.4.20.0350.08115.33
5.4.10.0130.07514.65
5.4.00.0250.07514.67
5.3.290.0130.07314.86
5.3.280.0500.14315.71
5.3.270.0330.17015.93
5.3.260.0130.13015.12
5.3.250.0530.14716.01
5.3.240.0430.14015.80
5.3.230.0670.15016.03
5.3.220.0470.14015.78
5.3.210.0670.14315.92
5.3.200.0370.08715.32
5.3.190.0330.15015.66
5.3.180.0370.15715.89
5.3.170.0300.13715.41
5.3.160.0230.12015.17
5.3.150.0370.08015.47
5.3.140.0270.13016.19
5.3.130.0370.11015.63
5.3.120.0100.13315.83
5.3.110.0230.08715.07
5.3.100.0470.09715.20
5.3.90.0200.06714.66
5.3.80.0200.13715.53
5.3.70.0130.13715.10
5.3.60.0100.10314.75
5.3.50.0230.07714.59
5.3.40.0200.13015.38
5.3.30.0200.15015.52
5.3.20.0100.07014.18
5.3.10.0130.09714.34
5.3.00.0230.14315.05
5.2.170.0100.10312.40
5.2.160.0170.08312.07
5.2.150.0300.11312.68
5.2.140.0070.07311.43
5.2.130.0130.06311.46
5.2.120.0070.08711.71
5.2.110.0230.09311.83
5.2.100.0530.09012.18
5.2.90.0200.11312.30
5.2.80.0330.11312.35
5.2.70.0200.08712.18
5.2.60.0170.08711.73
5.2.50.0270.07711.62
5.2.40.0230.08311.46
5.2.30.0100.08311.57
5.2.20.0130.14312.04
5.2.10.0200.08011.48
5.2.00.0230.11311.57
5.1.60.0170.09011.22
5.1.50.0170.08310.53
5.1.40.0100.08710.78
5.1.30.0130.16711.96
5.1.20.0100.08711.33
5.1.10.0200.14011.79
5.1.00.0200.07710.99
5.0.50.0400.11710.70
5.0.40.0130.0609.46
5.0.30.0100.17010.41
5.0.20.0200.1309.88
5.0.10.0370.13010.12
5.0.00.0400.14010.35
4.4.90.0330.1137.88
4.4.80.0200.1137.61
4.4.70.0030.0536.35
4.4.60.0100.0506.29
4.4.50.0400.1437.64
4.4.40.0170.0806.86
4.4.30.0170.0937.21
4.4.20.0070.0636.51
4.4.10.0330.1538.07
4.4.00.0230.0606.46
4.3.110.0270.0576.52
4.3.100.0000.0736.24
4.3.90.0270.0937.04
4.3.80.0100.0976.72
4.3.70.0200.0936.84
4.3.60.0430.0907.03
4.3.50.0200.0776.77
4.3.40.0030.0405.84
4.3.30.0470.0776.02
4.3.20.0030.0504.94
4.3.10.0030.0775.15
4.3.00.0100.02715.57

preferences:
86.01 ms | 401 KiB | 5 Q