History log of /PHP-8.3/ext/date/php_date.c (Results 176 – 200 of 764)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 0f7f1498 15-Nov-2018 Dmitry Stogov

Use ZEND_THIS macro to hide implementation details in extensions code.


# 8bda2259 14-Nov-2018 Dmitry Stogov

Eliminate useless $this related check


# c6ad0b92 13-Nov-2018 Dmitry Stogov

Replace getThis() by EX(This), when additional check is not necessary.


# 1270e500 04-Oct-2018 Nikita Popov

Migrate ext/date to get_properties_for where appropriate

This resolves the long-standing issue where var_dump
a DateTime (etc) object makes a number of additional properties
accessib

Migrate ext/date to get_properties_for where appropriate

This resolves the long-standing issue where var_dump
a DateTime (etc) object makes a number of additional properties
accessible, which may also change other behaviors as a side-effect.

show more ...


# c097acd5 11-Jul-2018 Adam Saponara

Fix #75851: Year component overflow with date formats "c", "o", "r" and "y"


# 8939c4d9 05-Sep-2018 Dmitry Stogov

Get rid of ZEND_ACC_CTOR, ZEND_ACC_DTOR and ZEND_ACC_IMPLEMENTED_ABSTRACT


# 84b195d9 10-Aug-2018 Gabriel Caruso

Fix some misspellings


# 8d3f8ca1 03-Jul-2018 Peter Kokot

Remove unused Git attributes ident

The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
use

Remove unused Git attributes ident

The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.

In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.

This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.

show more ...


# 7d4e18b0 12-Jul-2018 Dmitry Stogov

Improved user iterator implementation to reduce zend_class_entry memory consumption and avoid race condition during resolving/caching of user iterator functions of internal classes in ZTS build.


# b6cc4d20 05-Jul-2018 Dmitry Stogov

Use zval_ptr_dtor() instead of zval_dtor() in internal functions that destroy new created object (This is safer and produces less code)


# 4a475a49 04-Jul-2018 Dmitry Stogov

Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized destructors.
zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places.
Its occur

Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized destructors.
zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places.
Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.

show more ...


# 72128294 12-Jun-2018 Anatol Belski

Fixed bug #76462 Undefined property: DateInterval::$f


# e0290192 08-Jun-2018 Nikita Popov

Deduplicate code using php_timezone_to_string()

Looks like this usage was overlooked when the function was
introduced.


# ad52ec3d 18-Feb-2018 David Carlier

cast to int to disable compilation warnings.


# f2b4ec4b 31-May-2018 Dmitry Stogov

Export standard object handlers, to avoid indirect access


# 11b5ec49 11-May-2018 Pavel Kovář

Export php_date_get_interval_ce() and php_date_get_period_ce() for extension use


# 524f5245 08-May-2018 Dmitry Stogov

Avoid useless checks, using zend_string_efree(), in cases where the string is known to be a temporary allocated zend_string.


# 63934ea7 24-Mar-2018 Gabriel Caruso

Fix #76131 some arginfo params are different from the documentation


# caa32517 10-Mar-2018 Gabriel Caruso

Use ZEND_ARG_ARRAY_INFO in DateTime*::__set_state


# ef255c9f 27-Feb-2018 Christoph M. Becker

Revert "[ci skip] Add missing return types to protos"

This reverts commit a2c7c46d5ef5b9fc945d7b655d31d5c9f1a72d34.

Since apparently there have been some mistakes in this commit, an

Revert "[ci skip] Add missing return types to protos"

This reverts commit a2c7c46d5ef5b9fc945d7b655d31d5c9f1a72d34.

Since apparently there have been some mistakes in this commit, and it's
not clear yet how to solve them, we're reverting for now.

show more ...


# a2c7c46d 23-Feb-2018 Gabriel Caruso

[ci skip] Add missing return types to protos


# 1314f0fb 23-Feb-2018 Gabriel Caruso

Use int instead of long in protos


# f63393ae 20-Feb-2018 Anatol Belski

Fix possible memory leak


# ede663f3 19-Feb-2018 Nikita Popov

Convert iterator by reference errors to exceptions

I'm using RuntimeException in SPL, because other SPL classes that
throw this error used it. Error is used for everything else, because

Convert iterator by reference errors to exceptions

I'm using RuntimeException in SPL, because other SPL classes that
throw this error used it. Error is used for everything else, because
that's what core does.

show more ...


# f44f9d62 17-Feb-2018 Anatol Belski

Remove always true condition


12345678910>>...31