3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '/([a-zA-Z ]+)\W/'; $str = 'Project Bribara<project.bribara@gmail.com'; preg_match($re, $str, $matches); Echo $matches[1];

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.0100.01016.50
8.3.50.0100.00316.42
8.3.40.0040.01118.96
8.3.30.0150.00418.79
8.3.20.0080.00020.07
8.3.10.0040.00420.89
8.3.00.0050.00222.14
8.2.180.0140.00018.43
8.2.170.0120.00922.96
8.2.160.0140.00020.33
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0050.00319.74
8.2.110.0130.01019.21
8.2.100.0040.00718.09
8.2.90.0040.00417.97
8.2.80.0060.00319.11
8.2.70.0040.00417.93
8.2.60.0060.00317.93
8.2.50.0060.00318.10
8.2.40.0000.00720.60
8.2.30.0080.00019.25
8.2.20.0030.00317.96
8.2.10.0050.00317.96
8.2.00.0050.00317.90
8.1.280.0150.00025.92
8.1.270.0000.00722.14
8.1.260.0040.01226.35
8.1.250.0000.00728.09
8.1.240.0060.00322.02
8.1.230.0090.00320.88
8.1.220.0030.00617.79
8.1.210.0030.00618.84
8.1.200.0080.00317.48
8.1.190.0030.00517.35
8.1.180.0000.00818.10
8.1.170.0050.00318.59
8.1.160.0050.00318.89
8.1.150.0000.00720.32
8.1.140.0060.00319.54
8.1.130.0030.00317.58
8.1.120.0030.00317.55
8.1.110.0050.00317.58
8.1.100.0080.00017.43
8.1.90.0040.00417.45
8.1.80.0070.00017.56
8.1.70.0000.00717.45
8.1.60.0040.00417.55
8.1.50.0040.00417.66
8.1.40.0030.00517.52
8.1.30.0040.00417.64
8.1.20.0050.00317.79
8.1.10.0000.00817.58
8.1.00.0000.00817.68
8.0.300.0030.00320.04
8.0.290.0050.00316.75
8.0.280.0030.00318.47
8.0.270.0070.00017.28
8.0.260.0000.00816.95
8.0.250.0000.00816.94
8.0.240.0050.00217.00
8.0.230.0070.00017.03
8.0.220.0070.00316.95
8.0.210.0030.00516.87
8.0.200.0030.00317.03
8.0.190.0000.00816.92
8.0.180.0060.00316.93
8.0.170.0030.00317.07
8.0.160.0000.00817.00
8.0.150.0090.00016.92
8.0.140.0000.00816.95
8.0.130.0000.00613.37
8.0.120.0040.00416.83
8.0.110.0050.00316.88
8.0.100.0000.00716.97
8.0.90.0030.00316.95
8.0.80.0060.00916.95
8.0.70.0030.01417.04
8.0.60.0080.01116.95
8.0.50.0060.00916.82
8.0.30.0090.01017.24
8.0.20.0120.00717.30
8.0.10.0060.00917.05
8.0.00.0120.00517.12
7.4.330.0030.00315.55
7.4.320.0030.00316.69
7.4.300.0000.00616.77
7.4.290.0070.00016.70
7.4.280.0000.00616.63
7.4.270.0030.00716.74
7.4.260.0000.01116.77
7.4.250.0040.00416.66
7.4.240.0030.00316.73
7.4.230.0020.00516.68
7.4.220.0080.01116.69
7.4.210.0070.00716.64
7.4.200.0030.01016.77
7.4.190.0110.00416.88
7.4.180.0110.00416.78
7.4.160.0080.01016.65
7.4.150.0110.00617.06
7.4.140.0040.01417.58
7.4.130.0040.01216.70
7.4.120.0070.01216.76
7.4.110.0070.01016.67
7.4.100.0080.00816.60
7.4.90.0070.00916.64
7.4.80.0040.01218.09
7.4.70.0040.01316.78
7.4.60.0130.00316.72
7.4.50.0110.00116.65
7.4.40.0050.01216.65
7.4.30.0050.01216.70
7.4.20.0060.00816.49
7.4.10.0070.00915.92
7.4.00.0070.00915.74
7.3.330.0060.00013.18
7.3.320.0000.00513.07
7.3.310.0040.00416.28
7.3.300.0000.00716.34
7.3.290.0030.01116.34
7.3.280.0110.00716.36
7.3.270.0060.01016.87
7.3.260.0060.01216.47
7.3.250.0080.01016.46
7.3.240.0080.01016.62
7.3.230.0090.00616.36
7.3.220.0060.01316.29
7.3.210.0110.00516.35
7.3.200.0070.00816.49
7.3.190.0060.00816.49
7.3.180.0080.00616.38
7.3.170.0100.00416.51
7.3.160.0080.00816.58
7.3.150.0140.00016.33
7.3.140.0130.00016.25
7.3.130.0050.01115.58
7.3.120.0050.01115.67
7.3.110.0080.00815.63
7.3.100.0050.01015.70
7.3.90.0080.00715.71
7.3.80.0050.00715.58
7.3.70.0060.00715.76
7.3.60.0090.00515.85
7.3.50.0060.00815.73
7.3.40.0030.00915.80
7.3.30.0040.00915.65
7.3.20.0090.00516.68
7.3.10.0020.01116.66
7.3.00.0070.00816.61
7.2.340.0080.00816.48
7.2.330.0120.00816.58
7.2.320.0050.01216.55
7.2.310.0100.00816.57
7.2.300.0090.01016.72
7.2.290.0100.00816.59
7.2.280.0060.01316.55
7.2.270.0130.00616.55
7.2.260.0110.00815.83
7.2.250.0070.01015.84
7.2.240.0060.00915.79
7.2.230.0090.00815.79
7.2.220.0030.01115.85
7.2.210.0080.00715.83
7.2.200.0050.01315.98
7.2.190.0080.00815.87
7.2.180.0080.00715.82
7.2.170.0090.00515.88
7.2.160.0110.00616.00
7.2.150.0090.00916.87
7.2.140.0060.01116.78
7.2.130.0080.00816.93
7.2.120.0100.00716.95
7.2.110.0150.00916.95
7.2.100.0070.01116.89
7.2.90.0060.01216.82
7.2.80.0070.01116.83
7.2.70.0070.00716.97
7.2.60.0070.00716.99
7.2.50.0120.00516.85
7.2.40.0110.00816.94
7.2.30.0100.00917.08
7.2.20.0030.01416.88
7.2.10.0070.01016.99
7.2.00.0040.01216.87
7.1.330.0070.01315.98
7.1.320.0100.00515.88
7.1.310.0050.00915.79
7.1.300.0100.00515.69
7.1.290.0050.00715.78
7.1.280.0100.00615.77
7.1.270.0070.00815.74
7.1.260.0070.01215.79
7.1.250.0040.01215.88
7.1.240.0090.00815.75
7.1.230.0080.00915.73
7.1.220.0070.01015.90
7.1.210.0070.00915.84
7.1.200.0070.00815.83
7.1.190.0080.00715.89
7.1.180.0060.01015.78
7.1.170.0080.00815.63
7.1.160.0060.01315.68
7.1.150.0100.00815.78
7.1.140.0110.00615.81
7.1.130.0130.00515.85
7.1.120.0120.00815.79
7.1.110.0110.00915.66
7.1.100.0080.00815.79
7.1.90.0090.00517.21
7.1.80.0070.00717.05
7.1.70.0060.00816.57
7.1.60.0120.01225.57
7.1.50.0150.00825.42
7.1.40.0100.01025.21
7.1.30.0130.00925.26
7.1.20.0130.00625.38
7.1.10.0130.00316.21
7.1.00.0060.00716.25
7.0.330.0050.01115.46
7.0.320.0090.00515.26
7.0.310.0070.00915.33
7.0.300.0080.00815.37
7.0.290.0110.00515.40
7.0.280.0070.00915.42
7.0.270.0100.00715.41
7.0.260.0070.00715.49
7.0.250.0080.00815.50
7.0.240.0030.01215.42
7.0.230.0040.01016.59
7.0.220.0060.00816.64
7.0.210.0030.01115.42
7.0.200.0070.00716.13
7.0.190.0050.00916.03
7.0.180.0070.00715.94
7.0.170.0080.00615.82
7.0.160.0080.00815.76
7.0.150.0080.00615.74
7.0.140.0070.00715.92
7.0.130.0110.00816.07
7.0.120.0090.00716.18
7.0.110.0090.00715.97
7.0.100.0040.00915.93
7.0.90.0050.01015.97
7.0.80.0040.01015.86
7.0.70.0050.01016.00
7.0.60.0040.00915.78
7.0.50.0070.00715.77
7.0.40.0070.00715.46
7.0.30.0050.00915.41
7.0.20.0040.00915.44
7.0.10.0050.00715.46
7.0.00.0060.00715.48
5.6.400.0110.00515.20
5.6.390.0060.01015.21
5.6.380.0070.00715.20
5.6.370.0070.00915.14
5.6.360.0090.00915.16
5.6.350.0090.00615.27
5.6.340.0070.00915.05
5.6.330.0080.00815.05
5.6.320.0060.01015.03
5.6.310.0060.01015.07
5.6.300.0050.00915.13
5.6.290.0090.00515.02
5.6.280.0120.00514.97
5.6.270.0080.01115.20
5.6.260.0060.00715.08
5.6.250.0070.00915.05
5.6.240.0050.01215.19
5.6.230.0130.00515.14
5.6.220.0060.01215.21
5.6.210.0080.00815.08
5.6.200.0080.00915.20
5.6.190.0060.00715.37
5.6.180.0090.00715.23
5.6.170.0060.01415.29
5.6.160.0070.01015.34
5.6.150.0090.00615.18
5.6.140.0050.01415.13
5.6.130.0070.01215.32
5.6.120.0090.00915.09
5.6.110.0080.00715.14
5.6.100.0070.00915.12
5.6.90.0090.00815.25
5.6.80.0060.00815.10
5.6.70.0090.00715.08
5.6.60.0050.01015.29
5.6.50.0070.00715.09
5.6.40.0050.01114.89
5.6.30.0120.00515.03
5.6.20.0030.01014.98
5.6.10.0120.00315.07
5.6.00.0070.00715.11

preferences:
36.02 ms | 400 KiB | 5 Q