3v4l.org

run code in 300+ PHP versions simultaneously
<?php $regex = '/(^|[\n\s\>\\";]+)([^ \,"\t\n\r<>;]+\.[^ \,\"\t\n\r<]+)/iu'; $text = 'This is a normal text. http://vg.no, VG'; preg_match_all($regex, $text, $matches); print_r($matches); $text = 'This is normal text. http://vg.no, VG'; preg_match_all($regex, $text, $matches); print_r($matches);

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.0160.00016.86
8.3.50.0070.01720.07
8.3.40.0110.00419.09
8.3.30.0130.00318.71
8.3.20.0080.00024.18
8.3.10.0040.00424.66
8.3.00.0050.00326.16
8.2.180.0140.00425.92
8.2.170.0150.00319.16
8.2.160.0070.00722.96
8.2.150.0070.00025.66
8.2.140.0050.00324.66
8.2.130.0050.00226.16
8.2.120.0060.00326.16
8.2.110.0030.00620.99
8.2.100.0130.00317.90
8.2.90.0050.00317.88
8.2.80.0000.00918.90
8.2.70.0030.00617.75
8.2.60.0060.00317.75
8.2.50.0040.00417.80
8.2.40.0050.00320.01
8.2.30.0000.00717.90
8.2.20.0030.00519.37
8.2.10.0000.00717.86
8.2.00.0000.00719.30
8.1.280.0120.00325.92
8.1.270.0070.00023.99
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0050.00521.10
8.1.230.0090.00320.89
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0080.00017.35
8.1.190.0030.00517.23
8.1.180.0030.00718.10
8.1.170.0040.00417.62
8.1.160.0000.00718.93
8.1.150.0000.00718.73
8.1.140.0030.00517.62
8.1.130.0000.00718.98
8.1.120.0070.00017.46
8.1.110.0000.00717.45
8.1.100.0060.00317.52
8.1.90.0070.00217.48
8.1.80.0070.00317.54
8.1.70.0040.00417.50
8.1.60.0030.00517.66
8.1.50.0040.00417.64
8.1.40.0040.00417.52
8.1.30.0080.00317.69
8.1.20.0040.00417.68
8.1.10.0000.00817.58
8.1.00.0070.00017.59
8.0.300.0020.00518.77
8.0.290.0090.00317.00
8.0.280.0000.00718.30
8.0.270.0080.00016.92
8.0.260.0060.00018.49
8.0.250.0030.00317.05
8.0.240.0000.00617.06
8.0.230.0030.00317.07
8.0.220.0000.00717.11
8.0.210.0070.00017.09
8.0.200.0030.00317.16
8.0.190.0060.00317.08
8.0.180.0090.00017.13
8.0.170.0060.00316.96
8.0.160.0040.00417.13
8.0.150.0070.00016.95
8.0.140.0030.00617.03
8.0.130.0060.00013.42
8.0.120.0040.00417.12
8.0.110.0040.00517.03
8.0.100.0060.00317.05
8.0.90.0050.00417.03
8.0.80.0000.00817.16
8.0.70.0060.00317.01
8.0.60.0050.00417.13
8.0.50.0050.00417.08
8.0.30.0040.00417.05
8.0.20.0040.00417.15
8.0.10.0020.00617.13
8.0.00.0070.00217.12
7.4.330.0060.00015.55
7.4.320.0030.00316.89
7.4.300.0050.00316.72
7.4.290.0050.00216.59
7.4.280.0030.00716.59
7.4.270.0030.00316.65
7.4.260.0060.00013.43
7.4.250.0040.00416.82
7.4.240.0030.00516.77
7.4.230.0060.00216.78
7.4.220.0020.00716.78
7.4.210.0040.00416.74
7.4.200.0080.00016.75
7.4.190.0000.00816.80
7.4.180.0020.00516.69
7.4.160.0040.00416.75
7.4.150.0040.00416.79
7.4.140.0060.00116.65
7.4.130.0010.00716.73
7.4.120.0030.00616.68
7.4.110.0080.00016.57
7.4.100.0050.00416.75
7.4.90.0010.00716.63
7.4.80.0050.00316.62
7.4.70.0070.00216.82
7.4.60.0050.00416.62
7.4.50.0000.00916.53
7.4.40.0050.00316.60
7.4.30.0060.00316.63
7.4.20.0020.00516.60
7.4.10.0080.00016.67
7.4.00.0050.00216.54
7.3.330.0000.00716.42
7.3.320.0030.00313.26
7.3.310.0030.00416.38
7.3.300.0000.00816.22
7.3.290.0030.00516.23
7.3.280.0020.00516.46
7.3.270.0010.00616.33
7.3.260.0000.00716.47
7.3.250.0020.00616.36
7.3.240.0030.00416.32
7.3.230.0050.00216.46
7.3.220.0050.00316.42
7.3.210.0010.00816.23
7.3.200.0040.00616.23
7.3.190.0080.00016.37
7.3.180.0050.00316.31
7.3.170.0020.00616.28
7.3.160.0040.00416.31
7.3.150.0070.00216.38
7.3.140.0030.00516.31
7.3.130.0070.00216.36
7.3.120.0040.00416.26
7.3.110.0020.00616.35
7.3.100.0050.00316.30
7.3.90.0050.00316.50
7.3.80.0040.00416.30
7.3.70.0050.00316.37
7.3.60.0050.00216.51
7.3.50.0040.00416.45
7.3.40.0080.00016.60
7.3.30.0020.00716.42
7.3.20.0070.00218.32
7.3.10.0030.00618.31
7.3.00.0000.00918.38

preferences:
59.98 ms | 400 KiB | 5 Q