What is the return type of the time() function in PHP?
- string
- integer
- array
- boolean
The time() function returns the current Unix timestamp as an integer. To explore more about the time() function, you can check: http://php.net/manual/en/function.time.php
Loading...
Related Quiz
- The filter_var() function with the FILTER_SANITIZE_STRING filter is used to sanitize a string in PHP.
- In PHP, integers can be specified in decimal (base 10), hexadecimal (base 16), octal (base 8), and ______ (base 2) format.
- How can you create a file in PHP?
- What is the static variable in a function useful for?
- What is an indexed array in PHP?