<?php
$item = <<<EOS
<tr>
<td class="vertTh">
<center>
<a href="/browse/200" title="More from this category">Video</a><br />
(<a href="/browse/201" title="More from this category">Movies</a>)
</center>
</td>
<td>
<div class="detName"> <a href="/torrent/8036528/Life.of.Pi.2012.DVDSCR" class="detLink" title="Details for Life.of.Pi.2012.DVDSCR">Life.of.Pi.2012.DVDSCR</a>
</div>
<a href="magnet:?xt=urn:btih:b129c8fd1c91b00589ef8fe646f52ce10148a3c9&dn=Life.of.Pi.2012.DVDSCR&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ftracker.istole.it%3A6969&tr=udp%3A%2F%2Ftracker.ccc.de%3A80" title="Download this torrent using magnet"><img src="//static.thepiratebay.se/img/icon-magnet.gif" alt="Magnet link" /></a><img src="//static.thepiratebay.se/img/icon_comment.gif" alt="This torrent has 67 comments." title="This torrent has 67 comments." /><img src="//static.thepiratebay.se/img/icon_image.gif" alt="This torrent has a cover image" title="This torrent has a cover image" /><a href="/user/scene4all"><img src="//static.thepiratebay.se/img/vip.gif" alt="VIP" title="VIP" style="width:11px;" border='0' /></a>
<font class="detDesc">Uploaded 01-18 17:41, Size 1.25 GiB, ULed by <a class="detDesc" href="/user/scene4all/" title="Browse scene4all">scene4all</a></font>
</td>
<td align="right">35990</td>
<td align="right">20394</td>
</tr>
EOS;
preg_match_all("@<td>(.*)</td>@", $item, $v);
var_dump($v);
- Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.36, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
- array(2) {
[0]=>
array(0) {
}
[1]=>
array(0) {
}
}
preferences:
236.16 ms | 406 KiB | 362 Q