24#if TIMELIB_LONG_MAX == INT32_MAX
25# define PHP_DATE_SIZEOF_LONG 4
26#elif TIMELIB_LONG_MAX == INT64_MAX
27# define PHP_DATE_SIZEOF_LONG 8
29# error "Unknown TIMELIB LONG SIZE"
33#if PHP_DATE_SIZEOF_LONG == 4
34# define PHP_DATE_DOUBLE_FITS_LONG(d) (!((d) > (double)TIMELIB_LONG_MAX || (d) < (double)TIMELIB_LONG_MIN))
35#elif PHP_DATE_SIZEOF_LONG == 8
37# define PHP_DATE_DOUBLE_FITS_LONG(d) (!((d) >= (double)TIMELIB_LONG_MAX || (d) < (double)TIMELIB_LONG_MIN))
41#define PHP_DATE_VERSION PHP_VERSION
44#define phpext_date_ptr &date_module_entry
67#define Z_PHPDATE_P(zv) php_date_obj_from_obj(Z_OBJ_P((zv)))
84#define Z_PHPTIMEZONE_P(zv) php_timezone_obj_from_obj(Z_OBJ_P((zv)))
86#define PHP_DATE_CIVIL 1
87#define PHP_DATE_WALL 2
102#define Z_PHPINTERVAL_P(zv) php_interval_obj_from_obj(Z_OBJ_P((zv)))
121#define Z_PHPPERIOD_P(zv) php_period_obj_from_obj(Z_OBJ_P((zv)))
130#define DATEG(v) ZEND_MODULE_GLOBALS_ACCESSOR(date, v)
139#define _php_strftime php_strftime
158#define PHP_DATE_INIT_CTOR 0x01
159#define PHP_DATE_INIT_FORMAT 0x02
#define PHP_MSHUTDOWN_FUNCTION
#define PHP_MINIT_FUNCTION
#define PHP_MINFO_FUNCTION
#define PHP_RINIT_FUNCTION
#define PHP_RSHUTDOWN_FUNCTION
zend_module_entry date_module_entry
PHPAPI zend_long php_parse_date(const char *string, zend_long *now)
PHPAPI zend_class_entry * php_date_get_immutable_ce(void)
struct _php_timezone_obj php_timezone_obj
PHPAPI zend_class_entry * php_date_get_date_ce(void)
PHPAPI zend_class_entry * php_date_get_period_ce(void)
PHPAPI zend_class_entry * php_date_get_interface_ce(void)
struct _php_interval_obj php_interval_obj
PHPAPI int php_idate(char format, time_t ts, bool localtime)
PHPAPI zend_string * php_format_date_obj(const char *format, size_t format_len, php_date_obj *date_obj)
struct _php_date_obj php_date_obj
PHPAPI timelib_tzinfo * get_timezone_info(void)
PHPAPI bool php_date_initialize_from_ts_double(php_date_obj *dateobj, double ts)
PHPAPI zend_string * php_format_date(const char *format, size_t format_len, time_t ts, bool localtime)
PHPAPI zend_class_entry * php_date_get_timezone_ce(void)
PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb)
PHPAPI time_t php_time(void)
PHPAPI void php_strftime(INTERNAL_FUNCTION_PARAMETERS, bool gm)
PHPAPI bool php_date_initialize(php_date_obj *dateobj, const char *time_str, size_t time_str_len, const char *format, zval *timezone_object, int flags)
PHPAPI void php_mktime(INTERNAL_FUNCTION_PARAMETERS, bool gmt)
timelib_error_container * last_errors
struct _php_period_obj php_period_obj
PHPAPI zval * php_date_instantiate(zend_class_entry *pce, zval *object)
PHPAPI zend_class_entry * php_date_get_interval_ce(void)
PHPAPI void php_date_initialize_from_ts_long(php_date_obj *dateobj, zend_long sec, int usec)
date(string $format, ?int $timestamp=null)
localtime(?int $timestamp=null, bool $associative=false)
zend_string * date_string
timelib_rel_time * interval
zend_class_entry * start_ce
union _php_timezone_obj::@213245010343033015320150043202117071337023242314 tzi
struct _timelib_error_container timelib_error_container
struct _timelib_tzdb timelib_tzdb
struct _timelib_time timelib_time
struct _timelib_rel_time timelib_rel_time
signed long long timelib_sll
struct _timelib_tzinfo timelib_tzinfo
struct _timelib_abbr_info timelib_abbr_info
#define INTERNAL_FUNCTION_PARAMETERS
#define ZEND_END_MODULE_GLOBALS(module_name)
#define ZEND_MODULE_POST_ZEND_DEACTIVATE_D(module)
#define ZEND_BEGIN_MODULE_GLOBALS(module_name)
struct _zend_string zend_string
struct _zend_module_entry zend_module_entry
#define XtOffsetOf(s_type, field)
struct _zend_class_entry zend_class_entry
struct _zend_object zend_object
struct _zend_array HashTable