Home
last modified time | relevance | path

Searched refs:z_date (Results 1 – 1 of 1) sorted by relevance

/PHP-7.3/ext/date/
H A Dphp_date.c2922 zval *z_date; in php_date_initialize_from_hash() local
2926 z_date = zend_hash_str_find(myht, "date", sizeof("date")-1); in php_date_initialize_from_hash()
2927 if (z_date && Z_TYPE_P(z_date) == IS_STRING) { in php_date_initialize_from_hash()
2935 char *tmp = emalloc(Z_STRLEN_P(z_date) + Z_STRLEN_P(z_timezone) + 2); in php_date_initialize_from_hash()
2937 …snprintf(tmp, Z_STRLEN_P(z_date) + Z_STRLEN_P(z_timezone) + 2, "%s %s", Z_STRVAL_P(z_date), Z_STRV… in php_date_initialize_from_hash()
2938 …ret = php_date_initialize(*dateobj, tmp, Z_STRLEN_P(z_date) + Z_STRLEN_P(z_timezone) + 1, NULL, NU… in php_date_initialize_from_hash()
2958 … ret = php_date_initialize(*dateobj, Z_STRVAL_P(z_date), Z_STRLEN_P(z_date), NULL, &tmp_obj, 0); in php_date_initialize_from_hash()

Completed in 23 milliseconds