3v4l.org

run code in 300+ PHP versions simultaneously
<?php mt_srand(1); mt_rand(); mt_rand(); mt_rand();

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.0180.00015.13
7.4.00.0060.01214.76
7.3.130.0060.01014.89
7.3.120.0090.00614.48
7.3.110.0030.01614.76
7.3.100.0090.00614.89
7.3.90.0070.00714.52
7.3.80.0000.00914.50
7.3.70.0030.00514.48
7.3.60.0070.00714.70
7.3.50.0110.00314.56
7.3.40.0060.00314.79
7.3.30.0040.00414.67
7.3.20.0060.00316.50
7.3.10.0070.00716.14
7.3.00.0100.00716.34
7.2.260.0080.00814.80
7.2.250.0150.00015.04
7.2.240.0060.00914.73
7.2.230.0110.00714.93
7.2.220.0040.01414.69
7.2.210.0030.01015.02
7.2.200.0030.01214.88
7.2.190.0030.01014.75
7.2.180.0090.00914.85
7.2.170.0090.00614.67
7.2.160.0100.00714.97
7.2.150.0060.01016.51
7.2.140.0000.01416.62
7.2.130.0060.00616.38
7.2.120.0090.00816.43
7.2.110.0050.01016.39
7.2.100.0100.00716.58
7.2.90.0120.00616.25
7.2.80.0100.00416.43
7.2.70.0120.01316.54
7.2.60.0110.00816.27
7.2.50.0070.00816.57
7.2.40.0110.00816.35
7.2.30.0050.00916.47
7.2.20.0060.00916.36
7.2.10.0130.00816.27
7.2.00.0080.00716.61
7.1.330.0060.01015.43
7.1.320.0030.00615.82
7.1.310.0130.00015.41
7.1.300.0070.00715.70
7.1.290.0090.00915.58
7.1.280.0070.00715.57
7.1.270.0070.00715.71
7.1.260.0070.01115.73
7.1.250.0050.00715.59
7.1.240.0120.00015.50
7.1.230.0030.00915.70
7.1.220.0070.00715.53
7.1.210.0100.00315.68
7.1.200.0030.01015.65
7.1.190.0080.00815.58
7.1.180.0060.00315.52
7.1.170.0040.01115.57
7.1.160.0040.00815.27
7.1.150.0090.00615.52
7.1.140.0030.00715.61
7.1.130.0060.00615.79
7.1.120.0060.00615.82
7.1.110.0100.00315.80
7.1.100.0120.00315.68
7.1.90.0090.00015.55
7.1.80.0060.00315.46
7.1.70.0020.00716.07
7.1.60.0050.00716.48
7.1.50.0030.00716.30
7.1.40.0070.00516.08
7.1.30.0020.01016.04
7.1.20.0080.00116.17
7.1.10.0050.01016.03
7.1.00.0040.00716.20
7.0.330.0060.00615.11
7.0.320.0070.00315.26
7.0.310.0070.00415.24
7.0.300.0060.00615.41
7.0.290.0060.00615.34
7.0.280.0030.00715.38
7.0.270.0030.01015.16
7.0.260.0040.00414.99
7.0.250.0080.00615.28
7.0.240.0030.00615.45
7.0.230.0060.00315.32
7.0.220.0060.00615.21
7.0.210.0120.00315.43
7.0.200.0070.00415.91
7.0.190.0060.00415.79
7.0.180.0040.00415.73
7.0.170.0030.00615.79
7.0.160.0060.00315.76
7.0.150.0030.00815.66
7.0.140.0040.00415.83
7.0.130.0050.00515.82
7.0.120.0070.00515.95
7.0.110.0050.00815.78
7.0.100.0060.00815.81
7.0.90.0050.00815.82
7.0.80.0030.01015.72
7.0.70.0060.00615.87
7.0.60.0050.01015.58
7.0.50.0070.00315.83
7.0.40.0030.00714.47
7.0.30.0080.00314.47
7.0.20.0020.01114.47
7.0.10.0070.00914.47
7.0.00.0100.00614.47
5.6.400.0000.01914.03
5.6.390.0080.00414.04
5.6.380.0060.01014.44
5.6.370.0060.01013.71
5.6.360.0060.00914.22
5.6.350.0000.01113.70
5.6.340.0030.00614.09
5.6.330.0040.00814.15
5.6.320.0070.00714.15
5.6.310.0030.00713.77
5.6.300.0130.03317.35
5.6.290.0020.04417.47
5.6.280.0050.02317.61
5.6.270.0080.03317.65
5.6.260.0090.02717.61
5.6.250.0070.04517.62
5.6.240.0050.04417.42
5.6.230.0040.04517.43
5.6.220.0030.02317.62
5.6.210.0040.03517.44
5.6.200.0030.02617.44
5.6.190.0080.03917.60
5.6.180.0020.03817.41
5.6.170.0060.02317.48
5.6.160.0060.04317.50
5.6.150.0050.04717.57
5.6.140.0050.02817.54
5.6.130.0060.02717.39
5.6.120.0030.02517.47
5.6.110.0070.02217.51
5.6.100.0030.05017.43
5.6.90.0080.03717.52
5.6.80.0030.02617.05
5.6.70.0050.02217.34
5.6.60.0020.04217.12
5.6.50.0030.03817.25
5.6.40.0050.04417.30
5.6.30.0020.03317.14
5.6.20.0060.04017.24
5.6.10.0080.02017.06
5.6.00.0060.01917.10
5.5.380.0080.04215.92
5.5.370.0080.02815.76
5.5.360.0040.03815.73
5.5.350.0060.04115.81
5.5.340.0020.02715.96
5.5.330.0040.04315.96
5.5.320.0030.04716.03
5.5.310.0060.01915.89
5.5.300.0130.02215.98
5.5.290.0030.02716.06
5.5.280.0040.03216.01
5.5.270.0060.02115.99
5.5.260.0060.04916.13
5.5.250.0050.04015.87
5.5.240.0020.02915.69
5.5.230.0050.03615.42
5.5.220.0020.02615.63
5.5.210.0040.04315.58
5.5.200.0000.04115.62
5.5.190.0080.04115.77
5.5.180.0040.04615.66
5.5.170.0090.00314.13
5.5.160.0030.02415.49
5.5.150.0030.02415.54
5.5.140.0050.02415.62
5.5.130.0060.02215.50
5.5.120.0030.02215.82
5.5.110.0040.02515.51
5.5.100.0050.02415.54
5.5.90.0080.01915.42
5.5.80.0050.02315.70
5.5.70.0090.01915.50
5.5.60.0070.01915.56
5.5.50.0130.01715.72
5.5.40.0030.03115.61
5.5.30.0060.04115.64
5.5.20.0050.04315.68
5.5.10.0090.03715.30
5.5.00.0050.02215.62
5.4.450.0020.02516.45
5.4.440.0020.02416.43
5.4.430.0080.02016.42
5.4.420.0030.04016.37
5.4.410.0010.02716.47
5.4.400.0070.01816.31
5.4.390.0050.02716.31
5.4.380.0060.03616.19
5.4.370.0050.03616.31
5.4.360.0050.04416.37
5.4.350.0020.04316.30
5.4.340.0000.03216.28
5.4.330.0030.00613.55
5.4.320.0020.02416.26
5.4.310.0040.02116.35
5.4.300.0050.02216.28
5.4.290.0020.02416.36
5.4.280.0020.02316.30
5.4.270.0030.02416.26
5.4.260.0030.02116.30
5.4.250.0050.01816.30
5.4.240.0030.02416.32
5.4.230.0050.02416.26
5.4.220.0070.02116.34
5.4.210.0030.03216.27
5.4.200.0030.04216.26
5.4.190.0080.03816.28
5.4.180.0050.04416.29
5.4.170.0040.02216.35
5.4.160.0060.02216.34
5.4.150.0050.02216.35
5.4.140.0030.04015.01
5.4.130.0020.02515.06
5.4.120.0040.03715.05
5.4.110.0030.03515.07
5.4.100.0030.03814.95
5.4.90.0080.01915.15
5.4.80.0020.02115.02
5.4.70.0050.03715.11
5.4.60.0100.03414.99
5.4.50.0020.02715.07
5.4.40.0050.02515.12
5.4.30.0020.03315.05
5.4.20.0020.02215.04
5.4.10.0040.02215.10
5.4.00.0060.01914.80
5.3.290.0000.02414.47
5.3.280.0050.01914.47
5.3.270.0020.02414.47
5.3.260.0060.02314.47
5.3.250.0050.04014.47
5.3.240.0050.03814.47
5.3.230.0020.02914.47
5.3.220.0050.03914.47
5.3.210.0030.03814.47
5.3.200.0070.02814.47
5.3.190.0000.02614.47
5.3.180.0030.01914.47
5.3.170.0050.02614.47
5.3.160.0020.03714.47
5.3.150.0050.03714.47
5.3.140.0080.03414.47
5.3.130.0070.02514.47
5.3.120.0050.02214.47
5.3.110.0020.02314.47
5.3.100.0040.01914.47
5.3.90.0000.02614.47
5.3.80.0050.02014.47
5.3.70.0030.02114.47
5.3.60.0020.02114.47
5.3.50.0000.03514.47
5.3.40.0030.04114.47
5.3.30.0030.02914.47
5.3.20.0050.03014.47
5.3.10.0030.01914.47
5.3.00.0050.01914.47
5.2.170.0030.04615.39
5.2.160.0030.06115.39
5.2.150.0000.06615.39
5.2.140.0030.04715.39
5.2.130.0000.03515.39
5.2.120.0030.02815.39
5.2.110.0030.02715.39
5.2.100.0030.05415.39
5.2.90.0070.05715.39
5.2.80.0000.04515.39
5.2.70.0000.04715.39
5.2.60.0040.03215.39
5.2.50.0030.03015.39
5.2.40.0000.03015.39
5.2.30.0000.05115.39
5.2.20.0000.04115.39
5.2.10.0030.02715.39
5.2.00.0070.05715.39
5.1.60.0070.02015.39
5.1.50.0070.04715.39
5.1.40.0060.03115.39
5.1.30.0000.03915.39
5.1.20.0000.02915.39
5.1.10.0030.04515.39
5.1.00.0070.04015.39
5.0.50.0000.03415.39
5.0.40.0070.02115.39
5.0.30.0030.03015.39
5.0.20.0000.02115.39
5.0.10.0030.01715.39
5.0.00.0000.05115.39
4.4.90.0000.01815.39
4.4.80.0030.01715.39
4.4.70.0000.03015.39
4.4.60.0000.01715.39
4.4.50.0030.02415.39
4.4.40.0030.05415.39
4.4.30.0030.01415.39
4.4.20.0030.01315.39
4.4.10.0000.03215.39
4.4.00.0000.02615.39
4.3.110.0040.02115.39
4.3.100.0030.01515.39
4.3.90.0000.01715.39
4.3.80.0000.02715.39
4.3.70.0000.01615.39
4.3.60.0000.01615.39
4.3.50.0000.01915.39
4.3.40.0000.02715.39
4.3.30.0030.01715.39
4.3.20.0000.01715.39
4.3.10.0000.01715.39
4.3.00.0000.01815.39

preferences:
40.42 ms | 401 KiB | 5 Q