3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt = "Testando se essa pescaria é valida @ju1lio.leao, se não for aciona @alycianne. Importante deixar @mirian ciente. E a @simone.akemi de sobreaviso."; $pattern = "/@(?:[a-z0-9-]+\.)*[a-z0-9]+/"; preg_match_all($pattern, $txt, $matches); print_r($matches[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.4.120.0140.00722.57
8.4.110.0150.00422.61
8.4.100.0140.00718.05
8.4.90.0140.00720.84
8.4.80.0090.00517.82
8.4.70.0060.00217.86
8.4.60.0110.00918.63
8.4.50.0050.00418.63
8.4.40.0040.00417.79
8.4.30.0040.01520.17
8.4.20.0100.00022.42
8.4.10.0030.00622.41
8.3.250.0050.00318.61
8.3.240.0120.00720.56
8.3.230.0090.01016.79
8.3.220.0140.00518.90
8.3.210.0100.01018.46
8.3.200.0040.00516.84
8.3.190.0100.00916.44
8.3.180.0110.00816.85
8.3.170.0120.00617.28
8.3.160.0070.01118.30
8.3.150.0070.01117.21
8.3.140.0030.00516.86
8.3.130.0080.00018.15
8.3.120.0060.00918.94
8.3.110.0040.00420.94
8.3.100.0090.00024.06
8.3.90.0070.00026.77
8.3.80.0030.00616.63
8.3.70.0090.01318.41
8.3.60.0070.01118.29
8.3.50.0080.00924.43
8.3.40.0120.00318.87
8.3.30.0060.00918.84
8.3.20.0040.00424.18
8.3.10.0000.00824.66
8.3.00.0040.00426.16
8.2.290.0080.01020.52
8.2.280.0030.00518.73
8.2.270.0140.00418.91
8.2.260.0080.00018.62
8.2.250.0130.00618.59
8.2.240.0060.00318.88
8.2.230.0100.00022.58
8.2.220.0100.01437.54
8.2.210.0040.00426.77
8.2.200.0090.00017.00
8.2.190.0150.00617.00
8.2.180.0100.01025.92
8.2.170.0090.01218.91
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0060.00324.66
8.2.130.0080.00026.16
8.2.120.0070.00026.16
8.2.110.0030.00620.39
8.2.100.0040.00818.03
8.2.90.0050.00317.75
8.2.80.0030.00618.90
8.2.70.0030.00517.63
8.2.60.0050.00317.75
8.2.50.0000.00817.75
8.2.40.0000.00818.16
8.2.30.0000.00718.13
8.2.20.0000.00718.03
8.2.10.0060.00319.23
8.2.00.0000.00719.13
8.1.330.0070.00421.73
8.1.320.0100.00916.30
8.1.310.0110.00718.31
8.1.300.0130.00719.88
8.1.290.0100.00018.88
8.1.280.0150.00025.92
8.1.270.0080.00023.99
8.1.260.0080.00026.35
8.1.250.0100.00728.09
8.1.240.0100.00322.08
8.1.230.0040.00723.85
8.1.220.0040.00418.70
8.1.210.0080.00018.77
8.1.200.0030.00617.35
8.1.190.0060.00317.35
8.1.180.0000.00818.10
8.1.170.0000.00817.62
8.1.160.0040.00418.87
8.1.150.0040.00418.95
8.1.140.0000.00818.88
8.1.130.0030.00320.13
8.1.120.0040.00417.56
8.1.110.0070.00017.42
8.1.100.0080.00017.57
8.1.90.0030.00717.48
8.1.80.0040.00417.58
8.1.70.0030.00517.49
8.1.60.0060.00317.69
8.1.50.0070.00017.60
8.1.40.0000.00817.51
8.1.30.0040.00417.73
8.1.20.0000.00817.75
8.1.10.0080.00017.73
8.1.00.0030.00617.68
8.0.300.0050.00318.77
8.0.290.0040.00416.88
8.0.280.0000.00720.07
8.0.270.0000.00718.07
8.0.260.0030.00318.40
8.0.250.0030.00317.00
8.0.240.0030.00517.06
8.0.230.0070.00017.06
8.0.220.0000.00716.94
8.0.210.0000.00716.96
8.0.200.0030.00317.02
8.0.190.0040.00417.03
8.0.180.0030.00516.99
8.0.170.0060.00317.00
8.0.160.0000.00716.88
8.0.150.0000.00716.94
8.0.140.0030.00616.94
8.0.130.0030.00313.41
8.0.120.0040.00416.91
8.0.110.0050.00317.02
8.0.100.0040.00416.96
8.0.90.0000.00716.94
8.0.80.0100.01016.95
8.0.70.0040.00416.85
8.0.60.0070.00016.90
8.0.50.0040.00416.93
8.0.30.0100.00717.41
8.0.20.0060.01317.18
8.0.10.0000.00717.15
8.0.00.0140.01116.50
7.4.330.0050.00015.55
7.4.320.0030.00316.63
7.4.300.0030.00716.55
7.4.290.0050.00316.77
7.4.280.0000.00716.55
7.4.270.0000.00716.63
7.4.260.0060.00013.40
7.4.250.0000.00716.55
7.4.240.0000.00716.64
7.4.230.0000.00716.54
7.4.220.0020.00516.50
7.4.210.0050.00916.69
7.4.200.0030.00316.54
7.4.130.0050.01516.71
7.4.120.0070.01316.50
7.4.110.0110.01116.63
7.4.100.0120.00916.61
7.4.90.0110.00616.61
7.4.80.0120.00916.49
7.4.70.0060.01316.64
7.4.60.0100.00716.30
7.4.50.0080.01116.52
7.4.40.0090.01116.48
7.4.30.0100.00716.40
7.4.20.0100.00916.47
7.4.10.0070.01016.54
7.4.00.0150.01016.52
7.3.330.0040.00416.54
7.3.320.0030.00313.21
7.3.310.0000.00716.52
7.3.300.0040.00416.36
7.3.290.0070.00816.32
7.3.260.0130.00916.63
7.3.230.0090.01216.37
7.3.210.0070.01116.73
7.3.200.0080.01016.48
7.3.190.0070.01316.38
7.3.180.0150.00516.33
7.3.170.0080.01016.42
7.3.160.0120.00716.43
7.3.150.0090.00816.33
7.3.140.0120.00616.62
7.3.130.0090.01316.40
7.3.120.0120.00616.61
7.3.110.0100.01216.41
7.3.100.0080.01016.31
7.3.90.0140.00716.48
7.3.80.0100.01416.38
7.3.70.0070.01316.50
7.3.60.0080.01116.35
7.3.50.0100.01216.26
7.3.40.0050.01516.46
7.3.30.0060.00916.49
7.3.20.0150.00916.30
7.3.10.0100.01116.36
7.3.00.0090.01216.46
7.2.330.0120.00716.43
7.2.320.0120.00716.66
7.2.310.0110.00916.58
7.2.300.0120.00516.57
7.2.290.0090.01116.49
7.2.280.0090.01016.64
7.2.270.0070.01016.54
7.2.260.0090.00916.69
7.2.250.0130.00916.57
7.2.240.0090.00816.54
7.2.230.0090.01116.43
7.2.220.0120.00916.66
7.2.210.0090.00916.51
7.2.200.0100.01016.58
7.2.190.0100.01016.54
7.2.180.0100.01216.65
7.2.170.0070.01016.57
7.2.160.0110.00816.45
7.2.150.0100.01116.64
7.2.140.0110.01116.63
7.2.130.0100.00716.59
7.2.120.0130.00516.56
7.2.110.0060.01216.56
7.2.100.0090.00816.61
7.2.90.0080.01116.46
7.2.80.0100.00816.55
7.2.70.0120.00616.64
7.2.60.0070.01316.45
7.2.50.0080.01216.65
7.2.40.0070.01416.66
7.2.30.0090.00916.51
7.2.20.0100.01016.65
7.2.10.0090.00916.64
7.2.00.0130.01016.65

preferences:
119.64 ms | 403 KiB | 5 Q