3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = '<div id="rates-deposit"> <table cellspacing="0"> <tr> <th>EUR</th> <th>USD</th> <th>CNY</th> <th>JPY</th> </tr> <tr> <td class="u">50,50<ins></ins></td> <td class="u">36,45<ins></ins></td> <td class="u">5,96<ins></ins></td> <td class="n">0,36<ins></ins></td> </tr> </table> </div>'; preg_match('#<tr>(.*?)</tr>#is',$content,$array); print_r($array);

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.0130.00718.43
8.3.50.0110.00621.21
8.3.40.0110.00418.79
8.3.30.0040.01119.09
8.3.20.0050.00320.16
8.3.10.0080.00022.10
8.3.00.0050.00322.52
8.2.180.0090.00616.75
8.2.170.0140.00722.96
8.2.160.0140.00019.08
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0050.00319.51
8.2.110.0070.00320.29
8.2.100.0040.00717.97
8.2.90.0040.00418.22
8.2.80.0040.00417.97
8.2.70.0080.00017.50
8.2.60.0110.00017.91
8.2.50.0100.00318.07
8.2.40.0040.00420.01
8.2.30.0040.00418.09
8.2.20.0050.00217.66
8.2.10.0000.00817.76
8.2.00.0040.00417.79
8.1.280.0150.00625.92
8.1.270.0070.00022.18
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0060.00322.05
8.1.230.0060.00620.91
8.1.220.0000.00817.74
8.1.210.0040.00418.85
8.1.200.0060.00317.35
8.1.190.0040.00417.43
8.1.180.0050.00318.54
8.1.170.0040.00418.70
8.1.160.0000.00822.21
8.1.150.0070.00318.63
8.1.140.0020.00517.41
8.1.130.0030.00317.90
8.1.120.0040.00417.60
8.1.110.0030.00517.49
8.1.100.0030.00417.52
8.1.90.0040.00717.47
8.1.80.0070.00017.50
8.1.70.0070.00017.58
8.1.60.0040.00417.70
8.1.50.0040.00417.58
8.1.40.0050.00317.55
8.1.30.0040.00417.74
8.1.20.0040.00417.58
8.1.10.0000.00817.63
8.1.00.0050.00317.60
8.0.300.0000.00820.03
8.0.290.0040.00416.93
8.0.280.0030.00318.41
8.0.270.0040.00417.12
8.0.260.0000.00616.93
8.0.250.0000.00817.05
8.0.240.0030.00717.02
8.0.230.0050.00216.92
8.0.220.0000.00717.02
8.0.210.0070.00016.88
8.0.200.0000.00616.95
8.0.190.0040.00417.05
8.0.180.0030.00617.00
8.0.170.0000.00916.93
8.0.160.0030.00517.00
8.0.150.0070.00416.80
8.0.140.0030.00316.85
8.0.130.0000.00513.37
8.0.120.0040.00416.84
8.0.110.0050.00216.93
8.0.100.0000.00716.92
8.0.90.0040.00417.09
8.0.80.0140.00016.98
8.0.70.0050.00216.86
8.0.60.0000.00716.99
8.0.50.0040.00416.91
8.0.30.0090.00916.97
8.0.20.0110.01017.40
8.0.10.0040.00417.04
8.0.00.0110.00616.93
7.4.330.0000.00715.00
7.4.320.0030.00316.73
7.4.300.0000.00616.75
7.4.290.0040.00416.64
7.4.280.0070.00016.65
7.4.270.0070.00016.78
7.4.260.0040.00416.74
7.4.250.0080.00016.74
7.4.240.0040.00416.72
7.4.230.0000.00716.40
7.4.220.0280.01416.70
7.4.210.0080.00916.75
7.4.200.0030.00316.66
7.4.190.0000.00716.71
7.4.160.0080.00816.60
7.4.150.0090.00917.40
7.4.140.0110.00817.86
7.4.130.0110.00916.51
7.4.120.0110.01016.76
7.4.110.0160.00616.44
7.4.100.0150.00316.49
7.4.90.0100.00716.59
7.4.80.0120.01219.39
7.4.70.0090.01516.46
7.4.60.0060.01116.61
7.4.50.0060.00316.57
7.4.40.0070.00722.77
7.4.30.0060.00916.57
7.4.00.0100.00715.25
7.3.330.0040.00413.19
7.3.320.0060.00013.26
7.3.310.0070.00016.29
7.3.300.0030.00316.30
7.3.290.0110.00316.33
7.3.280.0110.00716.30
7.3.270.0090.00917.40
7.3.260.0110.00716.80
7.3.250.0090.01116.36
7.3.240.0160.00816.24
7.3.230.0100.01016.39
7.3.210.0070.01016.75
7.3.200.0130.00319.39
7.3.190.0140.00516.46
7.3.180.0100.01316.45
7.3.170.0100.00616.27
7.3.160.0090.00616.47
7.3.120.0060.00914.87
7.3.10.0090.00616.58
7.3.00.0040.01116.55
7.2.330.0110.00616.42
7.2.320.0120.00916.41
7.2.310.0060.01116.66
7.2.300.0030.01516.55
7.2.290.0100.00716.62
7.2.130.0050.01016.72
7.2.120.0020.01116.87
7.2.110.0060.00816.64
7.2.100.0100.00716.88
7.2.90.0090.00716.88
7.2.80.0060.01016.75
7.2.70.0080.00616.85
7.2.60.0070.00716.89
7.2.50.0100.00516.80
7.2.40.0080.00816.69
7.2.30.0080.00516.97
7.2.20.0100.00816.74
7.2.10.0060.01016.71
7.2.00.0090.00317.79
7.1.250.0050.01015.71
7.1.100.0060.00318.20
7.1.70.0070.00317.23
7.1.60.0150.00719.82
7.1.50.0030.02117.16
7.1.00.0000.04322.37
7.0.200.0070.01016.88
7.0.140.0000.07722.19
7.0.60.0130.08019.96
7.0.50.0100.07717.87
7.0.40.0030.06020.23
7.0.30.0270.06320.24
7.0.20.0270.05020.24
7.0.10.0370.07320.10
7.0.00.0100.08720.25
5.6.280.0030.07321.11
5.6.210.0000.05020.64
5.6.200.0030.08018.15
5.6.190.0070.04720.47
5.6.180.4130.04020.61
5.6.170.0300.05720.53
5.6.160.0070.07720.54
5.6.150.0100.07718.16
5.6.140.0100.06718.18
5.6.130.0070.04318.21
5.6.120.0130.08321.01
5.6.110.0070.04021.00
5.6.100.0030.04321.00
5.6.90.0130.08321.07
5.6.80.0070.08020.39
5.6.70.0300.07720.27
5.5.350.0000.04320.40
5.5.340.0030.08318.06
5.5.330.0070.07720.13
5.5.320.0230.05720.29
5.5.310.0200.04020.34
5.5.300.0100.06318.07
5.5.290.0030.08717.98
5.5.280.0030.07020.79
5.5.270.0130.06720.86
5.5.260.0170.06720.75
5.5.250.0130.07320.68
5.5.240.0230.06720.23
5.4.450.0630.06719.70
5.4.440.0770.06319.47
5.4.430.0100.05719.16
5.4.420.0700.06019.47
5.4.410.0670.05319.19
5.4.400.1370.05318.48
5.4.390.1100.05718.70
5.4.380.0200.06018.76
5.4.370.0130.05318.58
5.4.360.0200.04718.75
5.4.350.0170.05018.61
5.4.340.0170.05018.80
5.4.320.0060.04312.48
5.4.310.0070.04212.48
5.4.300.0030.04012.48
5.4.290.0100.03912.48
5.4.280.0070.03612.37
5.4.270.0100.04112.37
5.4.260.0170.07318.74
5.4.250.0100.07718.73
5.4.240.0130.07318.98
5.4.230.0170.07018.80
5.4.220.0230.05018.79
5.4.210.0100.07719.00
5.4.200.0200.06718.79
5.4.190.0130.06018.83
5.4.180.0100.05018.95
5.4.170.0070.05718.93
5.4.160.0100.06718.98
5.4.150.0270.05018.98
5.4.140.0130.04716.36
5.4.130.0070.07316.47
5.4.120.0100.06716.53
5.4.110.0070.05716.58
5.4.100.0100.06716.38
5.4.90.0030.07716.47
5.4.80.0100.06716.46
5.4.70.0130.06716.64
5.4.60.0070.07016.63
5.4.50.0070.07716.63
5.4.40.0070.06016.38
5.4.30.0030.05716.39
5.4.20.0070.05016.38
5.4.10.0200.05316.63
5.4.00.0100.06315.82
5.3.290.0090.04112.80
5.3.280.0130.06714.57
5.3.270.0070.06014.43
5.3.260.0070.06314.59
5.3.250.0230.04314.73
5.3.240.0070.07714.68
5.3.230.0170.05714.58
5.3.220.0070.05314.39
5.3.210.0100.06714.55
5.3.200.0070.07714.64
5.3.190.0130.07014.73
5.3.180.0070.06714.54
5.3.170.0070.08714.54
5.3.160.0130.05314.52
5.3.150.0070.06714.73
5.3.140.0100.07314.53
5.3.130.0100.05314.63
5.3.120.0070.08014.63
5.3.110.0070.06314.70
5.3.100.0130.06014.11
5.3.90.0130.07314.14
5.3.80.0100.07014.24
5.3.70.0100.06714.09
5.3.60.0100.05014.07
5.3.50.0100.07014.04
5.3.40.0070.06314.02
5.3.30.0100.06713.87
5.3.20.0130.04713.86
5.3.10.0070.05713.70
5.3.00.0070.06713.53
5.2.170.0130.05711.14
5.2.160.0070.06311.14
5.2.150.0100.04711.21
5.2.140.0130.05711.13
5.2.130.0130.04311.00
5.2.120.0100.05711.17
5.2.110.0100.04711.07
5.2.100.0130.05311.17
5.2.90.0070.05711.17
5.2.80.0030.05310.99
5.2.70.0200.04311.14
5.2.60.0100.05011.01
5.2.50.0200.05011.00
5.2.40.0170.03010.95
5.2.30.0100.05011.04
5.2.20.0070.05711.12
5.2.10.0130.04310.85
5.2.00.0000.05710.79
5.1.60.0130.04010.05
5.1.50.0100.04310.14
5.1.40.0030.04310.04
5.1.30.0100.04310.39
5.1.20.0100.05310.43
5.1.10.0070.03710.12
5.1.00.0130.04310.02
5.0.50.0100.0238.77
5.0.40.0070.0338.44
5.0.30.0070.0408.29
5.0.20.0030.0408.38
5.0.10.0000.0338.23
5.0.00.0130.0378.24
4.4.90.0030.0237.39
4.4.80.0070.0277.39
4.4.70.0070.0207.39
4.4.60.0030.0237.39
4.4.50.0030.0277.39
4.4.40.0100.0307.39
4.4.30.0000.0277.39
4.4.20.0100.0237.39
4.4.10.0100.0177.39
4.4.00.0030.0337.39
4.3.110.0100.0277.39
4.3.100.0030.0237.39
4.3.90.0000.0337.39
4.3.80.0000.0407.39
4.3.70.0070.0237.39
4.3.60.0070.0237.39
4.3.50.0030.0277.39
4.3.40.0030.0377.39
4.3.30.0030.0277.39
4.3.20.0070.0237.39
4.3.10.0070.0207.39
4.3.00.0230.0138.67

preferences:
39.07 ms | 401 KiB | 5 Q