3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lines ="From: {Name|1} {Email|11} Phone / Skype: {Phone / Skype|8} removeIfEmpty Message Body: {Tell us more|9} Sender's IP: {ip} {refUTM} -- This e-mail was sent from a contact form on Software Development Company - Redwerk (http://redwerk.com)"; $pattern = "/^.*\bremoveIfEmpty\b.*$/m"; $matches = array(); preg_match($pattern, $lines, $matches); for(var $match : $matches) { var_dump($match); }

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)
5.6.100.0130.07721.00
5.6.90.0170.07320.97
5.6.80.0130.06720.38
5.5.260.0130.06320.77
5.5.250.0130.05020.71
5.5.240.0030.05720.27
5.4.430.3400.04319.56
5.4.420.3430.04019.63
5.4.410.3130.03719.19
5.4.400.3400.04019.17
5.4.390.3570.04019.09
5.4.380.2430.04018.95
5.4.370.3300.03718.88
5.4.360.3300.04019.09
5.4.350.3770.04319.24
5.4.340.3500.03319.25
5.4.320.3230.04019.15
5.4.310.3730.04319.00
5.4.300.3200.04319.16
5.4.290.3200.04018.99
5.4.280.3230.03719.31
5.4.270.3800.04019.13
5.4.260.3430.04319.05
5.4.250.3370.04319.21
5.4.240.3670.04319.21
5.4.230.3330.04018.97
5.4.220.2970.03718.80
5.4.210.3430.04019.16
5.4.200.3500.03318.91
5.4.190.3370.04319.07
5.4.180.3400.03318.99
5.4.170.3300.04019.07
5.4.160.3070.04019.04
5.4.150.3300.04019.20
5.4.140.3070.03716.38
5.4.130.3400.03316.50
5.4.120.3100.03716.51
5.4.110.3170.03016.38
5.4.100.3130.03016.57
5.4.90.3470.03016.51
5.4.80.3630.03316.54
5.4.70.3800.03016.23
5.4.60.3300.03716.35
5.4.50.3800.03316.53
5.4.40.3970.03716.57
5.4.30.3870.03716.48
5.4.20.4130.03016.16
5.4.10.3570.03316.34
5.4.00.3870.03315.99
5.3.290.3470.04014.65
5.3.280.3270.04014.54
5.3.270.3270.04014.70
5.3.260.3530.04014.65
5.3.250.3770.04314.46
5.3.240.3330.03314.55
5.3.230.3670.05014.45
5.3.220.3800.03714.66
5.3.210.3430.04314.56
5.3.200.3230.04014.41
5.3.190.3200.04014.40
5.3.180.3830.03714.51
5.3.170.3770.04714.47
5.3.160.3230.04014.50
5.3.150.3600.04014.39
5.3.140.3400.03714.57
5.3.130.3430.03714.50
5.3.120.3370.03714.54
5.3.110.3370.04014.39
5.3.100.3400.03313.92
5.3.90.3370.04014.00
5.3.80.4000.03013.86
5.3.70.3570.04014.04
5.3.60.3430.04013.95
5.3.50.3500.03313.88
5.3.40.2700.04013.80
5.3.30.3100.03713.75
5.3.20.3300.03313.64
5.3.10.3470.04713.57
5.3.00.3400.02713.60
5.2.170.2530.03710.98
5.2.160.2130.02310.98
5.2.150.2630.03011.00
5.2.140.2900.03011.05
5.2.130.2970.03011.11
5.2.120.2970.02710.96
5.2.110.3030.03010.93
5.2.100.2870.03011.05
5.2.90.2600.03011.03
5.2.80.2830.03710.93
5.2.70.2770.03310.95
5.2.60.2630.02711.07
5.2.50.2630.02710.96
5.2.40.2370.03311.04
5.2.30.2300.02711.02
5.2.20.2530.03310.89
5.2.10.2530.02710.83
5.2.00.2230.02310.80
5.1.60.2330.02010.04
5.1.50.2170.0279.88
5.1.40.2370.02310.10
5.1.30.2170.02710.50
5.1.20.2530.03010.25
5.1.10.2230.0279.96
5.1.00.2130.02310.20
5.0.50.1030.0208.44
5.0.40.1170.0178.46
5.0.30.1070.0308.20
5.0.20.1070.0208.11
5.0.10.1070.0208.05
5.0.00.1070.0308.05
4.4.90.1100.0136.69
4.4.80.1070.0176.69
4.4.70.1100.0136.69
4.4.60.1270.0176.69
4.4.50.1100.0136.69
4.4.40.1130.0206.69
4.4.30.1100.0136.69
4.4.20.0930.0136.69
4.4.10.1100.0176.69
4.4.00.1170.0236.69
4.3.110.1370.0176.69
4.3.100.1100.0206.69
4.3.90.1370.0176.69
4.3.80.0500.0236.69
4.3.70.0100.0276.69
4.3.60.0000.0236.69
4.3.50.0030.0236.69
4.3.40.0070.0476.69
4.3.30.0000.0376.69
4.3.20.0000.0206.69
4.3.10.0000.0336.69
4.3.00.0030.0176.69

preferences:
130.62 ms | 1398 KiB | 7 Q