The second parameter of the date() function is a unix timestamp, an integer. Supplying it the string ‘05-20’, would result in an integer value of 5, which would be 5 seconds after the unix epoch and the result of that date() call would give you the month and day that unix epoch occurred on. This is pretty meaningless from a programming standpoint. That you are not getting an error message on your remote server just means that php’s error related settings are not set up to show you all errors.
What overall goal is this line of code trying to accomplish? If you are trying to get the month and day value of a string date, you can just do that directly using php’s substr() function.