3v4l.org

run code in 300+ PHP versions simultaneously
<?php (!preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/", "maragathamani.b@gmail.com", $matches)); echo $matches[2]; // 1234

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.0140.00418.78
8.3.50.0120.00822.11
8.3.40.0110.00419.09
8.3.30.0060.00920.18
8.3.20.0080.00020.24
8.3.10.0080.00022.04
8.3.00.0080.00022.39
8.2.180.0150.00618.66
8.2.170.0040.01222.96
8.2.160.0000.01422.21
8.2.150.0080.00024.18
8.2.140.0090.00024.66
8.2.130.0090.00026.16
8.2.120.0040.00421.11
8.2.110.0050.00522.15
8.2.100.0090.00318.00
8.2.90.0030.00517.97
8.2.80.0110.00017.97
8.2.70.0080.00017.75
8.2.60.0030.00617.80
8.2.50.0040.00418.07
8.2.40.0050.00318.16
8.2.30.0000.00818.09
8.2.20.0020.00517.87
8.2.10.0080.00017.90
8.2.00.0040.00817.95
8.1.280.0090.00925.92
8.1.270.0000.00924.66
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0070.00422.48
8.1.230.0080.00320.89
8.1.220.0040.00417.76
8.1.210.0040.00418.97
8.1.200.0040.00417.35
8.1.190.0060.00317.29
8.1.180.0040.00419.01
8.1.170.0000.00818.57
8.1.160.0040.00422.08
8.1.150.0100.00018.74
8.1.140.0060.00317.58
8.1.130.0000.00717.76
8.1.120.0000.00817.59
8.1.110.0040.00417.53
8.1.100.0030.00517.61
8.1.90.0000.00717.60
8.1.80.0050.00217.52
8.1.70.0030.00317.51
8.1.60.0030.00517.71
8.1.50.0000.00817.53
8.1.40.0040.00417.61
8.1.30.0000.00917.74
8.1.20.0080.00017.72
8.1.10.0040.00417.66
8.1.00.0050.00317.68
8.0.300.0030.00619.90
8.0.290.0000.00717.18
8.0.280.0030.00318.45
8.0.270.0040.00417.12
8.0.260.0030.00616.95
8.0.250.0030.00317.11
8.0.240.0050.00317.14
8.0.230.0070.00017.15
8.0.220.0040.00417.03
8.0.210.0030.00317.03
8.0.200.0030.00317.01
8.0.190.0030.00517.09
8.0.180.0050.00216.99
8.0.170.0000.00916.91
8.0.160.0040.00416.98
8.0.150.0050.00216.88
8.0.140.0000.00717.04
8.0.130.0000.00613.49
8.0.120.0040.00416.89
8.0.110.0040.00417.07
8.0.100.0040.00417.09
8.0.90.0040.00417.09
8.0.80.0060.01017.02
8.0.70.0000.00716.84
8.0.60.0040.00416.99
8.0.50.0030.00517.09
8.0.30.0080.01317.18
8.0.20.0090.00917.40
8.0.10.0070.00017.27
8.0.00.0110.00716.70
7.4.330.0000.00515.00
7.4.320.0000.00616.74
7.4.300.0030.00316.66
7.4.290.0000.00716.75
7.4.280.0000.00716.64
7.4.270.0070.00016.68
7.4.260.0000.00716.71
7.4.250.0070.00016.66
7.4.240.0050.00316.56
7.4.230.0070.00016.64
7.4.220.0060.01216.55
7.4.210.0070.00716.68
7.4.200.0070.00016.57
7.4.190.0040.00416.66
7.4.160.0130.00316.52
7.4.150.0030.02017.40
7.4.140.0100.01117.86
7.4.130.0110.00816.64
7.4.120.0110.00616.76
7.4.110.0170.00016.64
7.4.100.0030.01716.63
7.4.90.0090.00916.46
7.4.80.0120.00619.39
7.4.70.0090.00916.49
7.4.60.0120.00916.56
7.4.50.0090.00016.63
7.4.40.0070.00722.77
7.4.30.0070.01016.71
7.4.00.0030.00915.08
7.3.330.0000.00513.30
7.3.320.0000.00613.35
7.3.310.0030.00516.51
7.3.300.0070.00016.47
7.3.290.0080.00816.38
7.3.280.0070.01016.45
7.3.270.0130.00317.40
7.3.260.0130.01016.82
7.3.250.0100.00716.62
7.3.240.0100.01316.73
7.3.230.0150.00316.81
7.3.210.0070.01016.63
7.3.200.0090.01319.39
7.3.190.0140.00916.61
7.3.180.0040.01116.39
7.3.170.0070.01016.51
7.3.160.0040.01216.52
7.3.120.0070.00714.97
7.3.110.0070.00414.89
7.3.100.0100.00314.93
7.3.90.0060.01015.15
7.3.80.0030.01014.89
7.3.70.0100.00715.06
7.3.60.0030.01215.13
7.3.50.0150.00015.07
7.3.40.0060.00615.09
7.3.30.0030.01015.04
7.3.20.0100.00316.55
7.3.10.0030.00716.88
7.3.00.0080.00316.80
7.2.330.0120.00616.70
7.2.320.0060.01616.69
7.2.310.0070.01016.66
7.2.300.0090.01716.51
7.2.290.0070.01016.75
7.2.240.0100.00615.32
7.2.230.0060.00615.21
7.2.220.0080.00615.29
7.2.210.0030.01015.20
7.2.200.0100.00715.38
7.2.190.0040.00814.91
7.2.180.0090.00615.15
7.2.170.0060.00614.94
7.2.160.0060.00615.16
7.2.150.0030.01117.02
7.2.140.0030.01116.72
7.2.130.0000.01516.72
7.2.120.0060.00616.61
7.2.110.0030.00917.11
7.2.100.0090.00017.15
7.2.90.0060.00917.28
7.2.80.0030.01017.00
7.2.70.0090.00616.86
7.2.60.0030.01017.15
7.2.50.0070.00716.94
7.2.40.0000.01416.95
7.2.30.0100.00617.20
7.2.20.0030.00916.97
7.2.10.0090.00617.04
7.2.00.0080.00618.47
7.1.330.0070.01015.80
7.1.320.0030.00615.78
7.1.310.0060.00315.82
7.1.300.0090.00615.85
7.1.290.0040.00415.96
7.1.280.0060.00315.90
7.1.270.0000.01615.87
7.1.260.0030.00716.04
7.1.250.0030.00715.82
7.1.70.0070.00017.24
7.1.60.0280.00015.58
7.1.50.0140.01116.77
7.1.00.0070.05322.42
7.0.200.0050.00516.43
7.0.140.0030.07021.96
7.0.60.0070.08719.96
7.0.50.0070.03717.89
7.0.40.0130.07020.29
7.0.30.0230.05020.31
7.0.20.0330.07320.32
7.0.10.0270.08020.19
7.0.00.0100.03720.10
5.6.280.0000.07320.84
5.6.210.0100.05320.68
5.6.200.0170.07718.21
5.6.190.0130.06320.31
5.6.180.0400.06720.60
5.6.170.0170.05320.50
5.6.160.0030.07320.60
5.6.150.0070.05718.17
5.6.140.0070.08318.21
5.6.130.0100.05318.21
5.6.120.0070.07721.00
5.6.110.0230.06721.00
5.6.100.0100.03721.00
5.6.90.0030.04320.86
5.6.80.0070.03720.28
5.6.70.0300.07020.51
5.5.350.0070.07720.40
5.5.340.0030.07718.02
5.5.330.0130.07720.36
5.5.320.0200.05720.30
5.5.310.0230.05320.29
5.5.300.0030.04317.97
5.5.290.0000.06718.02
5.5.280.0100.06020.95
5.5.270.0100.07720.75
5.5.260.0100.04720.83
5.5.250.0070.04720.54
5.5.240.0030.05720.25
5.4.450.0230.05019.63
5.4.440.1070.06319.63
5.4.430.0970.05719.60
5.4.420.0970.05019.10
5.4.410.0800.05018.97
5.4.400.0900.07018.68
5.4.390.0970.07318.72
5.4.380.0270.05718.52
5.4.370.0070.06018.69
5.4.360.0230.04318.68
5.4.350.0060.04511.97
5.4.340.0130.04111.96
5.4.320.0040.04212.45
5.4.310.0060.03912.45
5.4.300.0120.03712.45
5.4.290.0090.04712.45
5.4.280.0080.03912.35
5.4.270.0040.04112.34
5.4.260.0090.05012.35
5.4.250.0070.04412.34
5.4.240.0030.05318.69
5.4.230.0170.06018.68
5.4.220.0030.05318.90
5.4.210.0000.05318.77
5.4.200.0100.05018.77
5.4.190.0070.05318.82
5.4.180.0130.04318.65
5.4.170.0130.05318.77
5.4.160.0130.05318.93
5.4.150.0070.05318.93
5.4.140.0070.04716.27
5.4.130.0100.05316.44
5.4.120.0100.04716.33
5.4.110.0100.05016.34
5.4.100.0170.06016.19
5.4.90.0100.04716.34
5.4.80.0070.04716.16
5.4.70.0000.05316.35
5.4.60.0100.04316.38
5.4.50.0130.04016.19
5.4.40.0070.04716.39
5.4.30.0130.04016.30
5.4.20.0070.04716.15
5.4.10.0170.04016.21
5.4.00.0130.04715.93
5.3.290.0060.04012.80
5.3.280.0000.05314.29
5.3.270.0100.05014.46
5.3.260.0070.05714.30
5.3.250.0070.06714.70
5.3.240.0070.06014.64
5.3.230.0070.04714.70
5.3.220.0070.04714.58
5.3.210.0000.05714.43
5.3.200.0070.04714.26
5.3.190.0130.04314.25
5.3.180.0100.04714.45
5.3.170.0030.05314.33
5.3.160.0100.04314.65
5.3.150.0100.05314.57
5.3.140.0100.04314.64
5.3.130.0000.05714.31
5.3.120.0100.05014.59
5.3.110.0070.07714.55
5.3.100.0030.05014.18
5.3.90.0070.04714.03
5.3.80.0070.05013.88
5.3.70.0030.05013.89
5.3.60.0070.06013.87
5.3.50.0070.06314.11
5.3.40.0000.05314.09
5.3.30.0130.05013.92
5.3.20.0070.05713.39
5.3.10.0030.04713.80
5.3.00.0130.04013.49
5.2.170.0030.04311.23
5.2.160.0030.04011.16
5.2.150.0070.03711.16
5.2.140.0070.03711.02
5.2.130.0000.04311.02
5.2.120.0030.05011.01
5.2.110.0070.04011.25
5.2.100.0000.04311.02
5.2.90.0030.03711.19
5.2.80.0030.04011.08
5.2.70.0000.04711.00
5.2.60.0030.04011.07
5.2.50.0070.05310.95
5.2.40.0000.04010.84
5.2.30.0070.03710.98
5.2.20.0030.04010.96
5.2.10.0070.04710.86
5.2.00.0000.04010.71
5.1.60.0070.03710.22
5.1.50.0070.0309.91
5.1.40.0030.0339.88
5.1.30.0070.03310.32
5.1.20.0070.03310.42
5.1.10.0070.03010.25
5.1.00.0000.04010.16
5.0.50.0030.0278.60
5.0.40.0030.0278.25
5.0.30.0000.0438.10
5.0.20.0130.0308.25
5.0.10.0030.0308.12
5.0.00.0030.0408.30
4.4.90.0030.0206.82
4.4.80.0030.0176.82
4.4.70.0000.0276.82
4.4.60.0000.0206.82
4.4.50.0030.0206.82
4.4.40.0030.0376.82
4.4.30.0030.0276.82
4.4.20.0000.0236.82
4.4.10.0030.0206.82
4.4.00.0000.0406.82
4.3.110.0000.0306.82
4.3.100.0000.0236.82
4.3.90.0030.0206.82
4.3.80.0000.0436.82
4.3.70.0030.0206.82
4.3.60.0000.0236.82
4.3.50.0000.0236.82
4.3.40.0000.0406.82
4.3.30.0070.0206.45
4.3.20.0030.0206.45
4.3.10.0000.0236.45
4.3.00.0000.0236.71

preferences:
44.41 ms | 401 KiB | 5 Q