3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt = "<br class='clear'/> <div style='float:left;width:100px;'> 02 Dorm.<br /> A partir de: </div><div class='info' style='color:#E50000; font-weight:normal;'><font style='font-size:16px;'>R$ 505.726,23</font><div style='font-size:10px;line-height:10px'>*Venda sob consulta (Ref. Apto 103 Box 01)</div></div><br class=clear><br class='clear'/> <div style='float:left;width:100px;'> 03 Dorm.<br /> A partir de: </div><div class='info' style='color:#E50000; font-weight:normal;'><font style='font-size:16px;'>R$ 639.898,49</font><div style='font-size:10px;line-height:10px'>*Venda sob consulta (Ref. Apto 104 Box 02)</div></div><br class=clear><br class='clear'/><div style='float:left;width:100px;' class='normal'> Vagas:</div><div class='info' > <i class='fa fa-car'></i> &nbsp;1</div>"; $match = preg_match_all("/R\$ ([\d.,]+)<\//", $txt); print_r($match);

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.01518.56
8.3.50.0110.00822.76
8.3.40.0220.00018.62
8.3.30.0120.00918.79
8.3.20.0080.00021.73
8.3.10.0040.00421.76
8.3.00.0110.00322.10
8.2.180.0130.00316.63
8.2.170.0150.00622.96
8.2.160.0100.00722.31
8.2.150.0060.01224.18
8.2.140.0080.00024.66
8.2.130.0050.00319.64
8.2.120.0040.00426.35
8.2.110.0070.00320.94
8.2.100.0040.00818.03
8.2.90.0000.00819.09
8.2.80.0000.00817.97
8.2.70.0000.00817.63
8.2.60.0060.00317.80
8.2.50.0030.00618.10
8.2.40.0040.00420.54
8.2.30.0000.00819.23
8.2.20.0000.00717.93
8.2.10.0050.00318.00
8.2.00.0050.00217.82
8.1.280.0100.00725.92
8.1.270.0070.01123.84
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0040.00422.69
8.1.230.0080.00317.70
8.1.220.0040.00417.78
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0050.00318.60
8.1.160.0050.00218.70
8.1.150.0050.00220.36
8.1.140.0040.00419.45
8.1.130.0030.00319.09
8.1.120.0030.00517.59
8.1.110.0050.00217.59
8.1.100.0040.00417.53
8.1.90.0000.00717.57
8.1.80.0000.00817.45
8.1.70.0070.00017.51
8.1.60.0040.00817.72
8.1.50.0050.00317.56
8.1.40.0040.00417.62
8.1.30.0030.00517.71
8.1.20.0040.00417.73
8.1.10.0040.00417.62
8.1.00.0000.00917.42
8.0.300.0040.00418.77
8.0.290.0040.00416.73
8.0.280.0000.00718.31
8.0.270.0070.00017.17
8.0.260.0080.00017.22
8.0.250.0030.00317.00
8.0.240.0000.00716.96
8.0.230.0030.00317.06
8.0.220.0070.00016.88
8.0.210.0070.00017.00
8.0.200.0000.00617.05
8.0.190.0050.00317.01
8.0.180.0000.00817.02
8.0.170.0000.00817.05
8.0.160.0050.00317.00
8.0.150.0030.00316.98
8.0.140.0050.00316.94
8.0.130.0000.00613.40
8.0.120.0040.00416.83
8.0.110.0040.00417.00
8.0.100.0040.00416.85
8.0.90.0000.00716.78
8.0.80.0030.01317.04
8.0.70.0070.00016.93
8.0.60.0040.00416.79
8.0.50.0080.00016.99
8.0.30.0100.00917.12
8.0.20.0090.01017.40
8.0.10.0040.00416.94
8.0.00.0110.00616.90
7.4.330.0050.00015.55
7.4.320.0030.00316.80
7.4.300.0030.00316.70
7.4.290.0000.00716.74
7.4.280.0000.00716.63
7.4.270.0030.00316.72
7.4.260.0000.00716.65
7.4.250.0040.00416.64
7.4.240.0050.00316.66
7.4.230.0000.00716.66
7.4.220.0040.01516.68
7.4.210.0050.01116.86
7.4.200.0050.00216.78
7.4.160.0110.00516.58
7.4.150.0090.00917.40
7.4.140.0100.01117.86
7.4.130.0090.00916.65
7.4.120.0110.00916.57
7.4.110.0070.01016.70
7.4.100.0130.00416.47
7.4.90.0140.00716.70
7.4.80.0070.01219.39
7.4.70.0120.00416.51
7.4.60.0110.00516.57
7.4.50.0030.00916.47
7.4.40.0130.00316.57
7.4.30.0130.00316.67
7.4.00.0030.01214.88
7.3.330.0030.00313.24
7.3.320.0030.00313.26
7.3.310.0030.00316.32
7.3.300.0040.00416.31
7.3.290.0070.00716.25
7.3.280.0110.00716.27
7.3.270.0130.00717.40
7.3.260.0070.01316.31
7.3.250.0060.01116.39
7.3.240.0120.00816.58
7.3.230.0150.00316.35
7.3.210.0060.00916.30
7.3.200.0120.00616.47
7.3.190.0150.00316.36
7.3.180.0080.00816.44
7.3.170.0170.00316.30
7.3.160.0110.00716.71
7.2.330.0060.01216.63
7.2.320.0130.00916.81
7.2.310.0060.01116.66
7.2.300.0060.01516.76
7.2.290.0110.00516.61
7.2.60.0000.01416.97
7.2.50.0190.00016.65
7.1.200.0070.00416.01
7.1.70.0000.00717.33
7.1.60.0040.00717.54
7.1.50.0000.01417.14
7.1.40.0030.00716.89
7.1.30.0030.01016.84
7.1.20.0070.00716.72
7.1.10.0080.00616.57
7.1.00.0040.00417.11
7.0.200.0000.00716.62
7.0.190.0000.00816.89
7.0.180.0040.00416.41
7.0.170.0000.00716.22
7.0.160.0000.01016.61
7.0.150.0030.01416.23
7.0.140.0000.01016.46
7.0.130.0000.01116.72
7.0.120.0000.00816.63
7.0.110.0050.00216.59
7.0.100.0040.00416.64
7.0.90.0040.00416.67
7.0.80.0030.00616.48
7.0.70.0030.00516.59
7.0.60.0000.00716.43
7.0.50.0000.00916.49
7.0.40.0000.00716.22
7.0.30.0000.00716.22
7.0.20.0000.00816.22
7.0.10.0040.00416.22
7.0.00.0040.00416.22

preferences:
36.43 ms | 401 KiB | 5 Q