3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = "<a href='http://demowww.wavebid.com/content/openPdfFile.html?id=7828114'> <img src=\"http://www.wavebid.com/images/icons/pdf-128x128.jpg\" style=\"height: 25px\"/>IPv4_Multicast.pdf</a> <br /> <a href='http://demowww.wavebid.com/content/openPdfFile.html?id=7828115'> <img src=\"http://www.wavebid.com/images/icons/pdf-128x128.jpg\" style=\"height: 25px\"/>IPv6.pdf</a><br />"; preg_match("gi#<a href='(.*)'>|/>(.*?)<#", $foo, $m); var_dump($m);

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.0090.00618.43
8.3.50.0100.00721.21
8.3.40.0070.01418.71
8.3.30.0110.00620.37
8.3.20.0040.00420.16
8.3.10.0080.00021.92
8.3.00.0040.00422.57
8.2.180.0130.00616.38
8.2.170.0080.00822.96
8.2.160.0070.00720.35
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0030.01626.16
8.2.120.0080.00019.41
8.2.110.0060.00322.02
8.2.100.0130.00317.91
8.2.90.0000.00819.06
8.2.80.0000.00819.21
8.2.70.0000.00817.25
8.2.60.0000.00717.93
8.2.50.0050.00318.07
8.2.40.0000.00818.09
8.2.30.0000.00717.88
8.2.20.0000.00817.52
8.2.10.0000.00717.62
8.2.00.0030.00717.67
8.1.280.0100.00725.92
8.1.270.0040.00424.66
8.1.260.0030.00526.35
8.1.250.0080.00028.09
8.1.240.0000.00923.96
8.1.230.0030.00719.12
8.1.220.0070.00017.74
8.1.210.0040.00418.77
8.1.200.0040.00417.23
8.1.190.0000.00917.51
8.1.180.0050.00320.25
8.1.170.0040.00418.47
8.1.160.0000.00722.04
8.1.150.0000.00718.56
8.1.140.0040.00417.42
8.1.130.0090.00017.69
8.1.120.0000.00717.42
8.1.110.0030.00517.26
8.1.100.0030.00517.27
8.1.90.0040.00417.32
8.1.80.0030.00317.27
8.1.70.0000.00617.39
8.1.60.0000.00917.41
8.1.50.0040.00417.45
8.1.40.0080.00017.36
8.1.30.0040.00417.54
8.1.20.0000.00817.54
8.1.10.0040.00417.54
8.1.00.0050.00217.40
8.0.300.0070.00018.77
8.0.290.0040.00417.05
8.0.280.0030.00318.42
8.0.270.0000.00817.29
8.0.260.0030.00316.67
8.0.250.0030.00316.93
8.0.240.0040.00416.98
8.0.230.0000.00816.92
8.0.220.0000.00716.75
8.0.210.0030.00316.88
8.0.200.0000.00616.92
8.0.190.0000.00816.93
8.0.180.0040.00416.84
8.0.170.0040.00416.76
8.0.160.0030.00317.01
8.0.150.0000.00716.66
8.0.140.0040.00416.87
8.0.130.0000.00613.30
8.0.120.0030.00616.86
8.0.110.0000.00716.84
8.0.100.0070.00016.94
8.0.90.0000.00816.95
8.0.80.0140.00316.86
8.0.70.0050.00316.70
8.0.60.0050.00216.74
8.0.50.0040.00416.70
8.0.30.0120.00817.07
8.0.20.0120.00617.40
8.0.10.0040.00416.95
8.0.00.0100.00716.75
7.4.330.0000.00615.00
7.4.320.0000.00616.44
7.4.300.0000.00616.46
7.4.290.0030.00316.54
7.4.280.0080.00016.52
7.4.270.0030.00316.38
7.4.260.0000.00716.50
7.4.250.0040.00416.49
7.4.240.0040.00316.43
7.4.230.0000.00716.24
7.4.220.0180.00316.45
7.4.210.0080.00816.44
7.4.200.0030.00316.43
7.4.190.0000.00716.58
7.4.160.0130.00316.34
7.4.150.0070.01017.40
7.4.140.0160.00117.86
7.4.130.0130.01316.42
7.4.120.0110.00516.36
7.4.110.0030.01516.32
7.4.100.0120.01316.61
7.4.90.0130.00316.21
7.4.80.0100.00719.39
7.4.70.0100.00716.30
7.4.60.0150.00316.36
7.4.50.0040.00416.36
7.4.40.0040.01122.77
7.4.30.0140.00416.55
7.4.00.0040.01114.76
7.3.330.0000.00513.10
7.3.320.0030.00313.05
7.3.310.0040.00416.03
7.3.300.0030.00316.20
7.3.290.0030.01216.29
7.3.280.0080.00816.14
7.3.270.0090.00817.40
7.3.260.0080.01016.13
7.3.250.0080.01116.45
7.3.240.0130.00316.24
7.3.230.0100.00716.39
7.3.210.0060.00916.46
7.3.200.0100.00619.39
7.3.190.0030.01916.51
7.3.180.0080.00816.38
7.3.170.0110.00716.27
7.3.160.0100.00716.42
7.3.120.0030.01214.94
7.2.330.0120.00616.48
7.2.320.0140.00916.38
7.2.310.0030.01316.39
7.2.300.0100.00616.52
7.2.290.0100.00616.62
7.2.00.0030.00919.34
7.1.100.0030.00918.31
7.1.70.0050.00517.16
7.1.60.0140.01019.21
7.1.50.0070.01316.59
7.1.00.0000.07722.33
7.0.200.0310.00714.41
7.0.140.0100.07022.07
7.0.60.0070.08019.78
7.0.50.0030.06317.81
7.0.40.0070.09019.90
7.0.30.0400.03720.30
7.0.20.0270.04720.00
7.0.10.0100.08720.13
7.0.00.0130.07720.32
5.6.280.0070.07020.81
5.6.210.0130.07020.70
5.6.200.0100.04718.16
5.6.190.0070.04720.63
5.6.180.0330.06320.43
5.6.170.0300.08020.63
5.6.160.0070.06320.47
5.6.150.0070.05318.07
5.6.140.0070.05018.13
5.6.130.0070.04318.07
5.6.120.0000.06021.04
5.6.110.0100.03720.99
5.6.100.0130.07721.08
5.6.90.0130.07721.00
5.6.80.0130.06320.41
5.6.70.4130.04020.38
5.5.350.0200.06720.48
5.5.340.0100.07017.95
5.5.330.0000.08720.40
5.5.320.0030.05320.51
5.5.310.0270.07720.35
5.5.300.0100.08017.93
5.5.290.0230.03017.98
5.5.280.0170.07020.75
5.5.270.0070.04020.75
5.5.260.0030.08320.96
5.5.250.0030.08320.61
5.5.240.0230.06720.18
5.4.450.0300.07019.53
5.4.440.0370.08019.50
5.4.430.0400.06319.58
5.4.420.0330.05019.41
5.4.410.0300.07319.41
5.4.400.0300.06018.79
5.4.390.0230.05718.80
5.4.380.0400.06019.13
5.4.370.0270.05318.95
5.4.360.0370.06719.09
5.4.350.0270.05319.15
5.4.340.0300.05719.09
5.4.320.0230.06718.93
5.4.310.0400.06319.21
5.4.300.0270.04018.81
5.4.290.0270.07019.09
5.4.280.0230.06018.91
5.4.270.0370.06718.79
5.4.260.0300.07019.08
5.4.250.0370.07319.07
5.4.240.0270.04019.05
5.4.230.0430.06719.13
5.4.220.0330.03719.16
5.4.210.0370.06718.78
5.4.200.0300.06719.07
5.4.190.0300.06719.05
5.4.180.0330.06719.07
5.4.170.0270.07719.03
5.4.160.0300.06718.86
5.4.150.0400.06718.91
5.4.140.0330.04716.25
5.4.130.0270.05316.35
5.4.120.0330.06716.26
5.4.110.0330.04316.39
5.4.100.0270.04316.30
5.4.90.0270.03716.45
5.4.80.0330.05716.42
5.4.70.0230.05316.37
5.4.60.0370.03316.39
5.4.50.0330.03016.21
5.4.40.0400.05716.38
5.4.30.0230.06016.40
5.4.20.0270.03716.33
5.4.10.0300.04316.28
5.4.00.0200.03715.82
5.3.290.0500.04714.61
5.3.280.0370.06314.46
5.3.270.0300.07314.45
5.3.260.0370.06714.58
5.3.250.0230.06714.46
5.3.240.0370.05314.54
5.3.230.0270.05314.57
5.3.220.0400.06014.40
5.3.210.0200.06014.61
5.3.200.0270.03714.39
5.3.190.0230.04314.59
5.3.180.0400.05314.41
5.3.170.0270.05314.41
5.3.160.0230.04014.48
5.3.150.0270.03314.50
5.3.140.0230.07314.43
5.3.130.0300.05714.43
5.3.120.0230.05014.57
5.3.110.0230.05314.50
5.3.100.0130.04313.87
5.3.90.0270.03014.05
5.3.80.0270.03013.96
5.3.70.0100.04313.84
5.3.60.0100.04013.88
5.3.50.0270.03314.03
5.3.40.0130.04013.72
5.3.30.0100.04313.86
5.3.20.0130.04313.47
5.3.10.0330.06013.61
5.3.00.0330.06713.66
5.2.170.0130.03011.91
5.2.160.0100.03311.91
5.2.150.0170.03011.91
5.2.140.0230.02311.91
5.2.130.0200.04311.91
5.2.120.0230.04311.91
5.2.110.0270.05711.91
5.2.100.0200.05311.91
5.2.90.0230.02311.91
5.2.80.0200.03311.91
5.2.70.0130.03311.91
5.2.60.0230.05011.91
5.2.50.0100.03311.91
5.2.40.0200.02311.91
5.2.30.0070.03311.91
5.2.20.0130.02711.91
5.2.10.0200.02011.91
5.2.00.0100.03011.91
5.1.60.0170.02311.91
5.1.50.0070.03011.91
5.1.40.0170.02011.91
5.1.30.0070.03311.91
5.1.20.0130.02311.91
5.1.10.0100.03011.91
5.1.00.0070.03011.91
5.0.50.0070.02311.91
5.0.40.0070.02011.91
5.0.30.0100.02711.91
5.0.20.0030.02311.91
5.0.10.0030.02311.91
5.0.00.0070.03011.91
4.4.90.0070.01711.91
4.4.80.0030.01711.91
4.4.70.0030.01711.91
4.4.60.0070.01711.91
4.4.50.0030.01711.91
4.4.40.0070.02711.91
4.4.30.0070.01311.91
4.4.20.0000.02011.91
4.4.10.0100.01311.91
4.4.00.0100.02311.91
4.3.110.0030.01711.91
4.3.100.0070.01311.91
4.3.90.0100.01011.91
4.3.80.0100.02011.91
4.3.70.0030.01711.91
4.3.60.0100.01011.91
4.3.50.0070.01311.91
4.3.40.0070.02311.91
4.3.30.0030.01311.91
4.3.20.0000.01711.91
4.3.10.0030.01711.91
4.3.00.0000.01711.91

preferences:
40.99 ms | 401 KiB | 5 Q