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("#<th>(.*?)</th>#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.40.0070.00718.92
8.3.30.0110.00418.88
8.3.20.0060.00320.13
8.3.10.0040.00421.92
8.3.00.0040.00422.58
8.2.170.0090.00622.96
8.2.160.0080.00619.20
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00317.75
8.2.110.0060.01220.95
8.2.100.0040.00817.97
8.2.90.0040.00417.94
8.2.80.0080.00019.02
8.2.70.0050.00317.63
8.2.60.0000.00817.92
8.2.50.0050.00318.10
8.2.40.0040.00420.59
8.2.30.0040.00417.90
8.2.20.0020.00517.64
8.2.10.0040.00417.76
8.2.00.0000.00817.71
8.1.270.0040.00422.06
8.1.260.0100.00326.35
8.1.250.0000.00828.09
8.1.240.0100.01023.99
8.1.230.0040.00820.91
8.1.220.0050.00217.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0080.00017.22
8.1.180.0040.00418.10
8.1.170.0040.00418.62
8.1.160.0000.00822.14
8.1.150.0080.00418.64
8.1.140.0040.00417.41
8.1.130.0030.00317.76
8.1.120.0000.00717.56
8.1.110.0060.00317.54
8.1.100.0040.00417.50
8.1.90.0030.00617.57
8.1.80.0000.00717.60
8.1.70.0070.00017.53
8.1.60.0030.00617.71
8.1.50.0070.00017.54
8.1.40.0040.00417.62
8.1.30.0080.00017.76
8.1.20.0070.00417.59
8.1.10.0000.00817.69
8.1.00.0040.00417.53
8.0.300.0070.00020.04
8.0.290.0080.00016.75
8.0.280.0070.00018.44
8.0.270.0070.00017.13
8.0.260.0070.00016.82
8.0.250.0040.00416.94
8.0.240.0030.00717.03
8.0.230.0080.00016.93
8.0.220.0030.00316.93
8.0.210.0000.00717.04
8.0.200.0060.00017.06
8.0.190.0070.00017.04
8.0.180.0000.00916.83
8.0.170.0080.00016.99
8.0.160.0040.00417.03
8.0.150.0000.00716.81
8.0.140.0040.00416.98
8.0.130.0030.00313.36
8.0.120.0040.00417.00
8.0.110.0050.00316.82
8.0.100.0000.00716.88
8.0.90.0030.00516.95
8.0.80.0120.00316.99
8.0.70.0000.00717.02
8.0.60.0040.00416.80
8.0.50.0040.00416.90
8.0.30.0120.00717.12
8.0.20.0110.00817.40
8.0.10.0000.00717.15
8.0.00.0060.01116.94
7.4.330.0000.00715.00
7.4.320.0000.00616.61
7.4.300.0060.00016.63
7.4.290.0000.00716.64
7.4.280.0050.00316.64
7.4.270.0030.00316.69
7.4.260.0000.00716.54
7.4.250.0050.00516.57
7.4.240.0060.00216.65
7.4.230.0030.00316.65
7.4.220.0030.01516.71
7.4.210.0050.01216.70
7.4.200.0040.00416.40
7.4.190.0030.00516.91
7.4.160.0120.00316.73
7.4.150.0170.00317.40
7.4.140.0100.00717.86
7.4.130.0100.00716.80
7.4.120.0070.01116.65
7.4.110.0100.00716.56
7.4.100.0030.01516.43
7.4.90.0030.01316.77
7.4.80.0030.01319.39
7.4.70.0100.00716.61
7.4.60.0080.01216.59
7.4.50.0030.00616.49
7.4.40.0130.00022.77
7.4.30.0130.00316.74
7.4.10.0130.00615.27
7.4.00.0070.01014.94
7.3.330.0070.00013.26
7.3.320.0000.00513.18
7.3.310.0050.00216.28
7.3.300.0000.00716.27
7.3.290.0100.01216.23
7.3.280.0060.01316.30
7.3.270.0030.01417.40
7.3.260.0070.01016.54
7.3.250.0080.00916.41
7.3.240.0150.00916.24
7.3.230.0130.00616.39
7.3.210.0090.01316.70
7.3.200.0090.01019.39
7.3.190.0070.01016.28
7.3.180.0140.00816.19
7.3.170.0030.01716.51
7.3.160.0070.01016.32
7.3.130.0140.00314.62
7.3.120.0050.01114.93
7.3.110.0080.01014.84
7.3.100.0070.01014.88
7.3.90.0100.00814.89
7.3.80.0090.00714.63
7.3.70.0060.01014.86
7.3.60.0000.01414.82
7.3.50.0050.00914.83
7.3.40.0080.00314.90
7.3.30.0070.00514.79
7.3.20.0040.01016.64
7.3.10.0070.00716.66
7.3.00.0040.00916.63
7.2.330.0090.00916.51
7.2.320.0030.01516.53
7.2.310.0080.00816.58
7.2.300.0140.00316.52
7.2.290.0110.00616.58
7.2.260.0030.01514.94
7.2.250.0050.01314.81
7.2.240.0070.01115.03
7.2.230.0100.00815.09
7.2.220.0080.00915.13
7.2.210.0060.00815.00
7.2.200.0110.00615.04
7.2.190.0050.01114.93
7.2.180.0050.00714.81
7.2.170.0080.00614.96
7.2.160.0030.00914.84
7.2.150.0070.01016.81
7.2.140.0060.01316.96
7.2.130.0050.00816.80
7.2.120.0060.00516.85
7.2.110.0080.00516.72
7.2.100.0070.00716.89
7.2.90.0070.00417.02
7.2.80.0090.00716.98
7.2.70.0030.00916.77
7.2.60.0050.01116.79
7.2.50.0070.00916.84
7.2.40.0040.01216.90
7.2.30.0070.00516.97
7.2.20.0050.01116.81
7.2.10.0050.00916.83
7.2.00.0060.00517.54
7.1.330.0060.00815.99
7.1.320.0060.01215.99
7.1.310.0050.00815.96
7.1.300.0070.00715.93
7.1.290.0090.00615.79
7.1.280.0050.01015.79
7.1.270.0040.00915.82
7.1.260.0060.00315.85
7.1.250.0030.00815.87
7.1.240.0050.00515.83
7.1.230.0070.00716.07
7.1.220.0070.00715.71
7.1.210.0070.00715.99
7.1.200.0030.00615.80
7.1.190.0040.00815.60
7.1.180.0040.01115.86
7.1.170.0000.01215.70
7.1.160.0000.01915.85
7.1.150.0040.01115.85
7.1.140.0030.00515.99
7.1.130.0030.01015.88
7.1.120.0040.00815.82
7.1.110.0090.00015.78
7.1.100.0030.01217.17
7.1.90.0030.01215.89
7.1.80.0030.01315.73
7.1.70.0070.00316.51
7.1.60.0070.00917.91
7.1.50.0090.01016.39
7.1.40.0070.00715.63
7.1.30.0040.00715.61
7.1.20.0000.01115.83
7.1.10.0080.00415.75
7.1.00.0110.02819.09
7.0.330.0070.00715.29
7.0.320.0000.00815.49
7.0.310.0000.01415.50
7.0.300.0060.00315.48
7.0.290.0090.00615.04
7.0.280.0000.01115.39
7.0.270.0070.00715.57
7.0.260.0030.00615.25
7.0.250.0030.00615.57
7.0.240.0030.01315.54
7.0.230.0000.01015.41
7.0.220.0080.00415.24
7.0.210.0060.00615.51
7.0.200.0020.00916.16
7.0.190.0000.01615.18
7.0.180.0090.00315.60
7.0.170.0060.00615.46
7.0.160.0040.00715.34
7.0.150.0030.01015.49
7.0.140.0060.04118.62
7.0.130.0000.01015.71
7.0.120.0050.00515.61
7.0.110.0040.00715.69
7.0.100.0050.00215.59
7.0.90.0030.01315.61
7.0.80.0030.01415.61
7.0.70.0090.00615.55
7.0.60.0000.05117.75
7.0.50.0040.04516.75
7.0.40.0100.04316.65
7.0.30.0210.02716.82
7.0.20.0170.02816.84
7.0.10.0070.03016.74
7.0.00.0020.02616.80
5.6.400.0070.00314.29
5.6.390.0000.01014.73
5.6.380.0040.00414.25
5.6.370.0040.00413.91
5.6.360.0000.01514.32
5.6.350.0070.00314.63
5.6.340.0060.00614.36
5.6.330.0100.00314.16
5.6.320.0070.01014.42
5.6.310.0030.01014.37
5.6.300.0080.00314.19
5.6.290.0040.00714.34
5.6.280.0030.03917.56
5.6.270.0000.00914.30
5.6.260.0000.01114.24
5.6.250.0090.00614.32
5.6.240.0030.01314.45
5.6.230.0090.00314.47
5.6.220.0110.00614.43
5.6.210.0030.04517.38
5.6.200.0020.02516.21
5.6.190.0020.02617.44
5.6.180.0140.03117.42
5.6.170.0230.04017.42
5.6.160.0080.03817.33
5.6.150.0070.03516.13
5.6.140.0080.04316.34
5.6.130.0070.03016.24
5.6.120.0060.04017.57
5.6.110.0100.01717.48
5.6.100.0050.03717.58
5.6.90.0170.03017.61
5.6.80.0100.04017.27
5.6.70.0060.00314.10
5.6.60.0120.00314.33
5.6.50.0040.00914.16
5.6.40.0040.00414.30
5.6.30.0070.00714.38
5.6.20.0000.01214.28
5.6.10.0030.01114.07
5.6.00.0070.00714.35
5.5.380.0070.01014.09
5.5.370.0000.00914.18
5.5.360.0120.00413.91
5.5.350.0030.03817.23
5.5.340.0080.04216.02
5.5.330.0060.04317.24
5.5.320.0080.02717.25
5.5.310.0140.02517.12
5.5.300.0030.02816.14
5.5.290.0020.04516.04
5.5.280.0120.04217.40
5.5.270.0080.04517.39
5.5.260.0120.04017.36
5.5.250.0050.02517.35
5.5.240.0140.01917.06
5.5.230.0000.01314.39
5.5.220.0060.00914.03
5.5.210.0090.00014.04
5.5.200.0120.00314.18
5.5.190.0000.01013.74
5.5.180.0030.01013.87
5.5.170.0060.00913.90
5.5.160.0050.00513.86
5.5.150.0100.00313.88
5.5.140.0060.01014.19
5.5.130.0040.01213.75
5.5.120.0060.00614.07
5.5.110.0000.01413.94
5.5.100.0130.00314.27
5.5.90.0040.00713.95
5.5.80.0130.00014.13
5.5.70.0000.00914.05
5.5.60.0030.01414.11
5.5.50.0040.01113.88
5.5.40.0030.00614.02
5.5.30.0060.00314.06
5.5.20.0040.01113.98
5.5.10.0070.00313.95
5.5.00.0030.01013.77
5.4.450.0370.03215.95
5.4.440.0480.03315.87
5.4.430.0230.03115.86
5.4.420.0380.03015.86
5.4.410.0380.03515.85
5.4.400.0200.03015.66
5.4.390.0130.03115.66
5.4.380.0210.03115.50
5.4.370.0130.02315.52
5.4.360.0130.02315.37
5.4.350.0170.03215.44
5.4.340.0030.03615.41
5.4.330.0000.01112.26
5.4.320.0030.02312.37
5.4.310.0050.02212.37
5.4.300.0050.02412.37
5.4.290.0080.02512.37
5.4.280.0050.02412.32
5.4.270.0020.02312.32
5.4.260.0100.02715.63
5.4.250.0070.03015.53
5.4.240.0030.03415.63
5.4.230.0040.03215.49
5.4.220.0050.03315.54
5.4.210.0130.03815.54
5.4.200.0090.02715.45
5.4.190.0080.02815.61
5.4.180.0100.03415.59
5.4.170.0080.03515.49
5.4.160.0100.03115.62
5.4.150.0050.03215.63
5.4.140.0080.04314.32
5.4.130.0100.03214.29
5.4.120.0060.02914.34
5.4.110.0080.02914.38
5.4.100.0100.03514.33
5.4.90.0130.02314.38
5.4.80.0030.04014.28
5.4.70.0100.04014.30
5.4.60.0190.02414.32
5.4.50.0060.03314.32
5.4.40.0070.03114.38
5.4.30.0050.03114.35
5.4.20.0080.03614.38
5.4.10.0100.02414.35
5.4.00.0130.04114.09
5.3.290.0080.02512.53
5.3.280.0110.03213.42
5.3.270.0070.04013.35
5.3.260.0100.04413.48
5.3.250.0130.02813.51
5.3.240.0060.03613.47
5.3.230.0080.02813.47
5.3.220.0080.03513.36
5.3.210.0080.03313.45
5.3.200.0100.03713.32
5.3.190.0120.03813.32
5.3.180.0160.02613.40
5.3.170.0110.04013.49
5.3.160.0150.03313.52
5.3.150.0160.03213.41
5.3.140.0110.03513.32
5.3.130.0040.03713.44
5.3.120.0190.03013.43
5.3.110.0080.03613.44
5.3.100.0110.02613.09
5.3.90.0050.03413.09
5.3.80.0070.03013.17
5.3.70.0120.03213.13
5.3.60.0090.02713.21
5.3.50.0170.03013.02
5.3.40.0080.03113.14
5.3.30.0150.02913.07
5.3.20.0090.03412.92
5.3.10.0070.03112.96
5.3.00.0160.03312.99
5.2.170.0100.05711.04
5.2.160.0070.04011.13
5.2.150.0100.04011.13
5.2.140.0070.04711.35
5.2.130.0030.06311.08
5.2.120.0030.04311.05
5.2.110.0030.04711.05
5.2.100.0170.04011.09
5.2.90.0030.04011.09
5.2.80.0100.03711.16
5.2.70.0100.04711.17
5.2.60.0170.03311.11
5.2.50.0070.04311.10
5.2.40.0170.04711.08
5.2.30.0130.04011.06
5.2.20.0070.05311.04
5.2.10.0130.05010.91
5.2.00.0070.04310.70
5.1.60.0070.0439.84
5.1.50.0000.03710.04
5.1.40.0030.03310.16
5.1.30.0070.04710.23
5.1.20.0130.03310.42
5.1.10.0100.0479.91
5.1.00.0030.04010.15
5.0.50.0100.0338.63
5.0.40.0130.0278.44
5.0.30.0000.0638.17
5.0.20.0070.0408.34
5.0.10.0030.0338.22
5.0.00.0070.0438.07
4.4.90.0030.0207.56
4.4.80.0070.0237.56
4.4.70.0030.0277.56
4.4.60.0100.0207.56
4.4.50.0030.0277.56
4.4.40.0030.0337.56
4.4.30.0070.0237.56
4.4.20.0100.0277.56
4.4.10.0070.0307.56
4.4.00.0030.0477.56
4.3.110.0030.0307.56
4.3.100.0000.0307.56
4.3.90.0070.0307.56
4.3.80.0100.0277.56
4.3.70.0030.0207.56
4.3.60.0000.0277.56
4.3.50.0070.0207.56
4.3.40.0030.0437.56
4.3.30.0030.0307.56
4.3.20.0030.0307.56
4.3.10.0000.0277.56
4.3.00.0170.0208.10

preferences:
51.09 ms | 400 KiB | 5 Q