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 . "\n"; } ?>

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.0100.01016.37
8.3.50.0110.00521.27
8.3.40.0110.00318.70
8.3.30.0170.00318.79
8.3.20.0040.00420.34
8.3.10.0080.00022.05
8.3.00.0070.00022.47
8.2.180.0140.00716.38
8.2.170.0110.00422.96
8.2.160.0110.00419.08
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0040.01126.16
8.2.120.0090.00017.91
8.2.110.0060.00320.35
8.2.100.0110.00019.21
8.2.90.0000.00819.17
8.2.80.0000.00819.39
8.2.70.0050.00517.63
8.2.60.0000.00817.92
8.2.50.0080.00018.07
8.2.40.0050.00218.28
8.2.30.0050.00317.99
8.2.20.0030.00517.65
8.2.10.0040.00417.66
8.2.00.0040.00417.76
8.1.280.0130.00725.92
8.1.270.0080.00020.35
8.1.260.0070.00026.35
8.1.250.0030.00628.09
8.1.240.0060.00323.97
8.1.230.0050.00519.16
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0050.00517.35
8.1.190.0050.00317.53
8.1.180.0080.00018.40
8.1.170.0000.00818.65
8.1.160.0040.00422.04
8.1.150.0040.00418.56
8.1.140.0040.00417.51
8.1.130.0060.00317.74
8.1.120.0030.00317.38
8.1.110.0000.00717.45
8.1.100.0040.00417.46
8.1.90.0000.00717.47
8.1.80.0020.00517.29
8.1.70.0000.00717.42
8.1.60.0030.00517.55
8.1.50.0040.00417.54
8.1.40.0090.00017.38
8.1.30.0040.00417.68
8.1.20.0080.00017.72
8.1.10.0000.00817.48
8.1.00.0040.00417.36
8.0.300.0000.00718.77
8.0.290.0070.00017.30
8.0.280.0040.00418.36
8.0.270.0070.00017.30
8.0.260.0000.00616.81
8.0.250.0030.00316.96
8.0.240.0040.00416.90
8.0.230.0000.00716.94
8.0.220.0040.00416.96
8.0.210.0040.00416.94
8.0.200.0030.00316.95
8.0.190.0070.00017.00
8.0.180.0030.00316.87
8.0.170.0070.00016.83
8.0.160.0040.00416.83
8.0.150.0030.00316.84
8.0.140.0060.00316.88
8.0.130.0030.00313.32
8.0.120.0040.00416.82
8.0.110.0040.00416.83
8.0.100.0040.00416.96
8.0.90.0040.00416.70
8.0.80.0100.01016.88
8.0.70.0080.00016.94
8.0.60.0000.00716.89
8.0.50.0000.00816.78
8.0.30.0120.00716.96
8.0.20.0050.01617.44
8.0.10.0000.00716.89
8.0.00.0100.00716.90
7.4.330.0000.00515.00
7.4.320.0020.00516.56
7.4.300.0060.00016.60
7.4.290.0060.00316.43
7.4.280.0030.00316.53
7.4.270.0090.00016.61
7.4.260.0070.00016.49
7.4.250.0040.00416.61
7.4.240.0040.00316.55
7.4.230.0070.00016.70
7.4.220.0090.00616.43
7.4.210.0040.01216.67
7.4.200.0000.00716.64
7.4.190.0000.00716.69
7.4.160.0060.00916.30
7.4.150.0030.01317.40
7.4.140.0060.01417.86
7.4.130.0110.00816.49
7.4.120.0100.00716.53
7.4.110.0030.01316.39
7.4.100.0120.01216.54
7.4.90.0030.01416.46
7.4.80.0130.00619.39
7.4.70.0090.00916.34
7.4.60.0100.01316.56
7.4.50.0080.00016.32
7.4.40.0040.00822.77
7.4.30.0120.00416.64
7.4.00.0040.01114.77
7.3.330.0000.00513.09
7.3.320.0000.00613.14
7.3.310.0070.00016.12
7.3.300.0030.00316.17
7.3.290.0000.01416.27
7.3.280.0050.00916.20
7.3.270.0080.00917.40
7.3.260.0110.00816.39
7.3.250.0110.00716.48
7.3.240.0110.01116.29
7.3.230.0090.00916.50
7.3.210.0120.00416.35
7.3.200.0090.00819.39
7.3.190.0060.01216.26
7.3.180.0050.01316.24
7.3.170.0130.00316.36
7.3.160.0110.00716.48
7.3.120.0040.01214.57
7.2.330.0100.00716.66
7.2.320.0110.01116.79
7.2.310.0130.00316.70
7.2.300.0160.00016.57
7.2.290.0060.00916.35
7.2.60.0130.00816.59
7.2.00.0030.01019.18
7.1.200.0100.00315.84
7.1.100.0060.00918.09
7.1.70.0000.00816.96
7.1.60.0030.01719.82
7.1.50.0060.01816.93
7.1.00.0000.07022.39
7.0.200.0000.00916.57
7.0.140.0000.07722.09
7.0.110.0070.07720.07
7.0.100.0170.07020.05
7.0.90.0130.06019.98
7.0.80.0030.04719.90
7.0.70.0030.05020.07
7.0.60.0070.07019.89
7.0.50.0130.03319.97
7.0.40.0170.06719.73
7.0.30.0030.04019.71
7.0.20.0030.04019.77
7.0.10.0030.03719.64
7.0.00.0000.07719.77
5.6.280.0100.08721.12
5.6.260.0070.07720.61
5.6.250.0000.05020.72
5.6.240.0030.04320.57
5.6.230.0130.08020.69
5.6.220.0070.06720.46
5.6.210.0170.06020.67
5.6.200.0170.07720.57
5.6.190.0030.08320.65
5.6.180.0030.08720.62
5.6.170.0030.04020.62
5.6.160.0070.08020.68
5.6.150.0030.04020.58
5.6.140.0070.08020.55
5.6.130.0000.04020.65
5.6.120.0070.04020.60
5.6.110.0070.06320.64
5.6.100.0170.06020.64
5.6.90.0100.05320.61
5.6.80.0000.06720.22
5.6.70.0000.06719.98
5.6.60.0030.04020.05
5.6.50.0070.04720.00
5.6.40.0100.07320.00
5.6.30.0200.06320.00
5.6.20.0070.08019.96
5.6.10.0000.05719.93
5.6.00.0100.04319.95
5.5.380.0070.07017.63
5.5.370.0070.07717.56
5.5.360.0070.07317.38
5.5.350.0000.05317.47
5.5.340.0100.04017.86
5.5.330.0000.07717.85
5.5.320.0200.05718.13
5.5.310.0030.05318.01
5.5.300.0030.03318.09
5.5.290.0030.06017.98
5.5.280.0070.08317.86
5.5.270.0030.04018.02
5.5.260.0030.06317.89
5.5.250.0100.07017.58
5.5.240.0070.03717.51
5.5.230.0070.07317.63
5.5.220.0000.04017.54
5.5.210.0030.04017.50
5.5.200.0070.07017.61
5.5.190.0000.06317.52
5.5.180.0030.04317.48
5.5.160.0100.07017.48
5.5.150.0130.04317.23
5.5.140.0100.05717.45
5.5.130.0000.06317.21
5.5.120.0100.05017.51
5.5.110.0030.05017.37
5.5.100.0030.04717.10
5.5.90.0000.07017.25
5.5.80.0000.07017.40
5.5.70.0030.04317.25
5.5.60.0070.07017.36
5.5.50.0100.04017.11
5.5.40.0030.08717.37
5.5.30.0000.07717.00
5.5.20.0030.04017.27
5.5.10.0030.08317.09
5.5.00.0030.04317.39
5.4.450.0070.06019.33
5.4.440.0100.08719.45
5.4.430.0000.04019.42
5.4.420.0100.07319.42
5.4.410.0000.08719.15
5.4.400.0070.05719.11
5.4.390.0070.08019.19
5.4.380.0000.05318.93
5.4.370.0130.05318.93
5.4.360.0100.06019.00
5.4.350.0130.07019.08
5.4.340.0030.08018.95
5.4.320.0030.04719.18
5.4.310.0000.03319.07
5.4.300.0100.04719.18
5.4.290.0100.07319.06
5.4.280.0130.03718.93
5.4.270.0070.06718.95
5.4.260.0100.06719.03
5.4.250.0070.04319.04
5.4.240.0000.05019.05
5.4.230.0030.07019.18
5.4.220.0100.06319.00
5.4.210.0100.07319.15
5.4.200.0030.06318.98
5.4.190.0070.04319.16
5.4.180.0070.05718.99
5.4.170.0070.07318.93
5.4.160.0070.06318.95
5.4.150.0070.07319.04
5.4.140.0100.07316.31
5.4.130.0030.05316.55
5.4.120.0070.06716.29
5.4.110.0070.04716.52
5.4.100.0100.03316.45
5.4.90.0070.07016.23
5.4.80.0070.06316.08
5.4.70.0030.06016.36
5.4.60.0170.02016.26
5.4.50.0130.06016.21
5.4.40.0130.06016.49
5.4.30.0070.03016.43
5.4.20.0030.03316.50
5.4.10.0030.05716.43
5.4.00.0100.03015.58
5.3.290.0030.06014.57
5.3.280.0070.05314.66
5.3.270.0100.06314.51
5.3.260.0100.07014.39
5.3.250.0070.03314.55
5.3.240.0030.05014.55
5.3.230.0030.07014.52
5.3.220.0000.04714.58
5.3.210.0100.07714.67
5.3.200.0170.05314.51
5.3.190.0070.04014.64
5.3.180.0000.04314.43
5.3.170.0130.06314.43
5.3.160.0030.07314.50
5.3.150.0030.05314.45
5.3.140.0070.07714.50
5.3.130.0000.04314.48
5.3.120.0100.07014.41
5.3.110.0030.08014.44
5.3.100.0070.06314.12
5.3.90.0000.07713.87
5.3.80.0100.04714.03
5.3.70.0030.07713.91
5.3.60.0100.07013.89
5.3.50.0000.05713.88
5.3.40.0070.05313.81
5.3.30.0030.04714.01
5.3.20.0000.06713.79
5.3.10.0070.06013.54
5.3.00.0000.04713.54
5.2.170.0000.05011.94
5.2.160.0130.05011.94
5.2.150.0070.05311.94
5.2.140.0030.02711.94
5.2.130.0070.03711.94
5.2.120.0100.04011.94
5.2.110.0100.06011.94
5.2.100.0030.04011.94
5.2.90.0130.04711.94
5.2.80.0130.05311.94
5.2.70.0000.03311.94
5.2.60.0030.02711.94
5.2.50.0100.05011.94
5.2.40.0070.04711.94
5.2.30.0030.06311.94
5.2.20.0070.02711.94
5.2.10.0000.06011.94
5.2.00.0000.04311.94
5.1.60.0030.02711.94
5.1.50.0030.05311.94
5.1.40.0070.05011.94
5.1.30.0000.06011.94
5.1.20.0000.06011.94
5.1.10.0030.04711.94
5.1.00.0000.03711.94
5.0.50.0030.03711.94
5.0.40.0130.04011.94
5.0.30.0030.05311.94
5.0.20.0030.04311.94
5.0.10.0000.02711.94
5.0.00.0100.02711.94
4.4.90.0000.02311.94
4.4.80.0000.02711.94
4.4.70.0000.03311.94
4.4.60.0030.03311.94
4.4.50.0030.03311.94
4.4.40.0100.04011.94
4.4.30.0000.03011.94
4.4.20.0030.03011.94
4.4.10.0030.03011.94
4.4.00.0030.02311.94
4.3.110.0030.03311.94
4.3.100.0070.02711.94
4.3.90.0070.02711.94
4.3.80.0030.05311.94
4.3.70.0000.02011.94
4.3.60.0000.03011.94
4.3.50.0070.01311.94
4.3.40.0030.04711.94
4.3.30.0000.03011.94
4.3.20.0000.04711.94
4.3.10.0000.03011.94
4.3.00.0000.03711.94

preferences:
43.17 ms | 401 KiB | 5 Q