content); }); echo "
";
print_r($twts[1711985096]);
*/
$twts_filtered = [];
//print_r($twts_filtered);
// 2. Repalce original $twts with new $twts_filtered
//$twts = $twts_filtered
foreach ($twts as $twt) {
if (preg_match_all($pattern, $twt->content, $matches)) {
echo "
";
print_r($twt);
/*
$date = preg_filter('/^(?[^\t]+)\t(?.+)/', '\2', $matches[0]);
$entry = preg_filter('/^(?[^\t]+)\t(?.+)/', '\1', $matches[0]);
foreach ($date as $i => $tw) {
$post[$tw] = $entry[$i];
}
$post = array_reverse($post);
$perpage = 10;
if(isset($_GET['start'])) $start = $_GET['start']; else $start = 0;
$numposts = count($post);
$post = array_slice($post, $start, $perpage);
echo "
";
foreach ($post as $tw => $data) {
echo $tw;
echo "
";
}
*/
}
}
}