php
define in PHP
Syntax of define in PHP bool define(string name, mixed value[, int case_insensitive]) Defines a constant named name and sets its value to value. If case_insensitive is set and is true, the operation fails if a constant with the same name, compared case insensitively, is previously defined. Otherwise, the check for existing constants is done case … Read more
debug_print_backtrace in PHP
Syntax of debug_print_backtrace void debug_print_backtrace() Prints the current debug backtrace (see debug_backtrace) to the client Example of debug_print_backtrace #0 c() called at [/tmp/include.php:10] #1 b() called at [/tmp/include.php:6] #2 a() called at [/tmp/include.php:17] #3 include(/tmp/include.php) called at [/tmp/test.php:3]
debug_backtrace in PHP
Syntax of debug_backtrace array debug_backtrace([ int options [, int limit ]]) Returns an array of associative arrays containing a backtrace of where PHP is currently executing. One element is included per function or file include, with the following elements function If in a function, the function’s name as a stringline The line number within the … Read more
date_sunset in PHP
Syntax of date_sunset mixed date_sunset(int timestamp[, int format[, float latitude[, float longitude[, float zenith[, float gmt_offset]]]]]) Returns the time of the sunset for the day in timestamp; false on failure. The format parameter determines the format the time is returned as (with a default of SUNFUNCS_RET_STRING), while the latitude, longitude, zenith, and gmt_offset parameters provide … Read more
date_sunrise in PHP
Syntax of date_sunrise in PHP mixed date_sunrise(int timestamp[, int format[, float latitude[, float longitude[, float zenith[, float gmt_offset]]]]]) Returns the time of the sunrise for the day in timestamp; false on failure. The format parameter determines the format the time is returned as (with a default of SUNFUNCS_RET_STRING), while the latitude, longitude, zenith, and gmt_offset … Read more
date_parse_from_format in PHP
Syntax of date_parse_from_format array date_parse_from_format(string format, string time) Parses time into an associative array representing a date. The string time is given in the format specified by format, using the same character codes as described in date(). The returned array contains the following entries: year Yearmonth Monthday Day of the monthhour Hoursminute Minutessecond Secondsfraction Fractions … Read more