How can I read the current time in PHP?

To read the current time in PHP, you can use the date() function with the 'H:i:s' format specifier to display the current hour, minute, and second. This function returns a string representing the current date and time based on the provided format.

$current_time = date('H:i:s');
echo "Current time is: " . $current_time;