History log of /PHP-8.2/ext/standard/basic_functions.stub.php (Results 1 – 25 of 200)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 5239f9fc 15-Mar-2023 Michael Voříšek

Remove CTE flag from array_diff_ukey(), which was added by mistake

This was accidentally added in GH-7780, but since it takes a callable
argument, this flag is useless on this function.

Remove CTE flag from array_diff_ukey(), which was added by mistake

This was accidentally added in GH-7780, but since it takes a callable
argument, this flag is useless on this function.

Closes GH-10859.

show more ...

# 411cd045 03-Mar-2023 Michael Voříšek

Re-add some CTE functions that were removed from being CTE by a mistake

These functions were accidentally removed from being CTE in GH-7780.
This patch brings them back.

Closes

Re-add some CTE functions that were removed from being CTE by a mistake

These functions were accidentally removed from being CTE in GH-7780.
This patch brings them back.

Closes GH-10768.

show more ...

# 3227d04f 08-Sep-2022 Máté Kocsis

Declare ext/standard constants in stubs - part 7 (#9505)

# c547fc18 05-Sep-2022 Máté Kocsis

Add support for validation of missing class synopses (#9472)

# e733ebf3 02-Sep-2022 Máté Kocsis

Add parenthesis around preprocessor conditions in stubs

gen_stub.php concatenates nested #ifs into one #if so let's make sure the semantics remain the same.

# cfa72ff3 02-Sep-2022 Máté Kocsis

Declare ext/standard constants in stubs - part 6

Closes GH-9467

# 6f2f228e 02-Sep-2022 Máté Kocsis

Declare ext/standard constants in stubs - part 5

Closes GH-9466

# 64b962b2 02-Sep-2022 Máté Kocsis

Declare ext/standard constants in stubs - part 4

Closes GH-9465

# c77bbf6f 30-Aug-2022 Tim Düsterhus

Mark crypt()'s $string parameter as #[\SensitiveParameter]

# adb45a63 30-Aug-2022 Máté Kocsis

Fix GH-9186 @strict-properties can be bypassed using unserialization (#9354)

* Emit deprecation warnings when adding dynamic properties to classes during unserialization - this will become a

Fix GH-9186 @strict-properties can be bypassed using unserialization (#9354)

* Emit deprecation warnings when adding dynamic properties to classes during unserialization - this will become an Error in php 9.0.
(Adding dynamic properties in other contexts was already a deprecation warning - the use case of unserialization was overlooked)
* Throw an error when attempting to add a dynamic property to a `readonly` class when unserializing
* Add new serialization methods `__serialize`/`__unserialize` for SplFixedArray to avoid creating deprecated dynamic
properties that would then be added to the backing fixed-size array
* Don't add named dynamic/declared properties (e.g. $obj->foo) of SplFixedArray to the backing array when unserializing
* Update tests to declare properties or to expect the deprecation warning
* Add news entry

Co-authored-by: Tyson Andre <tysonandre775@hotmail.com>

show more ...

# ef72d533 26-Aug-2022 Máté Kocsis

Declare ext/standard constants in stubs - part 3 (#9427)

# bc4c0126 24-Aug-2022 Máté Kocsis

Declare ext/standard constants in stubs - part 1 (#9404)

# 98bdb7f9 12-Aug-2022 Ilija Tovilo

Make pestr[n]dup infallible (#9295)

Fixes GH-9128
Closes GH-9295

# b0c0a2cf 08-Jun-2022 Michael Voříšek

Use -1 "precision" in gen_stub.php

Closes GH-8734.

# e328c683 19-Jul-2022 Máté Kocsis

Rename @cname to @cvalue in stubs (#9043)

@cname currently refers to the constant name in C. However, it is not always a (constant) name, but sometimes a function invocation, so naming it as

Rename @cname to @cvalue in stubs (#9043)

@cname currently refers to the constant name in C. However, it is not always a (constant) name, but sometimes a function invocation, so naming it as @cvalue would be more appropriate.

show more ...

# 4d8dd8d2 19-Jul-2022 Go Kudo

Implement Random Extension

https://wiki.php.net/rfc/rng_extension
https://wiki.php.net/rfc/random_extension_improvement

# 63912b5e 15-Jul-2022 Ilija Tovilo

Fix RC func info of str_split (#9016)

Introduced in GH-8945

With RETURN_EMPTY_ARRAY this function can now return an interned array which
has refcount 2.

# 342e18f1 12-Jul-2022 Tim Düsterhus

Support the actual `#[\SensitiveParameter]` attribute in stubs (#8836)

# 492af9f8 10-Jul-2022 Dennis Snell

Add ini_parse_quantity function to convert ini quantities shorthand notation to int (#8454)

# 49d3dde2 18-Jun-2022 Máté Kocsis

Declare true return types (#8759)

# 13758965 27-Jan-2022 Tim Düsterhus

Mark parameter in ext/standard as sensitive

No changes to the stubs required, password_hash and password_verify were added
to the initial version of the stub support.

# d9f3ca70 07-Jun-2022 Rowan Tommins

Add deprecation notices to utf8_encode and utf8_decode

Implements initial stage of accepted RFC to remove them:
https://wiki.php.net/rfc/remove_utf8_decode_and_utf8_encode

Tests

Add deprecation notices to utf8_encode and utf8_decode

Implements initial stage of accepted RFC to remove them:
https://wiki.php.net/rfc/remove_utf8_decode_and_utf8_encode

Tests relating to SOAP and htmlspecialchars seem to have been
using this entirely unnecessarily, so have been fixed.

Closes GH-8726.

show more ...

# debd38f8 02-Jun-2022 Máté Kocsis

Add support for sensitive parameters in stubs

# 14da1cb90 22-May-2022 Máté Kocsis

Add support for class constants in stubs (#7434)

# 8649cb8a 14-Apr-2022 George Peter Banyard

Improve and fix stub return types (#8368)

12345678