History log of /PHP-8.1/ext/standard/basic_functions.stub.php (Results 1 – 25 of 170)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 3197104e 24-Jan-2023 Máté Kocsis

Fix GH-10292 1st param of mt_srand() has UNKNOWN default on PHP <8.3

Closes GH-10429


Revision tags: php-8.1.7RC1, php-8.1.4RC1, php-8.1.3, php-8.1.2RC1
# ccd7d410 23-Dec-2021 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
$context parameter of get_headers() is nullable


# c5f4ee50 22-Dec-2021 Christoph M. Becker

$context parameter of get_headers() is nullable

Closes GH-7813.

Revision tags: php-8.1.0, php-7.3.33, php-7.3.32
# 220f0f55 12-Oct-2021 Máté Kocsis

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix the return type of imagecolorexactalpha()
String default values are enclosed in quotes rather than apostrophes


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

String default values are enclosed in quotes rather than apostrophes

# 2b25ac6f 24-Sep-2021 Craig Francis

Update stub to show default of ENT_HTML401 (for documentation)

Closes GH-7514.

Revision tags: php-7.3.31
# c19e4b99 30-Aug-2021 Máté Kocsis

Generate optimizer func info from stubs for ext/standard - part 3 (#7426)

# 0f7e0cf3 30-Aug-2021 Nikita Popov

str_replace() can return the original string

# b49d340f 27-Aug-2021 Máté Kocsis

Generate optimizer func info from stubs for ext/standard - part 2 (#7414)

# 1ce81b6b 27-Aug-2021 Máté Kocsis

Generate optimizer func info from stubs for ext/standard - part 1 (#7413)

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

Add support for generating optimizer function info from stubs (#7367)

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

Merge branch 'PHP-8.0'

* PHP-8.0:
Declare a few missing function return types


Revision tags: php-7.3.30
# c58a9f2a 24-Aug-2021 Máté Kocsis

Declare a few missing function return types

Closes GH-7395

# bed71393 08-Jul-2021 Nikita Popov

Deprecate strptime()

Use date_parse_from_format() or IntlDateFormatter::parse() instead.

Part of https://wiki.php.net/rfc/deprecations_php_8_1.

Revision tags: php-7.3.29
# ec9ce49c 11-Jun-2021 Joe Watkins

Merge branch 'PHP-8.0'

* PHP-8.0:
fix bad refactor of #7136


# b10bcb4f 11-Jun-2021 Joe Watkins

fix bad refactor of #7136

# 9068b279 11-Jun-2021 Joe Watkins

Merge branch 'PHP-8.0'

* PHP-8.0:
Enable net_get_interfaces on IBM i PASE


# 4f51a11a 10-Jun-2021 Calvin Buckley

Enable net_get_interfaces on IBM i PASE

On IBM i, getifaddrs is available renamed as Qp2getifaddrs; freeifaddrs
and struct ifaddr follow a similar fate. I assume this is in case AIX

Enable net_get_interfaces on IBM i PASE

On IBM i, getifaddrs is available renamed as Qp2getifaddrs; freeifaddrs
and struct ifaddr follow a similar fate. I assume this is in case AIX
decides to add it (as if). As such, just use the same implementation,
but rename the standard ones to the IBM i definitions and include its
header.

show more ...

# b4b848bf 26-May-2021 Máté Kocsis

Fix the signature of ini_alter()

It should be the same as ini_set()

# e8ef923d 28-Apr-2021 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Remove assert_options() return value info


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

Revision tags: php-7.3.28
# 59d5b3dd 22-Apr-2021 Niklas Keller

Accept null for microseconds argument in stream_select() (#6879)

The deprecation of passing null is thrown otherwise.

If the timeout is calculated conditionally before calling strea

Accept null for microseconds argument in stream_select() (#6879)

The deprecation of passing null is thrown otherwise.

If the timeout is calculated conditionally before calling stream_select(), passing to avoid the deprecation seems unreasonable, example:

https://github.com/amphp/amp/blob/7d4bbc6e0b47c6bb39b6cce1a4b5942e0c5125fb/lib/Loop/NativeDriver.php#L286

Also enforce that if $seconds is null, then $microseconds should be null as well. However 0 is still accepted (with deprecation) for backwards compatibility.

show more ...

# cbcfd860 13-Apr-2021 David Gebler

Add fsync() and fdatasync() functions

fsync is a straightforward wrapper around the same C function
(implemented on Windows API as _commit() with identical signature).

From the

Add fsync() and fdatasync() functions

fsync is a straightforward wrapper around the same C function
(implemented on Windows API as _commit() with identical signature).

From the man pages:

fsync() transfers ("flushes") all modified in-core data of (i.e.,
modified buffer cache pages for) the file referred to by the file
descriptor fd to the disk device (or other permanent storage
device) so that all changed information can be retrieved even if
the system crashes or is rebooted. This includes writing through
or flushing a disk cache if present. The call blocks until the
device reports that the transfer has completed.

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

Closes GH-6650.

show more ...

# dae23ab7 12-Apr-2021 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Remove the "getdir" function which was introduced accidentally


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

1234567