3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(" Justin•♥ Justin•♥•Bi", " Justin•♥•Biebe Justin•♥•BieberJust", " Justin•♥•BieberJust Justin•♥•BieberJustin•♥", " Justin•♥•BieberJustin•♥•BieberJu Justin•", " Justin•♥•BieberJustin•♥•BieberJu Justin•", " Justin•♥•BieberJustin•♥•BieberJustin Justin•", " Justin•♥•BieberJustin•♥•BieberJustin•♥•B Justin", "Justin•♥•BieberJustin•♥•BieberJustin•♥•Biebe Justin", "Justin•♥•BieberJustin•♥•BieberJustin•♥•BieberJu Just", "Justin•♥•BieberJustin•♥•BieberJustin•♥•BieberJustin•♥•", "Justin•♥•BieberJustin•♥•BieberJustin•♥•BieberJustin•♥", " Justin•♥•BieberJustin•♥•BieberJustin•♥•BieberJusti", " Justin•♥•BieberJustin•♥•BieberJustin•♥•BieberJus", " Justin•♥•BieberJustin•♥•BieberJustin•♥•Bieb", " Justin•♥•BieberJustin•♥•BieberJustin•♥•", " Justin•♥•BieberJustin•♥•BieberJus", " Justin•♥•BieberJustin•♥•Bi", " Justin•♥•BieberJusti", " Justin•♥•Bieber", " Justin•♥•Bi", " Justin•", " Justi", " Ju"); foreach ( $a as $b ) { echo $b; } ?>

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)
8.3.60.0070.00718.55
8.3.50.0120.00521.02
8.3.40.0110.00318.56
8.3.30.0070.01018.92
8.3.20.0040.00420.29
8.3.10.0050.00321.86
8.3.00.0050.00222.51
8.2.180.0110.00416.38
8.2.170.0120.00622.96
8.2.160.0140.00020.47
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0120.00626.16
8.2.120.0090.00019.54
8.2.110.0030.00620.57
8.2.100.0040.00719.39
8.2.90.0080.00019.21
8.2.80.0000.00719.17
8.2.70.0030.00617.63
8.2.60.0030.00718.04
8.2.50.0050.00318.07
8.2.40.0070.00018.22
8.2.30.0040.00417.98
8.2.20.0080.00017.71
8.2.10.0040.00417.75
8.2.00.0040.00417.75
8.1.280.0100.00725.92
8.1.270.0000.00820.35
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0060.00323.86
8.1.230.0030.00819.01
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0100.00017.11
8.1.190.0000.00817.30
8.1.180.0030.00618.69
8.1.170.0040.00418.59
8.1.160.0000.00722.24
8.1.150.0040.00418.63
8.1.140.0040.00417.42
8.1.130.0000.00817.71
8.1.120.0030.00317.44
8.1.110.0040.00417.47
8.1.100.0070.00017.42
8.1.90.0040.00417.48
8.1.80.0000.00717.37
8.1.70.0000.00717.41
8.1.60.0040.00417.66
8.1.50.0000.00917.41
8.1.40.0030.00517.48
8.1.30.0030.00617.50
8.1.20.0030.00617.58
8.1.10.0040.00417.44
8.1.00.0000.00817.28
8.0.300.0070.00018.77
8.0.290.0070.00017.18
8.0.280.0000.00718.34
8.0.270.0040.00417.13
8.0.260.0000.00618.35
8.0.250.0070.00016.86
8.0.240.0040.00416.98
8.0.230.0030.00316.96
8.0.220.0030.00316.89
8.0.210.0000.00716.91
8.0.200.0000.00716.82
8.0.190.0000.00717.00
8.0.180.0040.00416.90
8.0.170.0070.00016.85
8.0.160.0060.00316.87
8.0.150.0000.00716.88
8.0.140.0000.00716.84
8.0.130.0000.00613.29
8.0.120.0030.00616.88
8.0.110.0000.00716.96
8.0.100.0040.00416.73
8.0.90.0040.00416.88
8.0.80.0060.01216.89
8.0.70.0040.00416.79
8.0.60.0050.00316.76
8.0.50.0000.00716.96
8.0.30.0140.00517.07
8.0.20.0130.01117.40
8.0.10.0000.00717.09
8.0.00.0120.00616.87
7.4.330.0050.00015.08
7.4.320.0030.00316.46
7.4.300.0000.00616.59
7.4.290.0070.00316.52
7.4.280.0000.00716.60
7.4.270.0000.00716.59
7.4.260.0000.00716.49
7.4.250.0080.00016.56
7.4.240.0020.00616.60
7.4.230.0040.00416.63
7.4.220.0030.01516.40
7.4.210.0070.00916.59
7.4.200.0040.00416.71
7.4.190.0070.00016.67
7.4.160.0110.00516.38
7.4.150.0030.01317.40
7.4.140.0030.01717.86
7.4.130.0090.01116.50
7.4.120.0160.00516.58
7.4.110.0030.01316.53
7.4.100.0040.01416.53
7.4.90.0070.01016.28
7.4.80.0100.00719.39
7.4.70.0090.01216.39
7.4.60.0060.01216.44
7.4.50.0040.00016.27
7.4.40.0060.00922.77
7.4.30.0090.00616.52
7.4.00.0040.01114.97
7.3.330.0000.00513.11
7.3.320.0030.00313.18
7.3.310.0030.00316.11
7.3.300.0000.00716.29
7.3.290.0060.00916.24
7.3.280.0090.00616.29
7.3.270.0150.00317.40
7.3.260.0080.01116.33
7.3.250.0120.01116.51
7.3.240.0150.00316.42
7.3.230.0110.00716.39
7.3.210.0100.00716.36
7.3.200.0070.01019.39
7.3.190.0060.00916.53
7.3.180.0100.00516.49
7.3.170.0030.01216.27
7.3.160.0080.01216.28
7.3.120.0110.00715.02
7.2.330.0090.01516.54
7.2.320.0100.01016.65
7.2.310.0140.00516.67
7.2.300.0030.01316.51
7.2.290.0080.00916.34
7.2.60.0080.01016.38
7.2.00.0090.00619.35
7.1.200.0110.00315.64
7.1.100.0030.01017.82
7.1.70.0040.00416.83
7.1.60.0100.01319.82
7.1.50.0070.01816.98
7.1.00.0030.05322.43
7.0.200.0040.00416.82
7.0.140.0030.07722.16
7.0.60.0130.07720.01
7.0.50.0030.05717.88
7.0.40.0070.05320.40
7.0.30.0300.05720.18
7.0.20.0270.07320.17
7.0.10.0200.09320.16
7.0.00.0030.09020.30
5.6.280.0000.07721.04
5.6.210.0070.08320.53
5.6.200.0030.04318.21
5.6.190.0100.04320.49
5.6.180.4070.04720.45
5.6.170.0300.04720.45
5.6.160.0030.06720.44
5.6.150.0000.04018.22
5.6.140.0030.06018.18
5.6.130.0070.07018.09
5.6.120.0030.08021.00
5.6.110.0100.05320.88
5.6.100.0100.05021.04
5.6.90.0030.09020.96
5.6.80.0100.07720.40
5.6.70.0300.06720.35
5.5.350.0200.07020.44
5.5.340.0100.07317.89
5.5.330.0100.05020.29
5.5.320.0170.08320.17
5.5.310.0300.07320.20
5.5.300.0170.06717.91
5.5.290.0130.07017.89
5.5.280.0100.07720.88
5.5.270.0070.06320.89
5.5.260.0030.04720.95
5.5.250.0030.06020.55
5.5.240.0230.06720.26
5.4.450.0600.06319.11
5.4.440.0800.05019.46
5.4.430.0070.05719.63
5.4.420.0800.04719.60
5.4.410.0830.07019.51
5.4.400.1200.04718.51
5.4.390.1500.06718.47
5.4.380.0300.05318.56
5.4.370.0100.06318.63
5.4.360.0170.05018.50
5.4.350.0120.07711.97
5.4.340.0080.06411.97
5.4.320.0060.03712.46
5.4.310.0090.03912.45
5.4.300.0070.04712.46
5.4.290.0050.04612.45
5.4.280.0100.04212.35
5.4.270.0070.04112.36
5.4.260.0090.03912.36
5.4.250.0130.06318.98
5.4.240.0070.07318.69
5.4.230.0070.05318.82
5.4.220.0000.08018.64
5.4.210.0100.04718.79
5.4.200.0030.08018.99
5.4.190.0030.05718.73
5.4.180.0070.05318.86
5.4.170.0100.05018.91
5.4.160.0130.07018.92
5.4.150.0130.05018.90
5.4.140.0000.05316.36
5.4.130.0070.05316.24
5.4.120.0130.06016.43
5.4.110.0130.04716.34
5.4.100.0030.05316.48
5.4.90.0100.04316.40
5.4.80.0030.05016.39
5.4.70.0030.05016.29
5.4.60.0170.04316.46
5.4.50.0100.04016.45
5.4.40.0070.04716.28
5.4.30.0030.05016.37
5.4.20.0070.04716.30
5.4.10.0030.06716.39
5.4.00.0000.05315.74
5.3.290.0070.03712.80
5.3.280.0070.05014.51
5.3.270.0030.05314.70
5.3.260.0100.05714.65
5.3.250.0030.05014.60
5.3.240.0030.05714.48
5.3.230.0030.05314.30
5.3.220.0100.04714.59
5.3.210.0070.05014.71
5.3.200.0070.05314.50
5.3.190.0070.05014.61
5.3.180.0000.05314.58
5.3.170.0100.04714.42
5.3.160.0100.04714.57
5.3.150.0100.04714.56
5.3.140.0070.04714.43
5.3.130.0030.05314.42
5.3.120.0030.05714.55
5.3.110.0170.05714.27
5.3.100.0100.04713.87
5.3.90.0200.05714.11
5.3.80.0100.04714.06
5.3.70.0070.04713.96
5.3.60.0030.05013.87
5.3.50.0030.05013.96
5.3.40.0070.05013.64
5.3.30.0030.05013.91
5.3.20.0070.04713.84
5.3.10.0070.04713.52
5.3.00.0070.04713.41
5.2.170.0070.04311.08
5.2.160.0030.04311.16
5.2.150.0000.04711.07
5.2.140.0030.04311.15
5.2.130.0070.03711.02
5.2.120.0030.04311.11
5.2.110.0030.04311.11
5.2.100.0000.05311.10
5.2.90.0070.05311.20
5.2.80.0030.06310.85
5.2.70.0100.04011.11
5.2.60.0030.04711.07
5.2.50.0100.03711.04
5.2.40.0030.04010.93
5.2.30.0100.03710.81
5.2.20.0100.03310.97
5.2.10.0000.04010.76
5.2.00.0070.03710.65
5.1.60.0130.02710.19
5.1.50.0000.03710.19
5.1.40.0030.0339.86
5.1.30.0070.03310.21
5.1.20.0030.03710.27
5.1.10.0130.02710.30
5.1.00.0100.03310.13
5.0.50.0030.0338.60
5.0.40.0030.0238.32
5.0.30.0000.0438.37
5.0.20.0070.0308.19
5.0.10.0000.0308.26
5.0.00.0030.0538.35
4.4.90.0030.0207.02
4.4.80.0000.0237.02
4.4.70.0000.0237.02
4.4.60.0070.0177.02
4.4.50.0000.0237.02
4.4.40.0000.0377.02
4.4.30.0030.0207.02
4.4.20.0030.0207.02
4.4.10.0070.0237.02
4.4.00.0000.0437.02
4.3.110.0000.0237.02
4.3.100.0000.0237.02
4.3.90.0030.0207.02
4.3.80.0000.0337.02
4.3.70.0000.0207.02
4.3.60.0070.0177.02
4.3.50.0000.0237.02
4.3.40.0030.0307.02
4.3.30.0070.0177.02
4.3.20.0000.0237.02
4.3.10.0030.0207.02
4.3.00.0130.0207.61

preferences:
51.22 ms | 401 KiB | 5 Q