3v4l.org

run code in 200+ PHP versions simultaneously
<?php $len = mt_rand(10,1000); $breach_stopper = ""; for ($i = $len; $i--;) { $breach_stopper .= chr(rand(1,126)); } echo $breach_stopper;

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.00.0040.01114.56
7.3.120.0030.01215.09
7.3.110.0070.01014.79
7.3.100.0140.00314.84
7.3.90.0030.01415.03
7.3.80.0100.00314.83
7.3.70.0060.00314.63
7.3.60.0090.00314.76
7.3.50.0060.00614.72
7.3.40.0040.00814.84
7.3.30.0090.00014.98
7.3.20.0000.01516.64
7.3.10.0030.00916.72
7.3.00.0060.00516.63
7.2.250.0030.01415.25
7.2.240.0070.01115.02
7.2.230.0040.01115.18
7.2.220.0070.00714.99
7.2.210.0030.01215.06
7.2.200.0000.01715.03
7.2.190.0050.00515.10
7.2.180.0090.00615.12
7.2.170.0110.00414.97
7.2.160.0090.00615.01
7.2.150.0030.01016.73
7.2.140.0120.00316.68
7.2.130.0050.00916.82
7.2.120.0080.00816.91
7.2.110.0080.00516.94
7.2.100.0080.00716.81
7.2.90.0080.00516.86
7.2.80.0040.01116.84
7.2.70.0050.00716.90
7.2.60.0060.00816.98
7.2.50.0070.00516.91
7.2.40.0050.00917.05
7.2.30.0080.00616.78
7.2.20.0050.00717.04
7.2.10.0060.00916.83
7.2.00.0060.00817.71
7.1.330.0060.01215.57
7.1.320.0070.00715.70
7.1.310.0040.00716.13
7.1.300.0070.00715.73
7.1.290.0000.01015.77
7.1.280.0070.00715.74
7.1.270.0000.00915.77
7.1.260.0060.00815.86
7.1.250.0030.00815.90
7.1.240.0090.00615.61
7.1.230.0030.01015.92
7.1.220.0120.00315.74
7.1.210.0100.00315.96
7.1.200.0000.01315.99
7.1.190.0030.00915.93
7.1.180.0040.00915.77
7.1.170.0060.00915.76
7.1.160.0060.00915.85
7.1.150.0090.00015.64
7.1.140.0060.00615.80
7.1.130.0000.01515.55
7.1.120.0000.01015.88
7.1.110.0100.00315.60
7.1.100.0070.00715.50
7.1.90.0030.00715.66
7.1.80.0030.01015.93
7.1.70.0080.00816.58
7.1.60.0050.01517.81
7.1.50.0060.00916.32
7.1.40.0030.00915.61
7.1.30.0060.00915.74
7.1.20.0060.00815.78
7.1.10.0060.00915.79
7.1.00.0100.03719.06
7.0.330.0080.00415.34
7.0.320.0000.00915.54
7.0.310.0000.00815.36
7.0.300.0070.00315.11
7.0.290.0100.00715.58
7.0.280.0000.01015.57
7.0.270.0050.00515.47
7.0.260.0040.00815.41
7.0.250.0060.00615.45
7.0.240.0040.00415.50
7.0.230.0000.01315.46
7.0.220.0070.00715.46
7.0.210.0000.01215.32
7.0.200.0080.00616.01
7.0.190.0060.00915.42
7.0.180.0080.00815.39
7.0.170.0070.00715.49
7.0.160.0110.00415.49
7.0.150.0060.01215.31
7.0.140.0030.03818.76
7.0.130.0030.01015.35
7.0.120.0030.01315.50
7.0.110.0060.00915.52
7.0.100.0070.01115.45
7.0.90.0110.00015.49
7.0.80.0070.01115.55
7.0.70.0080.04318.51
7.0.60.0050.04618.58
7.0.50.0040.04518.88
7.0.40.0040.02616.87
7.0.30.0020.03716.67
7.0.20.0050.02316.81
7.0.10.0020.03116.79
7.0.00.0020.02716.76
5.6.400.0060.01014.62
5.6.390.0000.01014.09
5.6.380.0000.01314.37
5.6.370.0070.00414.71
5.6.360.0030.00814.52
5.6.350.0100.00314.42
5.6.340.0030.00714.26
5.6.330.0070.00714.21
5.6.320.0080.00613.99
5.6.310.0090.00914.42
5.6.300.0060.00814.41
5.6.290.0090.00314.79
5.6.280.0070.03717.71
5.6.270.0100.00714.10
5.6.260.0060.00913.98
5.6.250.0070.01014.15
5.6.240.0070.01014.33
5.6.230.0100.00314.33
5.6.220.0050.04717.46
5.6.210.0080.04317.38
5.6.200.0070.04417.69
5.6.190.0080.04017.69
5.6.180.0030.02817.74
5.6.170.0100.03717.91
5.6.160.0000.02417.65
5.6.150.0060.02117.59
5.6.140.0080.03017.63
5.6.130.0020.02717.74
5.6.120.0070.02217.74
5.6.110.0060.04117.71
5.6.100.0000.03117.72
5.6.90.0040.02617.67
5.6.80.0020.04817.34
5.6.70.0080.02217.44
5.6.60.0050.04617.29
5.6.50.0050.02017.50
5.6.40.0030.03817.32
5.6.30.0020.01917.25
5.6.20.0030.03017.30
5.6.10.0020.04517.32
5.6.00.0080.04317.35
5.5.380.0100.00714.23
5.5.370.0060.01014.37
5.5.360.0100.04217.32
5.5.350.0050.04717.28
5.5.340.0070.04417.56
5.5.330.0080.02317.26
5.5.320.0020.02817.48
5.5.310.0040.02617.41
5.5.300.0010.02717.53
5.5.290.0020.02817.55
5.5.280.0080.02517.48
5.5.270.0070.03217.39
5.5.260.0050.02617.66
5.5.250.0040.02517.46
5.5.240.0000.02217.18
5.5.230.0050.02817.25
5.5.220.0060.03417.30
5.5.210.0040.02917.15
5.5.200.0030.04317.26
5.5.190.0110.04017.15
5.5.180.0020.04417.29
5.5.170.0090.00614.32
5.5.160.0070.04017.30
5.5.150.0040.03617.02
5.5.140.0050.04217.09
5.5.130.0040.04417.31
5.5.120.0070.04417.25
5.5.110.0070.04517.23
5.5.100.0020.05017.11
5.5.90.0020.05016.93
5.5.80.0050.04217.23
5.5.70.0100.04017.14
5.5.60.0050.03417.09
5.5.50.0030.04716.96
5.5.40.0060.04116.98
5.5.30.0040.04317.12
5.5.20.0030.02916.93
5.5.10.0080.03217.17
5.5.00.0020.04316.99
5.4.450.0020.03816.01
5.4.440.0030.02216.01
5.4.430.0050.02215.89
5.4.420.0030.03215.95
5.4.410.0050.02215.91
5.4.400.0020.03015.80
5.4.390.0020.02515.80
5.4.380.0040.02015.79
5.4.370.0030.02115.77
5.4.360.0030.02215.81
5.4.350.0100.01815.84
5.4.340.0050.02715.80
5.4.330.0040.01112.55
5.4.320.0030.03415.80
5.4.310.0040.03215.68
5.4.300.0020.04115.83
5.4.290.0050.04215.80
5.4.280.0140.03215.80
5.4.270.0020.04515.84
5.4.260.0000.04715.79
5.4.250.0080.03715.81
5.4.240.0030.03315.83
5.4.230.0050.03415.76
5.4.220.0020.04615.82
5.4.210.0070.04115.79
5.4.200.0020.04315.81
5.4.190.0030.03215.82
5.4.180.0080.04015.80
5.4.170.0040.04415.80
5.4.160.0040.04115.78
5.4.150.0070.03215.79
5.4.140.0050.03514.41
5.4.130.0050.04014.45
5.4.120.0030.03514.46
5.4.110.0030.04014.46
5.4.100.0070.03514.45
5.4.90.0040.04014.44
5.4.80.0050.03814.49
5.4.70.0100.03014.47
5.4.60.0020.04214.40
5.4.50.0050.04114.43
5.4.40.0020.03414.42
5.4.30.0030.03914.37
5.4.20.0050.01814.48
5.4.10.0040.04214.45
5.4.00.0030.04214.16
5.3.290.0070.07714.67
5.3.280.0170.06714.45
5.3.270.0030.08314.57
5.3.260.0000.07314.59
5.3.250.0030.07314.43
5.3.240.0070.07714.55
5.3.230.0070.07714.55
5.3.220.0000.06314.56
5.3.210.0100.07014.40
5.3.200.0000.08314.44
5.3.190.0030.07014.51
5.3.180.0130.06314.50
5.3.170.0100.07314.38
5.3.160.0030.08014.52
5.3.150.0100.07314.40
5.3.140.0030.07714.55
5.3.130.0070.07014.55
5.3.120.0000.06014.53
5.3.110.0030.05314.51
5.3.100.0100.07014.04
5.3.90.0070.07313.88
5.3.80.0030.08013.95
5.3.70.0070.07313.87
5.3.60.0000.07713.95
5.3.50.0070.07013.90
5.3.40.0000.07313.89
5.3.30.0100.06713.90
5.3.20.0030.07013.51
5.3.10.0070.06713.51
5.3.00.0070.07013.59
5.2.170.0000.06713.17
5.2.160.0070.05713.17
5.2.150.0030.06713.17
5.2.140.0070.05313.17
5.2.130.0070.05713.17
5.2.120.0030.04713.17
5.2.110.0030.06313.17
5.2.100.0030.05013.17
5.2.90.0000.06013.17
5.2.80.0030.04313.17
5.2.70.0030.05713.17
5.2.60.0030.06313.17
5.2.50.0100.06013.17
5.2.40.0030.04313.17
5.2.30.0030.06313.17
5.2.20.0030.04713.17
5.2.10.0000.04013.17
5.2.00.0070.03013.17
5.1.60.0030.05013.17
5.1.50.0030.05313.17
5.1.40.0000.05313.17
5.1.30.0030.05713.17
5.1.20.0030.05313.17
5.1.10.0000.05313.17
5.1.00.0030.04013.17
5.0.50.0030.04013.17
5.0.40.0000.04313.17
5.0.30.0070.05713.17
5.0.20.0000.04713.17
5.0.10.0030.04713.17
5.0.00.0000.06313.17
4.4.90.0030.03313.17
4.4.80.0030.04313.17
4.4.70.0000.04013.17
4.4.60.0000.03013.17
4.4.50.0030.03713.17
4.4.40.0000.05313.17
4.4.30.0030.03013.17
4.4.20.0000.03713.17
4.4.10.0030.03313.17
4.4.00.0000.05713.17
4.3.110.0030.03713.17
4.3.100.0030.03313.17
4.3.90.0070.03013.17
4.3.80.0000.05713.17
4.3.70.0000.03713.17
4.3.60.0000.03713.17
4.3.50.0030.03313.17
4.3.40.0030.05313.17
4.3.30.0030.02713.17
4.3.20.0000.03313.17
4.3.10.0000.03713.17
4.3.00.0070.03013.17