3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user_email = 'user@email.com'; $user_name = 'User Name'; $message = "Hello $user_name, an email was send to $user_email ..."; echo $message; //Will output: Hello User Name, an email was send to user@email.com ...

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.0170.00318.23
8.3.50.0080.00922.00
8.3.40.0040.01118.84
8.3.30.0030.01318.83
8.3.20.0050.00320.25
8.3.10.0080.00021.77
8.3.00.0080.00019.38
8.2.180.0060.01218.41
8.2.170.0000.01418.79
8.2.160.0070.00722.96
8.2.150.0060.00324.18
8.2.140.0030.00724.66
8.2.130.0000.00826.16
8.2.120.0050.00319.23
8.2.110.0030.00620.92
8.2.100.0040.00817.72
8.2.90.0000.00817.91
8.2.80.0000.00817.97
8.2.70.0060.00317.50
8.2.60.0060.00317.80
8.2.50.0040.00418.07
8.2.40.0040.00419.82
8.2.30.0040.00418.06
8.2.20.0040.00417.68
8.2.10.0050.00318.13
8.2.00.0000.00717.73
8.1.280.0070.00725.92
8.1.270.0040.00420.13
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0080.00022.57
8.1.230.0070.00420.77
8.1.220.0030.00517.79
8.1.210.0000.00818.95
8.1.200.0000.00917.22
8.1.190.0080.00017.23
8.1.180.0000.00818.10
8.1.170.0060.00320.12
8.1.160.0000.00721.89
8.1.150.0040.00418.86
8.1.140.0050.00217.29
8.1.130.0040.00417.72
8.1.120.0000.00717.39
8.1.110.0080.00017.28
8.1.100.0040.00417.27
8.1.90.0000.00717.42
8.1.80.0070.00017.39
8.1.70.0000.00717.41
8.1.60.0030.00617.41
8.1.50.0040.00417.32
8.1.40.0000.00717.45
8.1.30.0000.00817.59
8.1.20.0060.00317.55
8.1.10.0040.00717.45
8.1.00.0040.00417.48
8.0.300.0030.00319.92
8.0.290.0040.00416.63
8.0.280.0070.00018.49
8.0.270.0000.00717.24
8.0.260.0060.00017.29
8.0.250.0030.00316.89
8.0.240.0000.00716.80
8.0.230.0070.00016.95
8.0.220.0040.00216.87
8.0.210.0050.00216.78
8.0.200.0030.00316.93
8.0.190.0040.00417.00
8.0.180.0070.00016.93
8.0.170.0070.00016.91
8.0.160.0040.00416.86
8.0.150.0040.00416.83
8.0.140.0000.00716.83
8.0.130.0070.00013.34
8.0.120.0050.00216.86
8.0.110.0040.00416.84
8.0.100.0000.00716.89
8.0.90.0050.00216.70
8.0.80.0060.00916.89
8.0.70.0040.00416.95
8.0.60.0040.00416.82
8.0.50.0000.00716.71
8.0.30.0090.01216.94
8.0.20.0140.00617.40
8.0.10.0000.00816.84
8.0.00.0110.00516.80
7.4.330.0020.00215.03
7.4.320.0000.00616.33
7.4.300.0000.00616.57
7.4.290.0030.00316.35
7.4.280.0090.00016.42
7.4.270.0030.00316.44
7.4.260.0000.00716.47
7.4.250.0050.00216.53
7.4.240.0000.00716.43
7.4.230.0060.00016.41
7.4.220.0190.00316.56
7.4.210.0130.00316.43
7.4.200.0040.00416.40
7.4.160.0080.00816.51
7.4.150.0130.01017.40
7.4.140.0070.01717.86
7.4.130.0110.01116.42
7.4.120.0100.00716.50
7.4.110.0070.01116.46
7.4.100.0060.01216.55
7.4.90.0070.01016.33
7.4.80.0170.00619.39
7.4.70.0000.01716.53
7.4.60.0030.01316.45
7.4.50.0000.00716.21
7.4.40.0030.01316.61
7.4.30.0140.00716.63
7.4.00.0040.01114.63
7.3.330.0030.00313.18
7.3.320.0080.00413.09
7.3.310.0040.00416.26
7.3.300.0030.00316.09
7.3.290.0000.00716.27
7.3.280.0110.00616.23
7.3.270.0090.00917.40
7.3.260.0100.01416.26
7.3.250.0120.00516.23
7.3.240.0140.00616.48
7.3.230.0150.00616.39
7.3.210.0110.00716.21
7.3.200.0070.01019.39
7.3.190.0110.00616.20
7.3.180.0100.01016.24
7.3.170.0110.00616.54
7.3.160.0080.00816.24
7.2.330.0130.00316.62
7.2.320.0070.01116.23
7.2.310.0130.00416.31
7.2.300.0060.01116.41
7.2.290.0110.00616.25
7.2.00.0070.00319.25
7.1.100.0000.01518.08
7.1.70.0000.01117.09
7.1.60.0110.00719.50
7.1.50.0040.01916.82
7.1.00.0100.07022.42
7.0.200.0200.00014.82
7.0.140.0000.07722.00
7.0.60.0170.07719.85
7.0.50.0030.08317.80
7.0.40.0070.04020.02
7.0.30.0470.04720.00
7.0.20.0200.07020.13
7.0.10.0300.08320.16
7.0.00.0100.08020.16
5.6.280.0070.07021.07
5.6.210.0070.08720.61
5.6.200.0070.07718.18
5.6.190.0070.07020.26
5.6.180.0300.07720.32
5.6.170.0430.03320.50
5.6.160.0100.07320.53
5.6.150.0100.08018.21
5.6.140.0070.08018.18
5.6.130.0100.07718.11
5.6.120.0070.07020.98
5.6.110.0030.04321.13
5.6.100.0170.07721.07
5.6.90.0000.07720.93
5.6.80.0100.07720.36
5.6.70.0300.07020.36
5.5.350.0300.06720.30
5.5.340.0030.08317.96
5.5.330.0070.08720.12
5.5.320.0100.07720.36
5.5.310.0300.07720.29
5.5.300.0130.04017.98
5.5.290.0070.03717.95
5.5.280.0030.04720.76
5.5.270.0070.04320.86
5.5.260.0070.04020.83
5.5.250.0070.04020.68
5.5.240.0100.04320.11
5.4.450.0770.05319.28
5.4.440.1000.04719.63
5.4.430.0770.05019.40
5.4.420.0870.05319.41
5.4.410.0170.06318.69
5.4.400.0500.06018.67
5.4.390.0500.05018.50
5.4.380.0530.06018.70
5.4.370.0570.04718.58
5.4.360.0400.06018.68
5.4.350.0400.06018.72
5.4.340.0470.05318.65
5.4.320.0530.04718.77
5.4.310.0500.05018.68
5.4.300.0370.06018.52
5.4.290.0500.05318.66
5.4.280.0530.04718.58
5.4.270.0470.05718.71
5.4.260.0530.03318.49
5.4.250.0330.06018.51
5.4.240.0400.06018.61
5.4.230.0370.06018.61
5.4.220.0400.06018.71
5.4.210.0630.06718.45
5.4.200.0370.05716.67
5.4.190.0470.05018.57
5.4.180.0470.06018.60
5.4.170.0430.05318.67
5.4.160.0430.05018.62
5.4.150.0500.07318.66
5.4.140.0430.05016.05
5.4.130.0500.04316.35
5.4.120.0500.06716.36
5.4.110.0300.05716.36
5.4.100.0500.05316.14
5.4.90.0400.05716.21
5.4.80.0430.05316.29
5.4.70.0400.05316.12
5.4.60.0430.04716.13
5.4.50.0470.05016.07
5.4.40.0470.07016.23
5.4.30.0430.05016.03
5.4.20.0430.05016.23
5.4.10.0400.05316.26
5.4.00.0430.05015.49
5.3.290.0400.05714.75
5.3.280.0430.05014.55
5.3.270.0300.06314.70
5.3.260.0530.06014.61
5.3.250.0430.07314.70
5.3.240.0470.07014.59
5.3.230.0430.05714.49
5.3.220.0400.05314.54
5.3.210.0500.04714.47
5.3.200.0300.06314.51
5.3.190.0500.05014.51
5.3.180.0470.05714.54
5.3.170.0530.05014.59
5.3.160.0470.05314.54
5.3.150.0600.05014.55
5.3.140.0330.06014.56
5.3.130.0370.06014.57
5.3.120.0370.06014.64
5.3.110.0470.05714.44
5.3.100.0430.06714.09
5.3.90.0470.07713.97
5.3.80.0370.05714.00
5.3.70.0400.06014.00
5.3.60.0400.05313.94
5.3.50.0430.05013.88
5.3.40.0400.05313.84
5.3.30.0300.05713.84
5.3.20.0370.06013.59
5.3.10.0500.04313.56
5.3.00.0430.05713.71
5.2.170.0300.04711.09
5.2.160.0370.04311.06
5.2.150.0230.05311.20
5.2.140.0300.05011.20
5.2.130.0400.03311.12
5.2.120.0300.04011.05
5.2.110.0230.05311.14
5.2.100.0270.05011.06
5.2.90.0330.04011.15
5.2.80.0270.05011.15
5.2.70.0470.04011.06
5.2.60.0430.04011.20
5.2.50.0430.03711.02
5.2.40.0300.04311.03
5.2.30.0170.05310.93
5.2.20.0200.04710.97
5.2.10.0270.04310.95
5.2.00.0270.04010.82
5.1.60.0300.04310.01
5.1.50.0230.03710.00
5.1.40.0300.0409.98
5.1.30.0330.03310.30
5.1.20.0470.03310.32
5.1.10.0300.03310.06
5.1.00.0300.04310.17
5.0.50.0130.0308.61
5.0.40.0130.0308.43
5.0.30.0170.0438.34
5.0.20.0130.0308.37
5.0.10.0130.0308.19
5.0.00.0200.0478.34
4.4.90.0130.0236.47
4.4.80.0200.0276.47
4.4.70.0230.0236.47
4.4.60.0200.0276.47
4.4.50.0170.0306.47
4.4.40.0300.0376.47
4.4.30.0230.0206.47
4.4.20.0100.0336.47
4.4.10.0200.0236.47
4.4.00.0130.0376.47
4.3.110.0200.0136.47
4.3.100.0100.0306.47
4.3.90.0130.0236.47
4.3.80.0170.0436.47
4.3.70.0200.0236.47
4.3.60.0130.0206.47
4.3.50.0130.0306.47
4.3.40.0130.0336.47
4.3.30.0030.0276.47
4.3.20.0070.0306.47
4.3.10.0070.0276.47
4.3.00.0100.0276.80

preferences:
43.54 ms | 401 KiB | 5 Q