3v4l.org

run code in 300+ PHP versions simultaneously
<?php $emailed = array('cam.hurd@gmail.com'); $message = count($emailed) > 10 ? implode(array_slice($emailed, 0, 10), ', ') . 'and ' . count($emailed) . ' others were sent an invite!' : implode($emailed, ', ') . count($emailed) == 1 ? ' was sent an invite' : ' were sent invites!'; print_r(implode($emailed, ', '));

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.0000.01918.43
8.3.50.0090.00921.99
8.3.40.0070.00718.75
8.3.30.0060.00918.87
8.3.20.0080.00020.07
8.3.10.0000.00922.15
8.3.00.0080.00022.47
8.2.180.0040.01116.50
8.2.170.0200.00022.96
8.2.160.0100.00319.04
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0120.00626.16
8.2.120.0060.00317.63
8.2.110.0090.00019.31
8.2.100.0090.00317.78
8.2.90.0050.00219.07
8.2.80.0040.00417.97
8.2.70.0060.00317.38
8.2.60.0060.00317.80
8.2.50.0040.00418.07
8.2.40.0110.00018.02
8.2.30.0060.00317.93
8.2.20.0040.00417.44
8.2.10.0040.00419.32
8.2.00.0000.00817.41
8.1.280.0070.01125.92
8.1.270.0080.00022.18
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0060.00323.86
8.1.230.0080.00420.90
8.1.220.0050.00517.74
8.1.210.0000.00818.77
8.1.200.0060.00317.10
8.1.190.0040.00417.28
8.1.180.0030.00618.10
8.1.170.0050.00318.52
8.1.160.0000.01021.85
8.1.150.0040.00418.55
8.1.140.0020.00517.19
8.1.130.0070.00017.69
8.1.120.0040.00417.36
8.1.110.0070.00017.32
8.1.100.0000.00717.35
8.1.90.0030.00317.28
8.1.80.0050.00317.34
8.1.70.0030.00317.27
8.1.60.0080.00017.52
8.1.50.0020.00517.28
8.1.40.0050.00217.39
8.1.30.0040.00417.41
8.1.20.0000.00817.50
8.1.10.0050.00217.37
8.1.00.0000.00717.29
8.0.300.0070.00018.77
8.0.290.0040.00416.93
8.0.280.0030.00318.24
8.0.270.0030.00317.05
8.0.260.0060.00016.73
8.0.250.0000.00816.86
8.0.240.0040.00416.71
8.0.230.0000.00716.84
8.0.220.0030.00316.72
8.0.210.0040.00416.83
8.0.200.0070.00016.84
8.0.190.0070.00016.90
8.0.180.0070.00016.86
8.0.170.0050.00216.77
8.0.160.0000.00716.68
8.0.150.0000.00716.88
8.0.140.0000.00716.67
8.0.130.0000.00613.27
8.0.120.0040.00416.68
8.0.110.0000.00716.66
8.0.100.0070.00016.77
8.0.90.0040.00416.75
8.0.80.0090.00616.85
8.0.70.0040.00416.71
8.0.60.0030.00416.65
8.0.50.0050.00316.66
8.0.30.0140.00416.99
8.0.20.0130.00617.40
8.0.10.0070.00016.74
8.0.00.0100.01016.53
7.4.330.0030.00315.00
7.4.320.0030.00316.53
7.4.300.0030.00316.52
7.4.290.0050.00216.51
7.4.280.0030.00316.52
7.4.270.0030.00316.47
7.4.260.0060.00316.59
7.4.250.0000.00716.57
7.4.240.0040.00416.66
7.4.230.0000.00716.53
7.4.220.0130.01316.57
7.4.210.0110.00816.48
7.4.200.0030.00516.53
7.4.190.0050.00316.69
7.4.160.0100.00516.60
7.4.150.0140.00417.40
7.4.140.0080.01017.86
7.4.130.0060.01416.50
7.4.120.0140.00516.47
7.4.110.0030.01316.62
7.4.100.0110.00716.72
7.4.90.0080.01116.54
7.4.80.0140.01119.39
7.4.70.0140.00416.61
7.4.60.0130.00616.47
7.4.50.0000.00816.46
7.4.40.0110.00722.77
7.4.30.0170.00616.36
7.4.10.0110.00816.57
7.4.00.0060.00916.09
7.3.330.0080.00013.09
7.3.320.0000.00513.12
7.3.310.0030.00316.21
7.3.300.0030.00316.31
7.3.290.0030.01016.25
7.3.280.0090.00916.30
7.3.270.0110.00717.40
7.3.260.0150.00416.49
7.3.250.0100.00716.31
7.3.240.0110.01216.52
7.3.230.0120.00616.39
7.3.210.0100.01016.39
7.3.200.0180.00319.39
7.3.190.0100.00716.50
7.3.180.0070.00816.57
7.3.170.0090.00616.27
7.3.160.0070.01016.39
7.3.130.0080.01216.51
7.3.120.0090.00715.92
7.3.110.0070.00916.33
7.3.100.0060.01016.44
7.3.90.0060.01016.30
7.3.80.0030.00916.33
7.3.70.0050.00716.32
7.3.60.0070.00716.35
7.3.50.0090.00716.34
7.3.40.0060.00516.34
7.3.30.0070.00616.23
7.3.20.0020.01018.10
7.3.10.0020.01018.09
7.3.00.0050.01018.19
7.2.330.0030.01316.75
7.2.320.0160.00316.73
7.2.310.0160.00616.55
7.2.300.0060.01116.55
7.2.290.0090.00916.62
7.2.260.0070.00716.57
7.2.250.0070.01316.49
7.2.240.0050.00916.49
7.2.230.0080.01016.54
7.2.220.0020.01216.50
7.2.210.0080.00616.61
7.2.200.0030.01216.39
7.2.190.0090.00716.46
7.2.180.0050.00716.43
7.2.170.0040.01116.31
7.2.160.0060.00916.49
7.2.150.0080.00618.31
7.2.140.0000.01018.24
7.2.130.0080.00818.39
7.2.120.0090.00718.27
7.2.110.0080.00618.34
7.2.100.0080.00618.30
7.2.90.0080.00618.28
7.2.80.0090.00618.35
7.2.70.0070.00918.29
7.2.60.0050.00918.23
7.2.50.0050.01018.24
7.2.40.0080.00818.39
7.2.30.0060.00818.28
7.2.20.0040.01018.23
7.2.10.0080.00618.29
7.2.00.0030.00918.77
7.1.330.0090.01017.15
7.1.320.0060.00817.22
7.1.310.0080.00517.13
7.1.300.0040.01117.29
7.1.290.0070.00717.25
7.1.280.0090.00617.21
7.1.270.0070.00917.14
7.1.260.0040.00917.31
7.1.250.0080.00717.36
7.1.240.0030.00917.13
7.1.230.0050.00917.07
7.1.220.0060.01017.19
7.1.210.0020.01417.33
7.1.200.0060.00717.24
7.1.190.0050.00517.16
7.1.180.0030.00817.27
7.1.170.0080.00417.24
7.1.160.0030.00817.17
7.1.150.0070.00617.22
7.1.140.0040.01117.25
7.1.130.0090.00717.13
7.1.120.0040.01217.19
7.1.110.0050.00817.16
7.1.100.0050.00717.58
7.1.90.0070.01017.22
7.1.80.0040.00717.26
7.1.70.0060.00617.11
7.1.60.0040.01318.04
7.1.50.0060.00817.11
7.1.40.0050.01017.20
7.1.30.0060.00817.11
7.1.20.0070.00517.23
7.1.10.0050.01017.27
7.1.00.0080.02918.98
7.0.330.0070.00817.05
7.0.320.0020.00916.93
7.0.310.0030.00916.95
7.0.300.0050.00816.90
7.0.290.0020.00816.88
7.0.280.0070.00616.89
7.0.270.0050.01016.94
7.0.260.0050.00916.84
7.0.250.0090.00416.97
7.0.240.0070.00716.96
7.0.230.0050.00616.97
7.0.220.0060.00816.93
7.0.210.0060.00817.05
7.0.200.0070.00516.82
7.0.190.0050.00716.83
7.0.180.0060.00716.98
7.0.170.0080.00216.92
7.0.160.0050.01117.04
7.0.150.0050.00917.01
7.0.140.0060.02818.54
7.0.130.0110.00016.91
7.0.120.0080.00516.73
7.0.110.0090.00416.93
7.0.100.0070.01517.97
7.0.90.0010.02717.98
7.0.80.0080.01917.93
7.0.70.0110.01817.81
7.0.60.0050.02117.92
7.0.50.0030.02018.08
7.0.40.0100.01616.61
7.0.30.0060.01916.56
7.0.20.0020.02016.71
7.0.10.0060.02416.63
7.0.00.0050.02116.58
5.6.400.0020.00915.98
5.6.390.0100.00515.96
5.6.380.0020.01215.76
5.6.370.0050.00615.96
5.6.360.0040.01215.72
5.6.350.0080.00815.90
5.6.340.0050.00915.70
5.6.330.0020.01215.82
5.6.320.0080.01115.71
5.6.310.0100.00515.83
5.6.300.0050.00815.86
5.6.290.0080.00615.65
5.6.280.0040.03317.29
5.6.270.0060.00416.01
5.6.260.0070.00615.70
5.6.250.0060.01917.54
5.6.240.0040.02617.41
5.6.230.0080.01717.49
5.6.220.0080.01717.46
5.6.210.0070.01917.38
5.6.200.0030.01817.58
5.6.190.0030.02117.56
5.6.180.0060.01717.57
5.6.170.0080.01717.52
5.6.160.0060.02117.61
5.6.150.0050.01917.46
5.6.140.0100.02417.53
5.6.130.0040.01917.52
5.6.120.0040.02217.53
5.6.110.0030.02217.48
5.6.100.0050.01817.56
5.6.90.0020.02417.51
5.6.80.0040.02017.34
5.6.70.0060.01817.26
5.6.60.0040.01917.28
5.6.50.0040.01817.09
5.6.40.0120.02917.30
5.6.30.0070.03317.22
5.6.20.0060.03117.24
5.6.10.0080.02917.18
5.6.00.0020.02117.27
5.5.380.0040.02217.28
5.5.370.0080.01417.24
5.5.360.0080.01717.35
5.5.350.0060.02317.29
5.5.340.0050.02017.37
5.5.330.0060.01917.36
5.5.320.0060.01917.39
5.5.310.0060.02017.46
5.5.300.0080.01817.44
5.5.290.0060.02017.37
5.5.280.0100.01717.32
5.5.270.0070.01817.27
5.5.260.0070.02017.32
5.5.250.0060.01917.29
5.5.240.0030.02017.15
5.5.230.0060.01717.09
5.5.220.0080.01717.09
5.5.210.0080.01717.08
5.5.200.0100.03217.16
5.5.190.0050.03417.06
5.5.180.0090.02717.13
5.5.170.0090.00515.58
5.5.160.0080.02917.05
5.5.150.0050.02617.23
5.5.140.0060.03017.15
5.5.130.0090.01917.08
5.5.120.0080.03117.04
5.5.110.0030.03317.15
5.5.100.0080.03017.13
5.5.90.0090.02217.08
5.5.80.0060.02817.02
5.5.70.0060.03516.97
5.5.60.0040.03216.92
5.5.50.0070.02917.04
5.5.40.0060.02416.92
5.5.30.0070.02917.02
5.5.20.0070.02217.04
5.5.10.0080.01716.86
5.5.00.0050.02117.03
5.4.450.0090.01714.92
5.4.440.0040.02314.84
5.4.430.0080.01614.76
5.4.420.0080.01314.86
5.4.410.0080.01814.82
5.4.400.0060.01514.54
5.4.390.0040.01714.59
5.4.380.0060.01414.73
5.4.370.0090.02814.62
5.4.360.0100.02414.61
5.4.350.0060.02914.68
5.4.340.0020.03314.59
5.4.330.0050.00612.40
5.4.320.0070.02814.58
5.4.310.0040.02714.63
5.4.300.0030.03014.65
5.4.290.0060.02814.55
5.4.280.0100.02214.70
5.4.270.0030.03114.58
5.4.260.0060.02714.67
5.4.250.0090.02614.64
5.4.240.0050.02914.61
5.4.230.0060.02714.56
5.4.220.0040.02014.65
5.4.210.0070.02814.55
5.4.200.0040.01914.65
5.4.190.0080.02714.61
5.4.180.0070.02014.52
5.4.170.0090.02614.48
5.4.160.0050.01614.60
5.4.150.0050.02414.49
5.4.140.0030.02013.76
5.4.130.0040.01713.64
5.4.120.0060.01613.81
5.4.110.0060.02713.72
5.4.100.0070.02113.77
5.4.90.0040.01713.66
5.4.80.0060.01813.80
5.4.70.0030.03013.71
5.4.60.0080.01413.75
5.4.50.0060.02513.67
5.4.40.0040.02913.73
5.4.30.0040.02913.80
5.4.20.0050.01713.67
5.4.10.0080.02213.69
5.4.00.0040.01613.47
5.3.290.0030.01913.55
5.3.280.0020.02013.38
5.3.270.0040.03013.37
5.3.260.0020.02113.50
5.3.250.0060.02213.36
5.3.240.0070.02813.58
5.3.230.0040.03213.43
5.3.220.0030.02613.30
5.3.210.0060.02913.27
5.3.200.0040.02013.38
5.3.190.0020.02913.45
5.3.180.0040.03113.51
5.3.170.0040.03113.55
5.3.160.0050.03013.43
5.3.150.0010.02113.43
5.3.140.0060.02513.40
5.3.130.0070.02713.50
5.3.120.0070.02413.47
5.3.110.0030.03313.44
5.3.100.0090.02813.25
5.3.90.0030.03213.19
5.3.80.0050.02713.13
5.3.70.0050.01713.20
5.3.60.0030.02513.26
5.3.50.0060.02013.13
5.3.40.0100.02213.11
5.3.30.0020.03113.23
5.3.20.0100.02613.13
5.3.10.0050.02413.00
5.3.00.0070.02813.03
5.2.170.0030.06311.19
5.2.160.0100.03711.00
5.2.150.0130.04711.20
5.2.140.0030.06711.13
5.2.130.0000.06011.02
5.2.120.0070.04310.95
5.2.110.0100.05011.15
5.2.100.0070.05710.96
5.2.90.0130.05310.95
5.2.80.0030.05711.04
5.2.70.0030.04310.89
5.2.60.0030.04711.12
5.2.50.0030.06010.94
5.2.40.0030.07010.99
5.2.30.0000.04710.93
5.2.20.0030.03310.80
5.2.10.0030.05310.95
5.2.00.0100.03010.83
5.1.60.0130.04310.08
5.1.50.0030.05710.02
5.1.40.0070.05010.06
5.1.30.0030.04010.38
5.1.20.0030.03010.47
5.1.10.0030.0509.91
5.1.00.0000.03310.13
5.0.50.0000.0408.84
5.0.40.0070.0408.84
5.0.30.0000.0678.84
5.0.20.0100.0408.84
5.0.10.0100.0308.84
5.0.00.0000.0638.84
4.4.90.0030.0208.84
4.4.80.0030.0338.84
4.4.70.0100.0278.84
4.4.60.0030.0338.84
4.4.50.0000.0378.84
4.4.40.0000.0578.84
4.4.30.0030.0138.84
4.4.20.0070.0308.84
4.4.10.0030.0278.84
4.4.00.0000.0338.84
4.3.110.0030.0238.84
4.3.100.0000.0208.84
4.3.90.0030.0338.84
4.3.80.0000.0278.84
4.3.70.0030.0308.84
4.3.60.0030.0308.84
4.3.50.0000.0308.84
4.3.40.0000.0278.84
4.3.30.0000.0208.84
4.3.20.0100.0138.84
4.3.10.0000.0238.84
4.3.00.0000.0208.84

preferences:
44.35 ms | 400 KiB | 5 Q