Write a PHP function that receives two date strings and returns an integer with how many weekend days, Saturday or Sunday, occur within that date range. Optimize that function as much as possible.