PHP – const Keyword
The PHP const keyword is used to create constants, and must be declared in the global scope.
The PHP const keyword is used to create constants, and must be declared in the global scope.
The PHP continue keyword is used to is used to end the current iteration in a for, foreach, while or do…while loop, and continues to the next iteration.
The PHP copy() function copies a file. If the file already exists, it will be overwritten.
The PHP cos() function returns the cosine (a numeric value between -1 and 1) of a number.
The PHP cosh() function returns the hyperbolic cosine of a number (equivalent to (exp(number) + exp(-number)) / 2).
The PHP current() function returns the value of the current element (every array has an internal pointer to the “current” element) in an array.
The PHP date() function formats a local date and time, and returns the formatted date string.
The PHP date_add() function adds a specified number of days, months, years, hours, minutes, and seconds to a date.
The PHP date_create_from_format() function returns a new DateTime object formatted according to the specified format.
The PHP date_default_timezone_get() function returns the default timezone used by all date/time functions in the script.
The PHP date_default_timezone_set() function sets the default timezone used by all date/time functions in the script.
The PHP date_diff() function returns the difference between two DateTime objects.
The PHP date_format() function returns a date formatted according to the specified format.
The PHP date_get_last_errors() function returns the warnings/errors found while parsing a date string.
The PHP date_interval_create_from_date_string() function sets up a DateInterval from the relative parts of the string.
The PHP date_interval_format() function is an alias of DateInterval::format().