History log of /php-src/ext/standard/basic_functions.stub.php (Results 151 – 175 of 235)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 6b45039f 02-Jun-2020 Nikita Popov

Add some mixed types

# b3718430 25-May-2020 Máté Kocsis

Annotate internal functions with the mixed type

Closes GH-5618

# cbf86efc 25-May-2020 Máté Kocsis

Fix ZPP of v*printf()

# 50a9f511 13-May-2020 Nikita Popov

Allow null callback to array_filter()

With same behavior as not passing it.

# 31fb6a08 05-May-2020 William Hudgins

Add str_starts_with() and str_ends_with()

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

Closes GH-5300.

# 8d346f76 03-May-2020 George Peter Banyard

Use ZPP int|string and add ValueError for Windows codepages

Closes GH-5517

# 34f727e6 27-Apr-2020 George Peter Banyard

Use ZPP check for string|int|null arguments in array_column()

# 31a626cf 01-May-2020 Máté Kocsis

Remove the deprecated is_real() function

Closes GH-5506

# ef0e4478 02-Feb-2020 Your Name

Add get_debug_type() function

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

# beff93f6 10-Apr-2020 Máté Kocsis

Fix the default parameter values of stream_socket_client()

$timeout and $flags were mixed up

# fcc6da3e 09-Apr-2020 Nikita Popov

Mark $time argument of touch() as UNKNOWN as well

For some reason I thought that passing 0 is same as current time,
but that's not the case.

# 636c827a 09-Apr-2020 Nikita Popov

Mark fgets() argument as UNKNOWN

If no value is passed, this reads as much as necessary, not 1024
bytes.

# 62e8dcbc 09-Apr-2020 Christoph M. Becker

Change parameter default to always available value

`SIGTERM` is only defined in ext/pcntl, and as such never available on
Windows. Moving the constant to ext/standard does not make much

Change parameter default to always available value

`SIGTERM` is only defined in ext/pcntl, and as such never available on
Windows. Moving the constant to ext/standard does not make much sense,
because that parameter is actually unused on Windows. Therefore, we
use the magic number `15` instead, what is also done in the PHP manual.

show more ...

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

# b3f3a80f 09-Apr-2020 Nikita Popov

Make stream_socket_enable_crypto() session stream nullable

# 217dfc08 09-Apr-2020 Nikita Popov

Accept null context in stream_socket_(client|server)

# 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

12345678910