History log of /PHP-8.1/ext/standard/string.c (Results 176 – 200 of 1245)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# e188e417 24-Apr-2019 Dmitry Stogov

Use ZEND_TRY_ASSIGN_REF_... macros for arguments passed to internal function by reference

# 2e4686b5 24-Apr-2019 Dmitry Stogov

Use ZEND_TRY_ASSIGN_REF_... macros for arguments passed to internal function by reference


# 34db0756 24-Apr-2019 Dmitry Stogov

Use ZEND_TRA_ASSIGN_REF_... macros for by reference arguments of internal functions.

# 3fab73e2 12-Apr-2019 Nikita Popov

Avoid misc uninitialized variable warnings

# 339b0af4 12-Apr-2019 Nikita Popov

Avoid misc uninitialized variable warnings

# a36c856b 08-Apr-2019 Peter Kokot

Merge branch 'PHP-7.4'

* PHP-7.4:
Remove HAVE_STRERROR


# e6a6017f 08-Apr-2019 Peter Kokot

Remove HAVE_STRERROR

Checking for the strerror function presence is no longer needed since it
is part of the C89 standard [1] and can be safely assumed that all
current systems have

Remove HAVE_STRERROR

Checking for the strerror function presence is no longer needed since it
is part of the C89 standard [1] and can be safely assumed that all
current systems have it.

Check in the configure.ac and Windows defined symbol are still left
until the file library (libmagic) will be updated.

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

show more ...

# aebf80e5 08-Apr-2019 Nikita Popov

Merge branch 'PHP-7.4'


# c3ca4dd5 08-Apr-2019 Nikita Popov

Merge branch 'PHP-7.3' into PHP-7.4


# 08a30628 08-Apr-2019 Nikita Popov

Merge branch 'PHP-7.2' into PHP-7.3


# d7b5954f 08-Apr-2019 Nikita Popov

Fixed bug #77853

# e6f86fb1 07-Apr-2019 Peter Kokot

Merge branch 'PHP-7.4'

* PHP-7.4:
Remove checks for locale.h, setlocale, localeconv


# e06836a1 24-Feb-2019 Peter Kokot

Remove checks for locale.h, setlocale, localeconv

The `<loccale.h>` header file, setlocale, and localeconv are part of the
standard C89 [1] and on current systems can be used uncondition

Remove checks for locale.h, setlocale, localeconv

The `<loccale.h>` header file, setlocale, and localeconv are part of the
standard C89 [1] and on current systems can be used unconditionally.

Since PHP 7.4 requires at least C89 or greater, the `HAVE_LOCALE_H`,
`HAVE_SETLOCALE`, and `HAVE_LOCALECONV` symbols defined by Autoconf in
configure.ac [2] can be ommitted and simplifed.

The bundled libmagic (file) has also been patched already in version
5.35 and up in upstream location so when it will be patched also in
php-src the check for locale.h header is still left in the configure.ac
and in windows headers definition file.

[1] https://port70.net/~nsz/c/c89/c89-draft.html#4.4
[2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4

Omit the bundled libmagic files

show more ...

# 309edb07 07-Apr-2019 Peter Kokot

Merge branch 'PHP-7.4'

* PHP-7.4:
Remove HAVE_LIMITS_H


# fd1ad1e2 07-Apr-2019 Peter Kokot

Remove HAVE_LIMITS_H

The `<limits.h>` header file is part of the standard C89 headers [1]
and on current systems can be included unconditionally.

Since PHP requires at least C89

Remove HAVE_LIMITS_H

The `<limits.h>` header file is part of the standard C89 headers [1]
and on current systems can be included unconditionally.

Since PHP requires at least C89 or greater, the `HAVE_LIMITS_H` symbol
defined by Autoconf in configure.ac [2] can be ommitted and simplifed
however due to bundled file library (libmagic) and timelib still using
it, the removal there was omitted and done only in Zend.m4 file.

Current bundled libraries libtime, oniguruma, and libmagic still include
partial `HAVE_LIMITS_H` usage and will be more refactored when this is
possible.

Refs:
[1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2
[2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4

show more ...

# ba2269ab 30-Mar-2019 Anatol Belski

Fix memory leak

Revision tags: php-7.3.3RC1, php-7.2.16RC1
# 879cd049 18-Feb-2019 Nikita Popov

Merge branch 'PHP-7.4'


# 9249d820 18-Feb-2019 Tyson Andre

Fix typos in code comments [skip ci]

# bd13c209 14-Feb-2019 Nikita Popov

Merge branch 'PHP-7.4'


# 96daef04 14-Feb-2019 Nikita Popov

Make ABI of SIMD optimized functions independent of compiler flags

Always export these as normal functions and only use function pointers
internally if necessary.

# fdb85a82 11-Feb-2019 Nikita Popov

Return empty str from quotemeta() on empty str

Revision tags: php-7.2.15, php-7.3.2
# 623911f9 03-Feb-2019 Peter Kokot

Merge branch 'PHP-7.4'

* PHP-7.4:
Remove local variables


Revision tags: php-7.2.15RC1
# 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 ...

# 0cf7de1c 30-Jan-2019 Zeev Suraski

Remove yearly range from copyright notice

# 38c337f2 30-Jan-2019 Zeev Suraski

Remove year range from copyright notice

12345678910>>...50