History log of /php-src/ext/date/php_date.c (Results 226 – 250 of 947)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 00cfa1a3 18-Mar-2019 Nikita Popov

Merge branch 'PHP-7.2' into PHP-7.3


# a573c0e9 18-Mar-2019 Nikita Popov

Fix unused variable warning

# d209ccd4 17-Mar-2019 Derick Rethans

Merge branch 'PHP-7.2' into PHP-7.3


# ab07bc1f 17-Mar-2019 Derick Rethans

Fixed 7.2 compat issue

# ed2cbd49 17-Mar-2019 Derick Rethans

Merge branch 'PHP-7.4'


# 0325e78f 17-Mar-2019 Derick Rethans

Merge branch 'PHP-7.3' into PHP-7.4


# 7e7ef44f 17-Mar-2019 Derick Rethans

Merge branch 'PHP-7.2' into PHP-7.3


# 6eb83a63 26-Feb-2019 Ignace Nyamagana Butera

Fixed bug #75113: Added DatePeriod::getRecurrences() method.

# 4b3da123 14-Mar-2019 Peter Kokot

Merge branch 'PHP-7.4'

* PHP-7.4:
Remove HAVE_STRFTIME


# 3a857852 13-Mar-2019 Peter Kokot

Remove HAVE_STRFTIME

Function strftime is part of the C89 standard [1] and current systems
don't need to check for its presence anymore.

Additionally, checks for strftime functi

Remove HAVE_STRFTIME

Function strftime is part of the C89 standard [1] and current systems
don't need to check for its presence anymore.

Additionally, checks for strftime function in tests have been removed
since the PHP strftime function is now always available.

1: https://port70.net/~nsz/c/c89/c89-draft.html

show more ...

# 513b7679 05-Feb-2019 Nikita Popov

Make zpp failures always throw, independent of strict_types

Previously zend_parse_parameters (and FastZPP) would handle invalid
arguments depending on strict_types: With strict_types=1,

Make zpp failures always throw, independent of strict_types

Previously zend_parse_parameters (and FastZPP) would handle invalid
arguments depending on strict_types: With strict_types=1, a TypeError
is thrown, with strict_types=0 a warning is thrown and (usually) NULL
is returned. Additionally, some functions (constructors always and
other methods sometimes) opt-it to throwing regardless of strict_types.

This commit changes zpp to always generate a TypeError exception in
PHP 8.

show more ...

# f3fad10d 04-Mar-2019 Peter Kokot

Merge branch 'PHP-7.4'

* PHP-7.4:
Replace PHP_TM_GMTOFF with AC_CHECK_MEMBERS


# a8c3e22d 03-Mar-2019 Peter Kokot

Replace PHP_TM_GMTOFF with AC_CHECK_MEMBERS

Changes:
- PHP_TM_GMTOFF removed
- HAVE_TM_GMTOFF replaced with HAVE_STRUCT_TM_TM_GMTOFF
- HAVE_TM_ZONE replaced with HAVE_STRUCT_TM_T

Replace PHP_TM_GMTOFF with AC_CHECK_MEMBERS

Changes:
- PHP_TM_GMTOFF removed
- HAVE_TM_GMTOFF replaced with HAVE_STRUCT_TM_TM_GMTOFF
- HAVE_TM_ZONE replaced with HAVE_STRUCT_TM_TM_ZONE
- HAVE_TZNAME removed

The PHP_TM_GMTOFF macro can be replaced with Autoconf's AC_CHECK_MEMBERS
that defines the HAVE_STRUCT_TM_TM_GMTOFF symbol instead of the
HAVE_TM_ZONE.

The HAVE_TZNAME symbol is not used in current code. The obsolete
HAVE_TM_ZONE symbol has been replaced with more proper
HAVE_STRUCT_TM_TM_ZONE. These are defined by the AC_STRUCT_TIMEZONE
macro.

show more ...

# 29f15a13 28-Feb-2019 Derick Rethans

Merge branch 'PHP-7.4'


# 9624e87a 28-Feb-2019 Derick Rethans

Merge branch 'PHP-7.3' into PHP-7.4


# d63a7aa6 28-Feb-2019 Derick Rethans

Merge branch 'PHP-7.2' into PHP-7.3


# a890c5be 28-Feb-2019 Derick Rethans

Fixed bug #50020 (DateInterval:createDateFromString() silently fails)

# d373d13d 12-Feb-2019 Johannes Schlüter

Merge branch 'PHP-7.4'


# e27af3bb 12-Feb-2019 Nikita Popov

Merge branch 'PHP-7.3' into PHP-7.4


# 8ed775f5 12-Feb-2019 Nikita Popov

Merge branch 'PHP-7.2' into PHP-7.3


# a109fddb 12-Feb-2019 Nikita Popov

Remove "defensive copy" of DatePeriod properties

get_properties() constructs these as fresh objects with no relation
to the internals, there is no need to clone them again. Additionally

Remove "defensive copy" of DatePeriod properties

get_properties() constructs these as fresh objects with no relation
to the internals, there is no need to clone them again. Additionally
the current implementation leaks memory, because the original objects
are never freed (see PR #3121).

show more ...

# 91ef4124 31-Jan-2019 Dmitry Stogov

Refactor zend_object_handlers API to pass zend_object* and zend_string* insted of zval(s).

# 623911f9 03-Feb-2019 Peter Kokot

Merge branch 'PHP-7.4'

* PHP-7.4:
Remove local variables


# 92ac598a 22-Jan-2019 Peter Kokot

Remove local variables

This patch removes the so called local variables defined per
file basis for certain editors to properly show tab width, and
similar settings. These are mainly

Remove local variables

This patch removes the so called local variables defined per
file basis for certain editors to properly show tab width, and
similar settings. These are mainly used by Vim and Emacs editors
yet with recent changes the once working definitions don't work
anymore in Vim without custom plugins or additional configuration.
Neither are these settings synced across the PHP code base.

A simpler and better approach is EditorConfig and fixing code
using some code style fixing tools in the future instead.

This patch also removes the so called modelines for Vim. Modelines
allow Vim editor specifically to set some editor configuration such as
syntax highlighting, indentation style and tab width to be set in the
first line or the last 5 lines per file basis. Since the php test
files have syntax highlighting already set in most editors properly and
EditorConfig takes care of the indentation settings, this patch removes
these as well for the Vim 6.0 and newer versions.

With the removal of local variables for certain editors such as
Emacs and Vim, the footer is also probably not needed anymore when
creating extensions using ext_skel.php script.

Additionally, Vim modelines for setting php syntax and some editor
settings has been removed from some *.phpt files. All these are
mostly not relevant for phpt files neither work properly in the
middle of the file.

show more ...

# 5a2787a0 30-Jan-2019 Nikita Popov

Require at least one arg for mktime/gmmktime

12345678910>>...38