History log of /php-src/ext/standard/basic_functions.c (Results 176 – 200 of 1641)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-7.3.7RC2, php-7.2.20RC2
# 3d759e11 16-Jun-2019 Joe Watkins

Merge branch 'PHP-7.4'

* PHP-7.4:
Use uint64_t for time_sleep_until calculations


# 4befe320 16-Jun-2019 Nikita Popov

Use uint64_t for time_sleep_until calculations

Revision tags: php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1
# d3ed9d81 05-Jun-2019 Nikita Popov

Make sure array_splice() always returns an array

Return an array even if the return value isn't used. This allows us
to add the arginfo return type.

# 7686b0b8 05-Jun-2019 Nikita Popov

Merge branch 'PHP-7.4'


Revision tags: php-7.2.19, php-7.3.6, php-7.1.30, php-7.2.19RC1, php-7.3.6RC1, php-7.1.29, php-7.2.18, php-7.3.5, php-7.2.18RC1, php-7.3.5RC1, php-7.2.17, php-7.3.4, php-7.1.28, php-7.3.4RC1, php-7.2.17RC1, php-7.1.27, php-7.3.3, php-7.2.16
# a31f4642 26-Feb-2019 Nikita Popov

Allow exceptions in __toString()

RFC: https://wiki.php.net/rfc/tostring_exceptions

And convert some object to string conversion related recoverable
fatal errors into Error excep

Allow exceptions in __toString()

RFC: https://wiki.php.net/rfc/tostring_exceptions

And convert some object to string conversion related recoverable
fatal errors into Error exceptions.

Improve exception safety of internal code performing string
conversions.

show more ...

# 192170a3 29-May-2019 Gabriel Caruso

Add return type to some array_* functions

# 7393777d 30-May-2019 Gabriel Caruso

Add return type for string functions

# f3f159a7 30-May-2019 Gabriel Caruso

Add double return type for math functions

# edd7fb2a 29-May-2019 Gabriel Caruso

Add boolean return type for is_* functions

# d95c15e3 28-May-2019 Nikita Popov

Update MAY_BE_NULL for parts of ext/standard

Also update proto comments to be more accurate.

# 0b66563e 28-May-2019 Nikita Popov

Merge branch 'PHP-7.4'


# 77cf3d7b 16-May-2019 Dik Takken

Allow array_merge() / array_merge_recursive() without arguments

This allows writing

array_merge(...$arrays)

instead of

array_merge([], ...$arrays)

Allow array_merge() / array_merge_recursive() without arguments

This allows writing

array_merge(...$arrays)

instead of

array_merge([], ...$arrays)

and is in line with similar changes to array_push() and array_unshift()
in PHP 7.3.

Closes GH-4175.

show more ...

# 521a919c 28-May-2019 Nikita Popov

Add return type information to some ext/standard functions

Just the first few functions in basic_functions.c to get started.

If anyone is interested in continuing this, PRs to add t

Add return type information to some ext/standard functions

Just the first few functions in basic_functions.c to get started.

If anyone is interested in continuing this, PRs to add type info
will be accepted against master, with the following caveats:

* Return types only, we are not ready to add argument types yet.
* Only for functions. For methods the addition of return types is
BC breaking and needs to be carefully considered.
* Only in cases where we can actually express the return type, we
don't have int|false and similar.

show more ...

# 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.

# 2f97bb6c 12-Apr-2019 Nikita Popov

Add test for get_cfg_var with array variable

And fix incorrect variable shadowing in add_config_entry(). However,
the test doesn't hit this case, as it requires a nested array. I'm
n

Add test for get_cfg_var with array variable

And fix incorrect variable shadowing in add_config_entry(). However,
the test doesn't hit this case, as it requires a nested array. I'm
not sure if it's possible to produce nested arrays from ini?

show more ...

# 733c61a8 12-Apr-2019 Nikita Popov

Add test for get_cfg_var with array variable

And fix incorrect variable shadowing in add_config_entry(). However,
the test doesn't hit this case, as it requires a nested array. I'm
n

Add test for get_cfg_var with array variable

And fix incorrect variable shadowing in add_config_entry(). However,
the test doesn't hit this case, as it requires a nested array. I'm
not sure if it's possible to produce nested arrays from ini?

show more ...

# 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 ...

# abd0e015 29-Mar-2019 Joe Watkins

Merge branch 'PHP-7.4'

* PHP-7.4:
tsrm environment lock


# 072eb6dd 29-Mar-2019 Joe Watkins

tsrm environment lock

# bbdc5d1d 11-Mar-2019 Nikita Popov

Merge branch 'PHP-7.4'


# 9f6f6fe2 10-Mar-2019 c9s

Remove function_table var from the caller

function_table var is not used in call_user_function macro anymore
hence replace the usage with NULL

# 20addf88 23-Feb-2019 Peter Kokot

Merge branch 'PHP-7.4'

* PHP-7.4:
Remove unused PHP_AC_BROKEN_SPRINTF and AC_ZEND_BROKEN_SPRINTF


12345678910>>...66