Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $last_post_num = 1082309;
- $posts = array_filter($posts, function($v) use (&$posts,&$last_post_num) {
- $k = key($posts);
- if ($k > $last_post_num){
- next($posts);
- return true;
- }
- else {
- next($posts);
- return false;
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment