3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr_u = array(); for($i=0; $i<52; $i++)array_push($arr_u,chr(rand(09999,99999))); print(implode("",$arr_u));

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)
5.6.280.0000.08021.11
5.6.210.0030.08320.61
5.6.200.0070.08718.13
5.6.190.0070.09020.35
5.6.180.0130.03320.39
5.6.170.0230.04020.54
5.6.160.0100.08320.52
5.6.150.0100.08018.21
5.6.140.0070.05318.15
5.6.130.0100.07718.09
5.6.120.0130.04721.13
5.6.110.0170.07720.98
5.6.100.0170.04021.10
5.6.90.0200.07320.99
5.6.80.0030.08020.37
5.6.70.4400.04320.51
5.5.350.0030.05720.43
5.5.340.0100.07318.01
5.5.330.0100.08020.29
5.5.320.0170.07020.18
5.5.310.0300.05020.12
5.5.300.0030.04718.02
5.5.290.0070.03717.92
5.5.280.0100.07320.67
5.5.270.0230.06720.86
5.5.260.0070.04720.75
5.5.250.0200.07320.70
5.5.240.0070.07720.14
5.4.450.0000.04319.51
5.4.440.0000.06319.48
5.4.430.0000.04719.50
5.4.420.0030.07719.46
5.4.410.0030.04319.00
5.4.400.0130.04718.79
5.4.390.0030.04018.79
5.4.380.0030.04718.79
5.4.370.0070.06718.80
5.4.360.0170.05018.91
5.4.350.0170.06318.79
5.4.340.0030.07018.80
5.4.320.0100.03319.08
5.4.310.0030.04319.18
5.4.300.0030.08018.91
5.4.290.0070.06719.17
5.4.280.0070.07319.00
5.4.270.0100.04319.08
5.4.260.0030.07319.13
5.4.250.0030.08019.14
5.4.240.0030.05719.14
5.4.230.0030.06719.13
5.4.220.0100.04718.79
5.4.210.0170.06719.17
5.4.200.0000.08718.80
5.4.190.0130.03719.13
5.4.180.0070.07018.78
5.4.170.0130.06719.16
5.4.160.0170.03719.12
5.4.150.0100.03719.05
5.4.140.0130.07016.28
5.4.130.0070.03316.28
5.4.120.0000.08016.36
5.4.110.0070.05716.23
5.4.100.0130.06016.37
5.4.90.0100.07016.28
5.4.80.0070.04316.22
5.4.70.0100.07016.22
5.4.60.0130.06316.26
5.4.50.0100.03716.21
5.4.40.0000.07716.29
5.4.30.0100.06716.12
5.4.20.0000.07316.23
5.4.10.0070.07316.30
5.4.00.0130.06315.71
5.3.290.0030.08014.61
5.3.280.0100.07714.47
5.3.270.0100.04714.57
5.3.260.0100.07014.57
5.3.250.0130.04714.56
5.3.240.0070.06714.54
5.3.230.0070.06314.54
5.3.220.0070.04014.50
5.3.210.0070.07714.36
5.3.200.0100.07314.49
5.3.190.0070.06014.49
5.3.180.0170.05014.45
5.3.170.0170.07014.36
5.3.160.0070.04014.49
5.3.150.0070.06714.53
5.3.140.0030.07314.64
5.3.130.0030.08014.52
5.3.120.0030.04314.50
5.3.110.0100.07714.45
5.3.100.0170.07313.97
5.3.90.0070.05013.99
5.3.80.0100.06313.82
5.3.70.0130.04713.94
5.3.60.0070.07014.02
5.3.50.0130.04313.89
5.3.40.0070.07313.93
5.3.30.0030.06013.73
5.3.20.0100.06713.53
5.3.10.0070.04313.64
5.3.00.0130.03713.46
5.2.170.0030.03011.09
5.2.160.0070.03311.14
5.2.150.0100.03711.30
5.2.140.0000.07311.04
5.2.130.0070.06311.07
5.2.120.0070.05010.93
5.2.110.0000.03711.05
5.2.100.0030.04311.19
5.2.90.0070.04711.05
5.2.80.0070.05010.95
5.2.70.0030.05311.05
5.2.60.0030.04310.91
5.2.50.0070.05311.02
5.2.40.0030.05310.96
5.2.30.0030.04310.96
5.2.20.0070.04010.94
5.2.10.0030.06010.87
5.2.00.0000.06310.71
5.1.60.0070.0439.91
5.1.50.0030.05310.06
5.1.40.0030.02710.06
5.1.30.0030.02710.22
5.1.20.0070.03710.35
5.1.10.0000.05010.09
5.1.00.0030.04710.06
5.0.50.0000.0538.63
5.0.40.0070.0338.56
5.0.30.0070.0408.20
5.0.20.0070.0208.11
5.0.10.0070.0338.08
5.0.00.0030.0608.30
4.4.90.0030.0137.91
4.4.80.0030.0277.91
4.4.70.0070.0277.91
4.4.60.0000.0377.91
4.4.50.0000.0237.91
4.4.40.0000.0577.91
4.4.30.0000.0277.91
4.4.20.0170.0207.91
4.4.10.0030.0207.91
4.4.00.0030.0537.91
4.3.110.0000.0307.91
4.3.100.0000.0237.91
4.3.90.0030.0377.91
4.3.80.0030.0337.91
4.3.70.0030.0177.91
4.3.60.0000.0377.91
4.3.50.0030.0277.91
4.3.40.0000.0477.91
4.3.30.0030.0307.91
4.3.20.0000.0177.91
4.3.10.0000.0177.91
4.3.00.0070.0237.91

preferences:
143.75 ms | 1394 KiB | 7 Q