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("#<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)
5.4.260.0070.04612.36
5.4.250.0070.04712.36
5.4.240.0060.04412.36
5.4.230.0100.04312.36
5.4.220.0060.04612.35
5.4.210.0050.04212.35
5.4.200.0050.04312.35
5.4.190.0050.03812.35
5.4.180.0070.03612.35
5.4.170.0090.03512.36
5.4.160.0040.03812.35
5.4.150.0090.03512.34
5.4.140.0040.03912.04
5.4.130.0060.04112.02
5.4.120.0050.03711.98
5.4.110.0070.03511.98
5.4.100.0060.03611.98
5.4.90.0050.03811.98
5.4.80.0070.03611.98
5.4.70.0040.03511.98
5.4.60.0050.03411.98
5.4.50.0050.03611.98
5.4.40.0070.03411.96
5.4.30.0060.04011.96
5.4.20.0050.03611.96
5.4.10.0070.03411.96
5.4.00.0050.03711.45
5.3.280.0050.04312.71
5.3.270.0050.04312.72
5.3.260.0070.04312.72
5.3.250.0080.03812.72
5.3.240.0050.03812.72
5.3.230.0080.03712.71
5.3.220.0050.03912.68
5.3.210.0050.04112.68
5.3.200.0070.03712.68
5.3.190.0080.03912.68
5.3.180.0070.03812.67
5.3.170.0070.03712.67
5.3.160.0040.04012.67
5.3.150.0040.03812.67
5.3.140.0070.03612.66
5.3.130.0080.03912.66
5.3.120.0050.03912.66
5.3.110.0080.03712.65
5.3.100.0060.03712.12
5.3.90.0050.03812.08
5.3.80.0050.03712.08
5.3.70.0040.03812.07
5.3.60.0070.03512.06
5.3.50.0070.03812.00
5.3.40.0050.03912.00
5.3.30.0090.03811.94
5.3.20.0090.03711.69
5.3.10.0080.03811.65
5.3.00.0090.03411.64
5.2.170.0040.0319.14
5.2.160.0070.0289.14
5.2.150.0050.0319.14
5.2.140.0070.0309.14
5.2.130.0070.0289.10
5.2.120.0050.0319.10
5.2.110.0050.0309.11
5.2.100.0080.0259.11
5.2.90.0050.0319.11
5.2.80.0070.0299.10
5.2.70.0070.0389.10
5.2.60.0050.0359.05
5.2.50.0050.0309.02
5.2.40.0020.0328.99
5.2.30.0040.0308.97
5.2.20.0050.0308.96
5.2.10.0040.0328.88
5.2.00.0040.0318.75
5.1.60.0080.0218.03
5.1.50.0040.0308.03
5.1.40.0050.0258.02
5.1.30.0040.0278.35
5.1.20.0050.0328.39
5.1.10.0040.0288.11
5.1.00.0020.0288.10
5.0.50.0050.0196.59
5.0.40.0040.0196.44
5.0.30.0040.0326.26
5.0.20.0040.0216.23
5.0.10.0040.0206.20
5.0.00.0050.0366.19
4.4.90.0010.0184.78
4.4.80.0020.0164.76
4.4.70.0020.0194.76
4.4.60.0040.0174.75
4.4.50.0050.0214.77
4.4.40.0040.0324.71
4.4.30.0030.0194.76
4.4.20.0030.0194.84
4.4.10.0030.0204.85
4.4.00.0040.0274.76
4.3.110.0040.0174.67
4.3.100.0020.0184.66
4.3.90.0030.0164.63
4.3.80.0040.0244.58
4.3.70.0040.0144.63
4.3.60.0020.0144.62
4.3.50.0020.0154.63
4.3.40.0040.0234.54
4.3.30.0040.0143.27
4.3.20.0040.0143.25
4.3.10.0030.0143.22
4.3.00.0170.0208.67

preferences:
144.92 ms | 1394 KiB | 7 Q