History log of /PHP-8.0/ext/standard/basic_functions_arginfo.h (Results 1 – 25 of 145)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 36de002c 02-Apr-2022 Michael Voříšek

Verify generated files are up to date in CI

Closes GH-8295


# c5f4ee50 22-Dec-2021 Christoph M. Becker

$context parameter of get_headers() is nullable

Closes GH-7813.


# 2127b49c 11-Oct-2021 Máté Kocsis

String default values are enclosed in quotes rather than apostrophes


# c58a9f2a 24-Aug-2021 Máté Kocsis

Declare a few missing function return types

Closes GH-7395


# b6fa3867 14-Jun-2021 Nikita Popov

Regenerate arginfo file


# 76d1120a 28-Apr-2021 Nikita Popov

Remove assert_options() return value info

The ASSERT_CALLBACK value is not validated at all -- it's possible
to set it to an arbitrary value. As such, the function can also
return an

Remove assert_options() return value info

The ASSERT_CALLBACK value is not validated at all -- it's possible
to set it to an arbitrary value. As such, the function can also
return any value or type (even without outright abuse, the opcache
func info was wrong in that the return can be rcn, and the array
can be array_of_ref).

show more ...


# 4e98e65d 11-Apr-2021 Rowan Tommins

Remove the "getdir" function which was introduced accidentally

The actual name of this function is dir(), but ever since it was
introduced in PHP 3, its internal name was "getdir", leadi

Remove the "getdir" function which was introduced accidentally

The actual name of this function is dir(), but ever since it was
introduced in PHP 3, its internal name was "getdir", leading to it
being mistaken for an alias. This went unnoticed until the switch
to stubs for generating arginfo, at which point getdir() became a
real but undocumented function.

Fixes bug #80914.

Closes GH-6855.

show more ...


# cec5e308 11-Feb-2021 Nikita Popov

Don't return null from password_get_info()

The get_info() handler should never fail, but even if it does,
we should still return a proper info array -- it doesn't make
sense that a c

Don't return null from password_get_info()

The get_info() handler should never fail, but even if it does,
we should still return a proper info array -- it doesn't make
sense that a completely incorrect hash returns an info array,
but a hash that is recognized but for which the options can't
be extracted would return null.

show more ...


# cae0bcba 01-Jan-2021 Christoph M. Becker

Fix parameter name

Levenshtein is about insertion, replacement and deletion.

Closes GH-6560.


Revision tags: php-8.0.0, php-7.3.25, php-7.4.13, php-8.0.0RC5, php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1
# 73321bc3 04-Nov-2020 Nikita Popov

getlastmod() can return false

At least this can happen during preloading.


Revision tags: php-7.4.12, php-8.0.0RC3, php-7.3.24
# 76e4bf30 24-Oct-2020 Máté Kocsis

Parameter type and name fixes in ext/standard

Closes GH-6382


# f076ab0c 17-Oct-2020 Máté Kocsis

Fix #80229: assert_options should have int and bool for parameter PHPDoc

Closes GH-6348


Revision tags: php-8.0.0RC2, php-7.4.12RC1, php-7.3.24RC1
# 68195bd4 06-Oct-2020 Nikita Popov

Update ext/spl parameter names

Closes GH-6284.


# 79484b4f 05-Oct-2020 Nikita Popov

Update ext/sockets parameter names

Also change $max_length to $length in a number of filesystem APIs,
where our usage was inconsistent.

Closes GH-6276.


# d9dce839 05-Oct-2020 Nikita Popov

Update ext/posix parameter names

Closes GH-6275.


# e9c70729 01-Oct-2020 Máté Kocsis

Review parameter names in ext/zlib

Closes GH-6250


Revision tags: php-7.2.34, php-8.0.0rc1, php-7.4.11, php-7.3.23
# 25f1c405 25-Sep-2020 Nikita Popov

Update ext/standard parameter names

Closes GH-6214.


# cafceea7 24-Sep-2020 Nikita Popov

Update mbstring parameter names

Closes GH-6207.


# 8067cf47 25-Sep-2020 Nikita Popov

Use callable type in register_shutdown_function()

To make things a bit less weird, split off the function name into
a zval stored separately from the arguments. This allows us to
use

Use callable type in register_shutdown_function()

To make things a bit less weird, split off the function name into
a zval stored separately from the arguments. This allows us to
use normal zpp and get standard behavior.

show more ...


# 43ce18f8 25-Sep-2020 Nikita Popov

Add proper count() parameter type

We can make this Countable|array now.


# 13b791c7 22-Sep-2020 Nikita Popov

Normalize substr() behavior

Make the behavior of substr(), mb_substr(), iconv_substr() and
grapheme_substr() consistent when it comes to the handling of
out of bounds offsets. substr

Normalize substr() behavior

Make the behavior of substr(), mb_substr(), iconv_substr() and
grapheme_substr() consistent when it comes to the handling of
out of bounds offsets. substr() will now always clamp out of
bounds offsets to the string boundary. Cases that previously
returned false will now return an empty string. This means that
substr() itself *always* returns a string now (like mb_substr()
already did before.)

Closes GH-6182.

show more ...


# de77344d 22-Sep-2020 Nikita Popov

Promote pack/unpack format errors

Errors related to invalid format strings (unlike data mismatch
errors) should throw ValueError.

Closes GH-6185.


# fdd9018b 22-Sep-2020 Nikita Popov

Support uuencoding empty string

Cross checking implementations from other languages, empty strings
are always allowed. PHP's output is peculiar due to it's insistence
to encode a tra

Support uuencoding empty string

Cross checking implementations from other languages, empty strings
are always allowed. PHP's output is peculiar due to it's insistence
to encode a trailing \0, but otherwise sensible and does round-trip
as expected.

show more ...


# e60f927f 22-Sep-2020 Nikita Popov

stream_bucket_new() cannot return false

php_stream_bucket_new() is infallible.


# 9ef2c5c3 22-Sep-2020 Nikita Popov

stream_get_transports/wrappers cannot return false

These may return an empty array, but not false.


123456