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_all("#<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.0070.00718.41
8.3.50.0130.00521.27
8.3.40.0040.01118.79
8.3.30.0070.00719.09
8.3.20.0060.00320.13
8.3.10.0090.00021.89
8.3.00.0070.00020.71
8.2.180.0130.00616.88
8.2.170.0070.00722.96
8.2.160.0070.00718.79
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0060.00319.48
8.2.110.0030.00622.35
8.2.100.0070.00419.23
8.2.90.0040.00419.05
8.2.80.0080.00019.21
8.2.70.0080.00017.63
8.2.60.0050.00317.80
8.2.50.0080.00018.07
8.2.40.0030.00617.89
8.2.30.0040.00417.91
8.2.20.0040.00417.70
8.2.10.0000.00717.66
8.2.00.0000.00917.77
8.1.280.0100.01025.92
8.1.270.0120.00422.10
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00323.91
8.1.230.0090.00319.16
8.1.220.0080.00017.74
8.1.210.0030.00618.77
8.1.200.0060.00317.25
8.1.190.0050.00317.51
8.1.180.0040.00418.61
8.1.170.0030.00618.65
8.1.160.0000.00722.23
8.1.150.0030.00518.83
8.1.140.0020.00517.59
8.1.130.0000.00717.86
8.1.120.0040.00417.55
8.1.110.0040.00417.41
8.1.100.0050.00217.43
8.1.90.0000.00817.54
8.1.80.0030.00317.38
8.1.70.0070.00017.47
8.1.60.0040.00417.64
8.1.50.0040.00417.62
8.1.40.0000.00817.60
8.1.30.0080.00017.73
8.1.20.0000.00917.68
8.1.10.0050.00217.69
8.1.00.0040.00417.64
8.0.300.0030.00318.77
8.0.290.0070.00017.15
8.0.280.0020.00518.41
8.0.270.0030.00317.21
8.0.260.0030.00516.91
8.0.250.0000.01016.96
8.0.240.0060.00316.95
8.0.230.0000.00817.05
8.0.220.0000.00717.02
8.0.210.0000.00717.02
8.0.200.0000.00617.11
8.0.190.0040.00417.00
8.0.180.0070.00017.05
8.0.170.0040.00417.03
8.0.160.0050.00316.92
8.0.150.0040.00416.91
8.0.140.0000.00716.88
8.0.130.0030.00313.50
8.0.120.0030.00516.83
8.0.110.0070.00016.96
8.0.100.0030.00716.82
8.0.90.0040.00416.94
8.0.80.0120.00316.95
8.0.70.0040.00416.94
8.0.60.0030.00816.82
8.0.50.0040.00416.97
8.0.30.0100.01017.04
8.0.20.0140.00517.40
8.0.10.0040.00416.99
8.0.00.0140.00616.90
7.4.330.0050.00015.00
7.4.320.0040.00416.67
7.4.300.0030.00316.80
7.4.290.0000.00816.71
7.4.280.0000.00716.50
7.4.270.0030.00316.75
7.4.260.0000.00816.76
7.4.250.0060.00316.77
7.4.240.0050.00316.69
7.4.230.0040.00416.55
7.4.220.0120.01316.84
7.4.210.0040.01016.71
7.4.200.0000.00716.69
7.4.190.0000.00716.63
7.4.160.0130.00316.41
7.4.150.0110.00717.40
7.4.140.0090.00817.86
7.4.130.0040.01416.62
7.4.120.0090.00816.60
7.4.110.0090.00616.64
7.4.100.0190.00316.43
7.4.90.0130.00316.55
7.4.80.0060.01219.39
7.4.70.0000.01816.38
7.4.60.0120.01216.51
7.4.50.0080.00016.45
7.4.40.0100.00322.77
7.4.30.0140.00316.50
7.4.00.0130.00315.04
7.3.330.0030.00213.19
7.3.320.0030.00313.20
7.3.310.0000.00716.11
7.3.300.0000.00716.24
7.3.290.0030.01016.39
7.3.280.0050.00916.33
7.3.270.0170.00017.40
7.3.260.0160.00316.57
7.3.250.0060.01116.43
7.3.240.0090.01216.44
7.3.230.0130.00316.52
7.3.210.0120.00516.21
7.3.200.0030.01319.39
7.3.190.0110.00716.52
7.3.180.0120.00416.22
7.3.170.0030.01216.39
7.3.160.0140.01016.21
7.3.120.0060.00815.11
7.2.330.0110.00516.44
7.2.320.0110.00716.48
7.2.310.0120.00616.57
7.2.300.0110.00816.73
7.2.290.0090.01116.73
7.2.00.0070.00319.30
7.1.100.0030.01018.48
7.1.70.0020.00517.30
7.1.60.0090.00919.82
7.1.50.0040.01517.12
7.1.00.0070.03022.32
7.0.200.0040.00416.83
7.0.140.0000.07721.99
7.0.60.0070.08019.90
7.0.50.0030.08717.91
7.0.40.0070.09020.30
7.0.30.0300.03020.14
7.0.20.0230.05020.07
7.0.10.0170.06320.33
7.0.00.0000.04320.09
5.6.280.0030.07020.92
5.6.210.0030.05020.64
5.6.200.0030.04718.27
5.6.190.0030.04320.48
5.6.180.3200.04320.52
5.6.170.0330.04020.54
5.6.160.0130.04020.50
5.6.150.0030.06018.15
5.6.140.0170.05318.18
5.6.130.0030.09018.26
5.6.120.0030.04321.00
5.6.110.0100.05021.00
5.6.100.0100.07721.12
5.6.90.0100.08020.96
5.6.80.0030.08020.39
5.6.70.0270.06320.36
5.5.350.0000.04720.29
5.5.340.0130.07318.05
5.5.330.0170.07720.35
5.5.320.0200.05720.37
5.5.310.0230.04020.27
5.5.300.0070.07718.08
5.5.290.0130.07717.95
5.5.280.0070.06020.82
5.5.270.0100.07720.93
5.5.260.0030.04020.87
5.5.250.0130.03720.50
5.5.240.0070.08320.04
5.4.450.0370.05319.34
5.4.440.0700.05719.47
5.4.430.0530.05019.61
5.4.420.0600.06719.45
5.4.410.0900.05319.32
5.4.400.1070.05318.73
5.4.390.1030.06318.75
5.4.380.0200.05718.70
5.4.370.0170.04718.75
5.4.360.0230.04018.76
5.4.350.0170.05318.61
5.4.340.0070.06018.50
5.4.320.0070.04312.48
5.4.310.0070.05012.48
5.4.300.0100.03812.48
5.4.290.0050.04012.48
5.4.280.0080.03812.38
5.4.270.0060.04312.38
5.4.260.0170.06019.05
5.4.250.0170.05319.01
5.4.240.0100.07318.95
5.4.230.0130.07318.90
5.4.220.0100.08318.77
5.4.210.0170.07318.62
5.4.200.0170.06719.04
5.4.190.0100.07018.77
5.4.180.0170.07718.67
5.4.170.0130.07018.74
5.4.160.0130.07318.93
5.4.150.0030.08718.88
5.4.140.0130.06716.38
5.4.130.0100.06716.35
5.4.120.0170.07316.38
5.4.110.0200.05316.54
5.4.100.0100.06716.45
5.4.90.0100.07716.60
5.4.80.0200.06016.40
5.4.70.0200.06316.58
5.4.60.0130.07016.61
5.4.50.0230.04716.36
5.4.40.0130.05016.41
5.4.30.0100.06016.44
5.4.20.0170.05716.54
5.4.10.0200.05316.45
5.4.00.0170.05015.80
5.3.290.0090.05112.80
5.3.280.0000.07714.75
5.3.270.0070.06314.58
5.3.260.0230.05714.43
5.3.250.0000.06714.68
5.3.240.0130.06714.67
5.3.230.0130.06014.69
5.3.220.0170.07014.54
5.3.210.0070.06714.61
5.3.200.0200.06014.66
5.3.190.0170.07014.64
5.3.180.0070.05714.63
5.3.170.0070.07014.78
5.3.160.0030.08014.73
5.3.150.0070.07714.69
5.3.140.0170.06014.62
5.3.130.0100.07314.62
5.3.120.0100.07314.71
5.3.110.0170.06014.38
5.3.100.0200.04314.11
5.3.90.0130.06314.01
5.3.80.0100.05014.02
5.3.70.0100.05014.09
5.3.60.0200.04714.07
5.3.50.0100.05714.02
5.3.40.0100.07014.00
5.3.30.0100.07013.87
5.3.20.0070.05313.52
5.3.10.0070.05013.83
5.3.00.0070.06313.60
5.2.170.0100.05311.13
5.2.160.0070.04011.21
5.2.150.0100.04311.21
5.2.140.0230.04711.13
5.2.130.0170.05011.27
5.2.120.0030.04711.26
5.2.110.0130.05011.09
5.2.100.0030.06711.27
5.2.90.0100.05311.18
5.2.80.0130.05711.30
5.2.70.0130.04711.09
5.2.60.0130.04711.22
5.2.50.0070.04311.20
5.2.40.0130.05311.07
5.2.30.0030.05010.88
5.2.20.0100.04711.17
5.2.10.0070.04011.03
5.2.00.0130.05310.93
5.1.60.0130.04310.02
5.1.50.0030.0539.85
5.1.40.0030.0409.91
5.1.30.0170.03310.23
5.1.20.0170.04310.23
5.1.10.0100.03710.00
5.1.00.0100.04310.13
5.0.50.0030.0338.56
5.0.40.0000.0408.32
5.0.30.0100.0508.27
5.0.20.0130.0278.18
5.0.10.0070.0378.26
5.0.00.0030.0438.14
4.4.90.0030.0307.32
4.4.80.0030.0307.32
4.4.70.0100.0237.32
4.4.60.0100.0237.32
4.4.50.0030.0237.32
4.4.40.0000.0477.32
4.4.30.0070.0277.32
4.4.20.0130.0177.32
4.4.10.0000.0237.32
4.4.00.0030.0477.32
4.3.110.0030.0237.32
4.3.100.0000.0237.32
4.3.90.0070.0177.32
4.3.80.0000.0477.32
4.3.70.0070.0207.32
4.3.60.0030.0277.32
4.3.50.0000.0337.32
4.3.40.0000.0477.32
4.3.30.0000.0237.32
4.3.20.0030.0337.32
4.3.10.0070.0207.32
4.3.00.0000.0237.27

preferences:
59.77 ms | 401 KiB | 5 Q