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 . PHP_EOL; } ?>

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.0160.00018.43
8.3.50.0100.00521.14
8.3.40.0070.00718.68
8.3.30.0110.00319.09
8.3.20.0040.00420.33
8.3.10.0080.00022.05
8.3.00.0040.00422.29
8.2.180.0090.00616.50
8.2.170.0150.00322.96
8.2.160.0030.01020.52
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0090.00926.16
8.2.120.0040.00419.82
8.2.110.0000.00822.06
8.2.100.0090.00319.21
8.2.90.0030.00519.17
8.2.80.0040.00417.97
8.2.70.0070.00317.63
8.2.60.0050.00317.80
8.2.50.0080.00018.07
8.2.40.0080.00018.09
8.2.30.0070.00017.99
8.2.20.0040.00417.72
8.2.10.0000.00717.60
8.2.00.0040.00417.64
8.1.280.0100.00725.92
8.1.270.0040.00420.36
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00323.96
8.1.230.0080.00419.10
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0050.00517.22
8.1.190.0030.00617.53
8.1.180.0090.00018.59
8.1.170.0080.00018.55
8.1.160.0030.00322.15
8.1.150.0060.00318.65
8.1.140.0040.00417.55
8.1.130.0030.00717.75
8.1.120.0050.00217.39
8.1.110.0030.00517.39
8.1.100.0000.00717.34
8.1.90.0080.00017.37
8.1.80.0070.00017.38
8.1.70.0070.00017.37
8.1.60.0030.00617.60
8.1.50.0000.00817.42
8.1.40.0080.00017.48
8.1.30.0000.00717.66
8.1.20.0000.00917.66
8.1.10.0030.00517.58
8.1.00.0000.00717.46
8.0.300.0070.00018.77
8.0.290.0040.00417.16
8.0.280.0000.00718.46
8.0.270.0030.00317.14
8.0.260.0000.00816.84
8.0.250.0030.00316.85
8.0.240.0040.00516.99
8.0.230.0000.00716.89
8.0.220.0000.00716.92
8.0.210.0040.00416.91
8.0.200.0000.00616.96
8.0.190.0000.00716.84
8.0.180.0000.00816.83
8.0.170.0050.00316.98
8.0.160.0050.00216.89
8.0.150.0040.00416.79
8.0.140.0000.00716.90
8.0.130.0060.00013.21
8.0.120.0040.00416.71
8.0.110.0000.00716.89
8.0.100.0000.00716.92
8.0.90.0000.00717.02
8.0.80.0130.01016.88
8.0.70.0030.00516.86
8.0.60.0050.00216.78
8.0.50.0070.00016.69
8.0.30.0110.00816.90
8.0.20.0110.00817.40
8.0.10.0040.00417.08
8.0.00.0130.00516.85
7.4.330.0000.00415.00
7.4.320.0000.00616.52
7.4.300.0000.00616.52
7.4.290.0000.01016.48
7.4.280.0000.00716.63
7.4.270.0030.00316.65
7.4.260.0040.00416.62
7.4.250.0040.00416.56
7.4.240.0080.00016.61
7.4.230.0000.00716.27
7.4.220.0060.01016.63
7.4.210.0060.01116.68
7.4.200.0040.00416.54
7.4.190.0050.00216.70
7.4.160.0100.00716.36
7.4.150.0090.00917.40
7.4.140.0140.00717.86
7.4.130.0120.00516.57
7.4.120.0120.00816.59
7.4.110.0120.00416.34
7.4.100.0100.01316.43
7.4.90.0060.01416.42
7.4.80.0060.01019.39
7.4.70.0080.00816.22
7.4.60.0070.01316.49
7.4.50.0000.00516.48
7.4.40.0100.00722.77
7.4.30.0100.00716.66
7.4.00.0060.01215.00
7.3.330.0020.00213.10
7.3.320.0050.00013.18
7.3.310.0000.00816.07
7.3.300.0000.00616.31
7.3.290.0100.01016.37
7.3.280.0090.00716.22
7.3.270.0120.00617.40
7.3.260.0120.00516.25
7.3.250.0110.00816.33
7.3.240.0100.00616.37
7.3.230.0100.00716.39
7.3.210.0110.00616.48
7.3.200.0120.00819.39
7.3.190.0020.01616.62
7.3.180.0140.00416.43
7.3.170.0060.01016.29
7.3.160.0090.01216.57
7.3.120.0000.01415.07
7.2.330.0030.01616.79
7.2.320.0090.00916.69
7.2.310.0180.00616.66
7.2.300.0090.00916.36
7.2.290.0080.00816.75
7.2.00.0030.01019.38
7.1.100.0030.01017.93
7.1.70.0030.00516.93
7.1.60.0100.00319.82
7.1.50.0030.01716.64
7.1.00.0000.04322.45
7.0.200.0050.00316.41
7.0.140.0030.09022.06
7.0.100.0070.04720.01
7.0.90.0070.05019.96
7.0.80.0070.04019.86
7.0.70.0030.04719.89
7.0.60.0070.04319.95
7.0.50.0030.04720.34
7.0.40.0100.04320.09
7.0.30.0070.05020.08
7.0.20.0070.05020.10
7.0.10.0170.03720.14
7.0.00.0100.04720.14
5.6.280.0130.06320.80
5.6.250.0030.04720.78
5.6.240.0030.05020.52
5.6.230.0070.05020.58
5.6.220.0030.04720.71
5.6.210.0030.04020.50
5.6.200.0030.05321.05
5.6.190.0030.05020.96
5.6.180.0170.03321.10
5.6.170.0000.05321.14
5.6.160.0070.04721.11
5.6.150.0100.04320.96
5.6.140.0030.05020.95
5.6.130.0070.05021.03
5.6.120.0030.05321.07
5.6.110.0130.04321.01
5.6.100.0070.04721.06
5.6.90.0030.04321.06
5.6.80.0000.05020.32
5.6.70.0100.04320.35
5.6.60.0070.04720.41
5.6.50.0030.04720.41
5.6.40.0070.04320.32
5.6.30.0000.05020.43
5.6.20.0130.04020.43
5.6.10.0000.05020.49
5.6.00.0100.04320.40
5.5.380.0070.04320.57
5.5.370.0070.04720.46
5.5.360.0030.05020.37
5.5.350.0070.04320.43
5.5.340.0030.05020.81
5.5.330.0070.04720.81
5.5.320.0030.05020.93
5.5.310.0030.04720.60
5.5.300.0070.04720.72
5.5.290.0030.05320.82
5.5.280.0070.04720.79
5.5.270.0070.04720.88
5.5.260.0030.04720.92
5.5.250.0000.05320.70
5.5.240.0030.04720.26
5.5.230.0070.04720.29
5.5.220.0100.04020.01
5.5.210.0130.05020.18
5.5.200.0000.04720.25
5.5.190.0030.05020.23
5.5.180.0100.04320.27
5.5.160.0070.04020.18
5.5.150.0070.04319.98
5.5.140.0130.03720.27
5.5.130.0070.04720.18
5.5.120.0000.04720.17
5.5.110.0070.04020.27
5.5.100.0030.04720.09
5.5.90.0100.03720.10
5.5.80.0000.04320.07
5.5.70.0100.04320.09
5.5.60.0070.04720.14
5.5.50.0100.04320.00
5.5.40.0030.05020.14
5.5.30.0030.07019.95
5.5.20.0070.05020.05
5.5.10.0070.04020.08
5.5.00.0030.05020.08
5.4.450.0000.05319.57
5.4.440.0230.04019.43
5.4.430.0000.05019.35
5.4.420.0000.05019.32
5.4.410.0070.04319.32
5.4.400.0030.04318.95
5.4.390.0000.05018.97
5.4.380.0030.04719.10
5.4.370.0070.03718.84
5.4.360.0000.04019.06
5.4.350.0130.03319.04
5.4.340.0070.04018.89
5.4.320.0070.04319.13
5.4.310.0030.04319.19
5.4.300.0070.04018.89
5.4.290.0000.04719.06
5.4.280.0170.03319.03
5.4.270.0030.04019.14
5.4.260.0030.04319.08
5.4.250.0030.04718.96
5.4.240.0070.04318.96
5.4.230.0030.04719.06
5.4.220.0030.04719.09
5.4.210.0070.04319.05
5.4.200.0100.04018.96
5.4.190.0070.02719.21
5.4.180.0070.04318.96
5.4.170.0070.03719.08
5.4.160.0100.04319.11
5.4.150.0030.04719.02
5.4.140.0100.04016.34
5.4.130.0100.03316.38
5.4.120.0030.04316.27
5.4.110.0030.04316.27
5.4.100.0100.03316.23
5.4.90.0030.04316.43
5.4.80.0030.03716.25
5.4.70.0030.04316.20
5.4.60.0070.04016.29
5.4.50.0000.04316.24
5.4.40.0000.04016.43
5.4.30.0030.04016.19
5.4.20.0030.04316.19
5.4.10.0070.04016.28
5.4.00.0100.03315.78
5.3.290.0030.03714.48
5.3.280.0070.04014.56
5.3.270.0070.04314.60
5.3.260.0170.03014.52
5.3.250.0100.03714.46
5.3.240.0100.03714.47
5.3.230.0070.03714.59
5.3.220.0070.03014.43
5.3.210.0070.04314.43
5.3.200.0000.04314.42
5.3.190.0070.03714.57
5.3.180.0070.04014.43
5.3.170.0070.04014.56
5.3.160.0070.04014.48
5.3.150.0070.04014.48
5.3.140.0000.04714.54
5.3.130.0100.03714.55
5.3.120.0000.05014.55
5.3.110.0000.04714.50
5.3.100.0030.04014.04
5.3.90.0030.04313.88
5.3.80.0070.03713.96
5.3.70.0000.04313.93
5.3.60.0100.04314.01
5.3.50.0070.04013.91
5.3.40.0100.03713.91
5.3.30.0030.04313.86
5.3.20.0000.08013.60
5.3.10.0070.07313.44
5.3.00.0000.03713.64
5.2.170.0000.04711.68
5.2.160.0000.03711.68
5.2.150.0030.04011.68
5.2.140.0030.06311.68
5.2.130.0070.06011.68
5.2.120.0030.06311.68
5.2.110.0070.05711.68
5.2.100.0000.06311.68
5.2.90.0030.06011.68
5.2.80.0030.06311.68
5.2.70.0030.06311.68
5.2.60.0030.06311.68
5.2.50.0200.02311.68
5.2.40.0200.04311.68
5.2.30.0070.05711.68
5.2.20.0030.06011.68
5.2.10.0000.06011.68
5.2.00.0000.06711.68
5.1.60.0030.05711.68
5.1.50.0030.05311.68
5.1.40.0070.04711.68
5.1.30.0000.06011.68
5.1.20.0030.05711.68
5.1.10.0000.06011.68
5.1.00.0030.05011.68
5.0.50.0100.03011.68
5.0.40.0000.04011.68
5.0.30.0000.06711.68
5.0.20.0070.03711.68
5.0.10.0100.03711.68
5.0.00.0000.04011.68
4.4.90.0000.03311.68
4.4.80.0030.03711.68
4.4.70.0000.03711.68
4.4.60.0000.02711.68
4.4.50.0000.03711.68
4.4.40.0000.05711.68
4.4.30.0070.03011.68
4.4.20.0030.03711.68
4.4.10.0070.03311.68
4.4.00.0000.04711.68
4.3.110.0000.03711.68
4.3.100.0070.03011.68
4.3.90.0000.03011.68
4.3.80.0030.05011.68
4.3.70.0000.03711.68
4.3.60.0000.03711.68
4.3.50.0070.02311.68
4.3.40.0070.04711.68
4.3.30.0000.03711.68
4.3.20.0100.01011.68
4.3.10.0000.03011.68
4.3.00.0070.02711.68

preferences:
36.46 ms | 400 KiB | 5 Q