What do the parameters in mktime brackets mean? I don't know much about them. I also read the manual mktime (, 0, date (m), date (d), date (Y )); ------ solution -------------------- intmktime ([int $ hour [, int $ minute [, int $ second [, int $ month [, what do the parameters in the brackets of mktime mean? I can't quite understand it. I also read the manual.
Mktime (0, 0, 0, date ('M'), date ('D'), date ('Y '));
------ Solution --------------------
Int mktime ([int $ hour [, int $ minute [, int $ second [, int $ month [, int $ day [, int $ year [, int $ is_dst])
The manual makes it clear that the parameters of the six integer parameters, namely, hour, minute, second, month, day, and year, can be omitted from right to left. the default value is the current value.
Your code returns the timestamp of the early morning of the current day. In fact, the last three parameters can be omitted.