History log of /PHP-8.0/ext/standard/basic_functions_arginfo.h (Results 76 – 100 of 145)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 87ba975e 09-Apr-2020 Nikita Popov

Make touch() $atime parameter UNKNOWN

The actual default here is $time, not 0.


# 258c4dfd 09-Apr-2020 Nikita Popov

Mark rand/mt_rand args as UNKNOWN

The second argument should be mt_getrandmax(), not PHP_INT_MAX.
Additionally this function only accepts either zero or two arguments,
so err on the

Mark rand/mt_rand args as UNKNOWN

The second argument should be mt_getrandmax(), not PHP_INT_MAX.
Additionally this function only accepts either zero or two arguments,
so err on the side of being conservative and mark both UNKNOWN.

show more ...


# 1dcb5596 09-Apr-2020 Nikita Popov

Mark array_walk $userdata arg as UNKNOWN

It makes a difference whether this arg is not passed or is null.


# 3709e74b 06-Apr-2020 Máté Kocsis

Store default parameter values of internal functions in arg info

Closes GH-5353. From now on, PHP will have reflection information
about default values of parameters of internal function

Store default parameter values of internal functions in arg info

Closes GH-5353. From now on, PHP will have reflection information
about default values of parameters of internal functions.

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>

show more ...


# 2bcc4ab8 03-Apr-2020 Nikita Popov

Verify that all stubs have a return type


# 51bc6233 21-Feb-2020 Nikita Popov

Generate function entries from stubs

If @generate-function-entries is specified in the stub file,
also generate function entries for the extension.

Currently limited to free fun

Generate function entries from stubs

If @generate-function-entries is specified in the stub file,
also generate function entries for the extension.

Currently limited to free functions only.

show more ...


# 305b17e8 29-Mar-2020 Máté Kocsis

Do not include the same stub multiple times

Closes GH-5322


# 97cb81ea 23-Mar-2020 Nikita Popov

Remove HAVE_REALPATH checks

We do not actually use realpath(), but a custom implementation.
Make sure the realpath() function is always available.

Closes GH-5290.


# 1668ad7c 13-Feb-2020 Philipp Tanlak

Add str_contains() function

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

Closes GH-5179.


# 1892def3 21-Feb-2020 Nikita Popov

Add rand() to ext/standard stub


# c231bbb8 19-Feb-2020 Máté Kocsis

Remove restore_include_path()

Closes GH-5189


# 736b22dc 18-Feb-2020 Máté Kocsis

Add stubs for aliases

Closes GH-5187


# 7d0102df 17-Feb-2020 Christoph M. Becker

Revert "Replace @param annotations with type declarations"

This reverts commit c31029f335ca1b453af799805c43c37e959ad555.


# c31029f3 16-Feb-2020 Christoph M. Becker

Replace @param annotations with type declarations


# b442c89a 16-Feb-2020 Christoph M. Becker

Fix arginfo

These parameters accept int|float, since they are parsed with
`Z_PARAM_NUMBER`.


Revision tags: php-7.3.15, php-7.2.27, php-7.4.2, php-7.3.14, php-7.3.14RC1, php-7.4.2RC1
# d59bc807 18-Dec-2019 Máté Kocsis

Fix smaller issues with stubs

GH-5025


# 297b1f83 17-Dec-2019 Máté Kocsis

Fix return type of strval()

GH-5024


Revision tags: php-7.4.1, php-7.2.26, php-7.3.13
# d7b20823 16-Dec-2019 Máté Kocsis

Add stubs for standard library

Closes GH-5017


Revision tags: php-7.4.1RC1
# 2ab123b8 09-Dec-2019 Máté Kocsis

Convert string|array union parameter types

Closes GH-4995


# beee92a8 12-Dec-2019 Máté Kocsis

Remove support for mixing parameter order in implode()


Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25
# 37c11714 20-Nov-2019 Máté Kocsis

Promote warnings to exceptions in password_*() functions


# 4782e8e2 11-Dec-2019 George Peter Banyard

Return empty string instead of NULL in serialize().

Modifiy its return type accordingly and arginfo.


# 51eefd80 10-Dec-2019 Máté Kocsis

Add stubs for standard library


Revision tags: php-7.3.12
# 9563449d 11-Nov-2019 Máté Kocsis

Add stubs for another batch of standard functions


# 29ef0772 17-Nov-2019 Máté Kocsis

Remove magic quotes legacy


123456