3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email = <<<TEXT Dear Some Name, here is your password ...or click the link to login... someurl.com?action=Log%20In&username=someuser@test.com&… Your log in details are: Username: your full email address (where this email was received) Password: yYng6Ytzh Some more bla bla Kind Regards, Admin TEXT; echo preg_replace('~Password: \K\S+~', '[redacted]', $email);

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.4.120.0070.01224.26
8.4.110.0060.00318.19
8.4.100.0120.00718.89
8.4.90.0120.00822.31
8.4.80.0140.00618.54
8.4.70.0140.00418.21
8.4.60.0140.00718.95
8.4.50.0090.01018.41
8.4.40.0150.00619.80
8.4.30.0030.01620.39
8.4.20.0140.00718.09
8.4.10.0060.00320.69
8.3.250.0150.00518.83
8.3.240.0100.00917.29
8.3.230.0130.00716.87
8.3.220.0080.01018.74
8.3.210.0080.00716.95
8.3.200.0060.00416.66
8.3.190.0090.01116.66
8.3.180.0020.00616.48
8.3.170.0140.00418.79
8.3.160.0060.01218.86
8.3.150.0190.00018.64
8.3.140.0100.00016.59
8.3.130.0080.00018.31
8.3.120.0140.00420.76
8.3.110.0140.00420.94
8.3.100.0160.00324.06
8.3.90.0000.01426.77
8.3.80.0030.00918.43
8.3.70.0140.00016.63
8.3.60.0140.00718.43
8.3.50.0050.01223.59
8.3.40.0130.00622.02
8.3.30.0070.01118.82
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0080.00026.16
8.2.290.0110.00920.45
8.2.280.0130.00516.79
8.2.270.0030.01718.79
8.2.260.0060.00316.87
8.2.250.0000.01416.52
8.2.240.0060.01218.74
8.2.230.0090.00022.58
8.2.220.0050.00337.54
8.2.210.0150.00326.77
8.2.200.0000.00918.66
8.2.190.0060.01216.75
8.2.180.0080.00825.92
8.2.170.0100.00318.85
8.2.160.0070.00722.96
8.2.150.0000.00725.66
8.2.140.0090.00024.66
8.2.130.0070.00026.16
8.2.120.0050.00321.19
8.2.110.0060.00321.17
8.2.100.0000.01118.03
8.2.90.0050.00318.22
8.2.80.0000.00920.58
8.2.70.0000.00817.75
8.2.60.0080.00018.03
8.2.50.0000.00918.07
8.2.40.0000.00818.16
8.2.30.0040.00417.95
8.2.20.0040.00418.14
8.2.10.0000.00719.15
8.2.00.0030.00619.21
8.1.330.0120.00621.81
8.1.320.0140.00416.34
8.1.310.0110.00718.33
8.1.300.0000.00818.61
8.1.290.0030.00630.84
8.1.280.0130.00625.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0080.00022.05
8.1.230.0180.00520.65
8.1.220.0060.00317.74
8.1.210.0040.00418.95
8.1.200.0060.00317.35
8.1.190.0000.00817.35
8.1.180.0050.00318.10
8.1.170.0000.00718.78
8.1.160.0030.00618.80
8.1.150.0070.00018.77
8.1.140.0070.00018.84
8.1.130.0070.00017.50
8.1.120.0000.00717.53
8.1.110.0030.00617.59
8.1.100.0050.00317.51
8.1.90.0040.00417.50
8.1.80.0080.00017.55
8.1.70.0000.00717.57
8.1.60.0000.01017.60
8.1.50.0060.00317.59
8.1.40.0070.00317.50
8.1.30.0030.00617.62
8.1.20.0050.00317.75
8.1.10.0030.00717.54
8.1.00.0110.00017.57
8.0.300.0070.00020.16
8.0.290.0090.00016.88
8.0.280.0030.00318.43
8.0.270.0040.00418.13
8.0.260.0040.00416.95
8.0.250.0040.00317.07
8.0.240.0030.00317.19
8.0.230.0050.00217.10
8.0.220.0030.00317.06
8.0.210.0030.00517.04
8.0.200.0000.00717.01
8.0.190.0000.00917.07
8.0.180.0000.00817.07
8.0.170.0040.00417.12
8.0.160.0040.00417.00
8.0.150.0000.00816.95
8.0.140.0050.00216.98
8.0.130.0000.00513.40
8.0.120.0040.00417.06
8.0.110.0000.00716.91
8.0.100.0040.00417.07
8.0.90.0040.00416.91
8.0.80.0030.01216.98
8.0.70.0030.00616.94
8.0.60.0000.00816.86
8.0.50.0080.00017.03
8.0.30.0100.00717.27
8.0.20.0090.00917.06
8.0.10.0000.00817.18
8.0.00.0060.01216.96
7.4.330.0060.00015.55
7.4.320.0000.00616.58
7.4.300.0050.00216.66
7.4.290.0040.00416.65
7.4.280.0040.00416.79
7.4.270.0030.00316.66
7.4.260.0070.00013.41
7.4.250.0080.00016.67
7.4.240.0070.00016.85
7.4.230.0030.00316.59
7.4.220.0030.00416.68
7.4.210.0080.00616.71
7.4.200.0030.00316.66
7.4.130.0060.01216.73
7.4.120.0140.00516.58
7.4.110.0240.00916.61
7.4.100.0230.00716.63
7.4.90.0270.00416.75
7.4.80.0140.01116.69
7.4.70.0220.00516.68
7.4.60.0230.00716.56
7.4.50.0220.00716.63
7.4.40.0210.00616.74
7.4.30.0180.01216.68
7.4.20.0230.00816.65
7.4.10.0190.01316.64
7.4.00.0060.01416.75
7.3.330.0030.00316.42
7.3.320.0040.00413.18
7.3.310.0040.00416.31
7.3.300.0070.00016.35
7.3.290.0070.00916.36
7.3.260.0150.00316.40
7.3.230.0220.00416.59
7.3.220.0220.00816.79
7.3.210.0280.00416.11
7.3.200.0230.00816.41
7.3.190.0200.01316.57
7.3.180.0200.00816.52
7.3.170.0160.01216.44
7.3.160.0170.01316.39
7.3.150.0220.00716.27
7.3.140.0220.00616.64
7.3.130.0200.01216.23
7.3.120.0170.01016.43
7.3.110.0220.00616.39
7.3.100.0230.00416.38
7.3.90.0220.00216.59
7.3.80.0220.01116.39
7.3.70.0150.01216.37
7.3.60.0170.01416.18
7.3.50.0140.01416.05
7.3.40.0200.01016.25
7.3.30.0230.00416.28
7.3.20.0230.00816.39
7.3.10.0200.00716.41
7.3.00.0200.01016.39
7.2.340.0120.01216.73
7.2.330.0190.01616.60
7.2.320.0150.01516.77
7.2.310.0230.00716.71
7.2.300.0090.01916.62
7.2.290.0160.01316.75
7.2.280.0160.01416.78
7.2.270.0130.01616.61
7.2.260.0230.00316.62
7.2.250.0160.01016.61
7.2.240.0150.01516.81
7.2.230.0160.01016.63
7.2.220.0200.01016.59
7.2.210.0280.00016.55
7.2.200.0190.01316.74
7.2.190.0200.00616.42
7.2.180.0280.00616.52
7.2.170.0190.01016.62
7.2.160.0230.01016.59
7.2.150.0150.01116.57
7.2.140.0180.01416.73
7.2.130.0280.00716.61
7.2.120.0310.00016.59
7.2.110.0190.01116.65
7.2.100.0220.00716.62
7.2.90.0210.00716.52
7.2.80.0190.01316.62
7.2.70.0240.00716.59
7.2.60.0180.01516.63
7.2.50.0240.00416.71
7.2.40.0150.01116.61
7.2.30.0210.00916.70
7.2.20.0190.01016.51
7.2.10.0170.01116.64
7.2.00.0290.00316.65

preferences:
34.33 ms | 403 KiB | 5 Q