3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = <<<'AHA' ewfda fdffdsfddsa fdsaf ewewem thurn@live.com rewqreqw fda fdefhgfjh fdsa fdsaf fangorn@hotmail.com rewqr re q rewqrrwq fda fdfdf dsa fdsaf euice@outlook.com ewrewqre fd a f fhjhfdffdsaf fdsa fdsaf rgarcia@optonline.net rewqrewq fda fdfdsa fdsaf mxiao@yahoo.com rewreqw rewqer fda fd hffdsa fdsaf firstpr@att.net r ewqrewq AHA; $pattern='/\S+@\S+\.\S{1,6}/'; preg_match_all($pattern, $text, $matchArray); print_r($matchArray[0]);

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.0080.00818.20
8.3.50.0060.00919.97
8.3.40.0110.00818.83
8.3.30.0070.01419.00
8.3.20.0080.00020.29
8.3.10.0080.00018.88
8.3.00.0000.00823.58
8.2.180.0100.00325.92
8.2.170.0060.00919.05
8.2.160.0100.00322.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0050.00226.16
8.2.120.0050.00320.80
8.2.110.0050.00520.60
8.2.100.0080.00318.03
8.2.90.0030.00517.75
8.2.80.0040.00418.86
8.2.70.0040.00417.77
8.2.60.0070.00418.03
8.2.50.0040.00418.10
8.2.40.0030.00519.48
8.2.30.0040.00419.33
8.2.20.0040.00418.00
8.2.10.0040.00417.94
8.2.00.0040.00418.00
8.1.280.0100.01325.92
8.1.270.0040.00424.66
8.1.260.0060.00326.35
8.1.250.0060.00328.09
8.1.240.0040.00422.00
8.1.230.0040.00820.87
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0090.00017.47
8.1.190.0040.00417.00
8.1.180.0080.00018.10
8.1.170.0030.00618.68
8.1.160.0070.00018.76
8.1.150.0050.00218.85
8.1.140.0030.00519.09
8.1.130.0070.00018.75
8.1.120.0040.00417.56
8.1.110.0080.00017.45
8.1.100.0040.00417.38
8.1.90.0020.00517.43
8.1.80.0050.00317.51
8.1.70.0030.00517.61
8.1.60.0060.00317.70
8.1.50.0030.00617.48
8.1.40.0050.00317.54
8.1.30.0050.00317.74
8.1.20.0080.00017.79
8.1.10.0040.00417.73
8.1.00.0030.00517.65
8.0.300.0070.00018.77
8.0.290.0000.00716.88
8.0.280.0030.00318.45
8.0.270.0080.00317.21
8.0.260.0000.00616.99
8.0.250.0050.00317.00
8.0.240.0040.00417.10
8.0.230.0080.00017.18
8.0.220.0000.00717.07
8.0.210.0020.00517.04
8.0.200.0060.00017.08
8.0.190.0000.00817.13
8.0.180.0000.00817.04
8.0.170.0040.00417.07
8.0.160.0000.00717.05
8.0.150.0030.00516.99
8.0.140.0000.00716.96
8.0.130.0030.00313.52
8.0.120.0040.00416.99
8.0.110.0000.00717.00
8.0.100.0040.00416.93
8.0.90.0040.00416.89
8.0.80.0060.00917.09
8.0.70.0040.00417.07
8.0.60.0020.00517.00
8.0.50.0040.00416.91
8.0.30.0040.01517.37
8.0.20.0080.01117.40
8.0.10.0040.00417.11
8.0.00.0070.01516.85
7.4.330.0060.00015.55
7.4.320.0000.00716.74
7.4.300.0000.00616.74
7.4.290.0000.00716.68
7.4.280.0080.00016.78
7.4.270.0070.00016.67
7.4.260.0030.00316.60
7.4.250.0000.00816.72
7.4.240.0000.00716.68
7.4.230.0030.00316.59
7.4.220.0110.00716.68
7.4.210.0070.01016.60
7.4.200.0000.00716.77
7.4.160.0120.00716.60
7.4.150.0070.01117.40
7.4.140.0080.00917.86
7.4.130.0150.00316.54
7.4.120.0110.01016.68
7.4.110.0130.00716.73
7.4.100.0170.00616.81
7.4.90.0150.00316.79
7.4.80.0130.01019.39
7.4.70.0110.01216.71
7.4.60.0110.00616.63
7.4.50.0100.00716.71
7.4.40.0090.00616.73
7.4.30.0070.01316.83
7.4.00.0050.01014.88
7.3.330.0060.00013.14
7.3.320.0000.00713.31
7.3.310.0030.00316.47
7.3.300.0030.00316.41
7.3.290.0090.00616.44
7.3.280.0050.01316.43
7.3.270.0120.01317.40
7.3.260.0120.00616.37
7.3.250.0120.00616.57
7.3.240.0110.00616.57
7.3.230.0030.01516.48
7.3.210.0120.00616.72
7.3.200.0130.00716.64
7.3.190.0110.00416.45
7.3.180.0150.00016.46
7.3.170.0100.01016.42
7.3.160.0060.00916.39
7.3.120.0120.00614.93
7.3.110.0070.01114.66
7.3.100.0070.00714.83
7.3.90.0120.00615.09
7.3.80.0070.01014.80
7.3.70.0040.01215.01
7.3.60.0110.00415.06
7.3.50.0090.00915.02
7.3.40.0100.00714.86
7.3.30.0030.01014.97
7.3.20.0000.01316.57
7.3.10.0030.01017.02
7.3.00.0090.00416.75
7.2.330.0110.00616.59
7.2.320.0140.00816.64
7.2.310.0150.00316.70
7.2.300.0130.01016.54
7.2.290.0070.01016.75
7.2.250.0070.01114.97
7.2.240.0000.02014.68
7.2.230.0030.01314.98
7.2.220.0120.00615.16
7.2.210.0030.00915.28
7.2.200.0070.00715.19
7.2.190.0030.01315.07
7.2.180.0090.00914.84
7.2.170.0000.01614.88
7.2.130.0060.00916.95
7.2.120.0180.00016.68
7.2.110.0070.00716.89
7.2.100.0070.01116.86
7.2.90.0070.00716.75
7.2.80.0030.00917.04
7.2.70.0040.00816.98
7.2.60.0030.01016.90
7.2.50.0060.00316.71
7.2.40.0030.00716.66
7.2.30.0060.00916.80
7.2.20.0130.00316.98
7.2.10.0100.00317.05
7.2.00.0050.01217.47
7.1.330.0030.01015.70
7.1.320.0040.00415.75
7.1.310.0030.00616.03
7.1.300.0030.01516.09
7.1.290.0100.00716.06
7.1.280.0070.01015.98
7.1.270.0040.01115.98
7.1.260.0150.00015.87
7.1.250.0140.00715.97
7.1.240.0070.00716.05
7.1.230.0120.00315.99
7.1.220.0060.00315.71
7.1.210.0110.00416.00
7.1.200.0050.01015.97
7.1.190.0050.00315.98
7.1.180.0030.00715.66
7.1.170.0080.00415.81
7.1.160.0040.00915.98
7.1.150.0030.00916.12
7.1.140.0100.01015.92
7.1.130.0090.00315.86
7.1.120.0120.00516.45
7.1.110.0110.00616.26
7.1.100.0080.00615.96
7.1.90.0110.00716.35
7.1.80.0090.00616.14
7.1.70.0090.01015.85
7.1.60.0140.00624.78
7.1.50.0190.00424.59
7.1.40.0090.01124.31
7.1.30.0130.00824.43
7.1.20.0140.00724.43
7.1.10.0060.00715.44
7.1.00.0070.00715.47
7.0.330.0090.00615.45
5.6.380.0090.00614.31

preferences:
69.57 ms | 400 KiB | 5 Q