What is the meaning of the function php:

function getdate (int $timestamp = "time ()"): array {}

write your own test, call this function with a timestamp and report an error, but there is this function in the project and there is a call to

related codes

/ / Please paste the code text below (do not replace the code with pictures)

can you know the meaning of this function? what does it do?

Php
Jun.03,2021
The

manual is clearly written. That is, the date information of the timestamp is returned, including the information of the year, month, day, hour, minute, week


clipboard.png

Menu