Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $pattern = "/\/envato\/followers(.*)statnum\">([^<]+)/is";
- preg_match_all($pattern, $td_data, $matches);
- if (!empty($matches[2])) {
- $td_buffer_counter_fix = $this->extract_numbers_from_string($matches[1]);
- // $td_buffer_counter_fix = str_replace(',','', $matches[1][0]);
- $buffy_array = (int) $td_buffer_counter_fix;
- if (!empty($buffy_array) and is_numeric($buffy_array)) {
- $twitter_worked = true; //skip twitter second check it worked!
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement