3v4l.org

run code in 300+ PHP versions simultaneously
<?php $caseid = strtoupper( substr( hash("sha256", time() . mt_rand(100000,999999) ),0,4)); echo $caseid;

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.0120.00615.05
7.4.00.0090.00914.73
7.3.130.0000.01514.78
7.3.120.0120.00814.68
7.3.110.0070.01014.77
7.3.100.0070.01014.82
7.3.90.0090.00614.95
7.3.80.0000.01114.77
7.3.70.0060.00914.82
7.3.60.0040.01214.79
7.3.50.0110.00414.76
7.3.40.0130.00314.88
7.3.30.0070.00714.57
7.3.20.0070.00716.65
7.3.10.0030.01016.41
7.3.00.0060.00616.47
7.2.260.0110.01114.98
7.2.250.0030.01614.96
7.2.240.0060.00614.71
7.2.230.0060.01015.24
7.2.220.0100.00614.84
7.2.210.0040.01215.27
7.2.200.0070.01114.92
7.2.190.0090.00614.96
7.2.180.0030.01014.87
7.2.170.0030.01315.02
7.2.160.0070.01014.98
7.2.150.0060.00916.64
7.2.140.0030.01416.97
7.2.130.0050.00816.60
7.2.120.0100.00716.55
7.2.110.0120.00316.76
7.2.100.0040.01316.81
7.2.90.0110.00516.73
7.2.80.0100.00616.63
7.2.70.0090.00816.73
7.2.60.0040.00616.80
7.2.50.0050.00916.70
7.2.40.0090.00616.72
7.2.30.0090.01116.49
7.2.20.0090.00716.80
7.2.10.0050.00716.62
7.2.00.0090.00617.52
7.1.330.0080.00615.67
7.1.320.0110.00315.88
7.1.310.0000.00915.61
7.1.300.0040.01115.72
7.1.290.0100.00315.94
7.1.280.0090.00615.71
7.1.270.0000.01515.66
7.1.260.0100.00715.69
7.1.250.0080.00515.66
7.1.240.0080.00615.78
7.1.230.0030.01015.76
7.1.220.0000.01115.70
7.1.210.0040.01115.73
7.1.200.0140.00315.80
7.1.190.0070.00715.63
7.1.180.0060.00315.82
7.1.170.0080.00015.77
7.1.160.0040.01215.88
7.1.150.0000.01315.64
7.1.140.0030.01015.70
7.1.130.0000.01215.57
7.1.120.0120.00315.82
7.1.110.0060.00315.51
7.1.100.0000.01415.75
7.1.90.0070.00715.57
7.1.80.0070.00715.93
7.1.70.0050.00516.43
7.1.60.0070.00917.30
7.1.50.0070.01016.16
7.1.40.0070.00415.66
7.1.30.0060.00615.71
7.1.20.0090.00615.84
7.1.10.0060.00315.69
7.1.00.0050.02018.83
7.0.330.0000.01315.23
7.0.320.0000.01115.27
7.0.310.0030.01015.12
7.0.300.0090.00615.34
7.0.290.0060.01315.57
7.0.280.0030.01315.28
7.0.270.0060.00915.30
7.0.260.0060.00315.30
7.0.250.0090.00315.34
7.0.240.0040.00815.16
7.0.230.0110.00315.40
7.0.220.0000.01315.36
7.0.210.0100.00315.19
7.0.200.0020.00916.17
7.0.190.0080.00415.17
7.0.180.0040.01115.16
7.0.170.0090.00315.54
7.0.160.0130.00315.18
7.0.150.0040.00815.38
7.0.140.0020.04018.72
7.0.130.0100.00615.42
7.0.120.0070.00415.17
7.0.110.0130.00015.28
7.0.100.0080.02717.75
7.0.90.0050.03817.85
7.0.80.0150.03317.59
7.0.70.0310.04017.72
7.0.60.0290.04217.75
7.0.50.0250.02417.83
7.0.40.0050.04316.66
7.0.30.0030.04216.72
7.0.20.0100.03716.79
7.0.10.0050.03016.73
7.0.00.0100.04416.80
5.6.400.0060.00914.20
5.6.390.0030.00914.37
5.6.380.0040.00814.57
5.6.370.0130.00314.41
5.6.360.0110.00014.52
5.6.350.0000.01614.47
5.6.340.0080.00714.59
5.6.330.0040.01114.41
5.6.320.0030.01014.30
5.6.310.0070.00314.17
5.6.300.0070.00714.22
5.6.290.0060.00614.24
5.6.280.0030.04117.60
5.6.270.0100.00314.00
5.6.260.0090.00914.21
5.6.250.0050.04617.36
5.6.240.0100.04217.51
5.6.230.0040.02717.29
5.6.220.0130.02817.41
5.6.210.0100.03817.39
5.6.200.0100.03217.80
5.6.190.0070.02817.68
5.6.180.0070.02717.76
5.6.170.0050.03917.72
5.6.160.0050.04917.61
5.6.150.0100.04417.67
5.6.140.0100.04317.71
5.6.130.0050.03117.47
5.6.120.0030.04717.78
5.6.110.0050.03117.64
5.6.100.0110.04017.55
5.6.90.0100.04017.55
5.6.80.0020.03717.31
5.6.70.0050.04417.35
5.6.60.0000.04717.36
5.6.50.0090.04217.38
5.6.40.0060.04617.26
5.6.30.0050.04217.30
5.6.20.0050.04217.41
5.6.10.0070.04517.38
5.6.00.0050.04717.26
5.5.380.0050.04817.29
5.5.370.0070.03517.17
5.5.360.0030.03217.44
5.5.350.0000.04817.32
5.5.340.0050.03917.46
5.5.330.0070.03017.60
5.5.320.0060.04317.38
5.5.310.0060.02917.52
5.5.300.0120.03217.53
5.5.290.0060.03817.62
5.5.280.0080.04017.62
5.5.270.0080.04217.46
5.5.260.0050.03817.33
5.5.250.0120.03517.44
5.5.240.0020.04917.29
5.5.230.0080.04217.10
5.5.220.0070.04317.02
5.5.210.0050.04417.16
5.5.200.0080.03717.00
5.5.190.0110.04117.12
5.5.180.0030.04617.20
5.5.170.0060.00913.83
5.5.160.0100.04417.08
5.5.150.0110.03117.21
5.5.140.0080.03917.05
5.5.130.0090.03617.19
5.5.120.0060.03317.11
5.5.110.0060.04017.08
5.5.100.0100.03517.12
5.5.90.0100.03317.12
5.5.80.0150.03017.06
5.5.70.0090.02817.23
5.5.60.0050.04117.11
5.5.50.0080.04017.20
5.5.40.0070.03216.75
5.5.30.0120.03717.07
5.5.20.0070.02817.09
5.5.10.0030.03317.00
5.5.00.0050.04417.06
5.4.450.0080.03915.01
5.4.440.0060.03914.94
5.4.430.0070.04115.07
5.4.420.0080.03115.13
5.4.410.0030.04515.10
5.4.400.0100.03514.84
5.4.390.0030.04215.03
5.4.380.0070.03314.98
5.4.370.0080.03914.98
5.4.360.0050.04114.80
5.4.350.0080.03514.94
5.4.340.0060.04114.97
5.4.330.0080.00410.90
5.4.320.0070.04215.11
5.4.310.0030.04714.97
5.4.300.0110.01514.91
5.4.290.0080.02914.94
5.4.280.0070.03514.95
5.4.270.0020.03714.94
5.4.260.0060.04015.03
5.4.250.0050.03814.71
5.4.240.0020.04014.96
5.4.230.0030.04614.76
5.4.220.0070.02415.01
5.4.210.0110.03615.04
5.4.200.0040.03914.98
5.4.190.0030.04515.04
5.4.180.0050.04114.87
5.4.170.0040.04314.98
5.4.160.0050.04214.89
5.4.150.0100.04014.92
5.4.140.0090.03713.53
5.4.130.0030.04013.49
5.4.120.0050.02213.70
5.4.110.0050.02513.43
5.4.100.0070.02813.61
5.4.90.0040.02113.59
5.4.80.0040.02213.53
5.4.70.0070.02213.64
5.4.60.0020.02413.51
5.4.50.0060.03713.45
5.4.40.0140.02413.68
5.4.30.0050.01713.63
5.4.20.0060.03613.45
5.4.10.0110.03413.52
5.4.00.0080.02313.30
5.3.290.0050.04212.50
5.3.280.0050.03612.37
5.3.270.0070.04012.55
5.3.260.0050.04012.46
5.3.250.0080.03912.45
5.3.240.0050.04212.36
5.3.230.0050.04312.44
5.3.220.0070.04312.43
5.3.210.0080.02212.29
5.3.200.0090.03912.40
5.3.190.0040.02112.34
5.3.180.0050.01912.37
5.3.170.0030.03812.56
5.3.160.0050.02312.52
5.3.150.0030.02112.46
5.3.140.0050.01812.42
5.3.130.0100.03712.54
5.3.120.0030.03412.47
5.3.110.0020.04012.39
5.3.100.0020.04112.21
5.3.90.0080.02312.21
5.3.80.0030.02012.06
5.3.70.0040.04112.07
5.3.60.0090.02512.17
5.3.50.0100.01812.02
5.3.40.0030.02712.15
5.3.30.0050.02511.94
5.3.20.0060.02011.90
5.3.10.0040.02011.93
5.3.00.0030.02011.84
5.2.170.0070.02711.16
5.2.160.0000.03311.18
5.2.150.0070.02711.13
5.2.140.0100.02311.09
5.2.130.0070.03011.08
5.2.120.0000.03011.14
5.2.110.0000.03310.99
5.2.100.0030.03310.93
5.2.90.0000.03011.17
5.2.80.0000.03010.94
5.2.70.0030.02711.02
5.2.60.0000.03710.91
5.2.50.0070.02711.05
5.2.40.0030.03710.86
5.2.30.0000.02711.02
5.2.20.0030.02310.95
5.2.10.0000.03010.78
5.2.00.0100.04710.58
5.1.60.0070.02710.05
5.1.50.0000.0279.82
5.1.40.0000.02710.03
5.1.30.0000.02310.39
5.1.20.0100.01710.34
5.1.10.0070.03010.05
5.1.00.0000.04010.06
5.0.50.0000.0208.53
5.0.40.0000.0208.45
5.0.30.0000.0378.27
5.0.20.0000.0208.08
5.0.10.0070.0378.25
5.0.00.0000.0408.27
4.4.90.0070.0136.80
4.4.80.0030.0136.80
4.4.70.0000.0176.80
4.4.60.0000.0176.80
4.4.50.0030.0276.80
4.4.40.0000.0276.80
4.4.30.0030.0136.80
4.4.20.0030.0176.80
4.4.10.0000.0176.80
4.4.00.0000.0236.80
4.3.110.0000.0236.80
4.3.100.0030.0206.80
4.3.90.0030.0106.80
4.3.80.0000.0206.80
4.3.70.0030.0136.80
4.3.60.0000.0136.80
4.3.50.0030.0136.80
4.3.40.0000.0236.80
4.3.30.0000.0306.80
4.3.20.0000.0206.80
4.3.10.0030.0206.80
4.3.00.0000.0336.80

preferences:
43.81 ms | 400 KiB | 5 Q