History log of /PHP-8.1/ext/standard/user_filters.c (Results 1 – 25 of 169)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-8.1.7RC1, php-8.1.4RC1, php-8.1.3, php-8.1.2RC1, php-8.1.0, php-7.3.33, php-7.3.32
# 661cd1bf 07-Oct-2021 Nikita Popov

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fixed bug #54350


# c69ffa8f 07-Oct-2021 Nikita Popov

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fixed bug #54350


# 15197702 07-Oct-2021 Nikita Popov

Fixed bug #54350

Don't allow calling fclose() on the stream while in the user
filter callback. This is basically the same protection as xp_ssl
streams use during callback invocations

Fixed bug #54350

Don't allow calling fclose() on the stream while in the user
filter callback. This is basically the same protection as xp_ssl
streams use during callback invocations.

There are more issues in this general area (e.g. stack overflow
on stream_filter_remove), but this addresses freeing the stream
during the filter callback invocation at least.

show more ...

Revision tags: php-7.3.31, php-7.3.30
# 05a21792 20-Aug-2021 Nikita Popov

Declare php_user_filter::$stream property

This property is temporarily set during the filter() call. I have
no idea why this wasn't added as an argument to filter() instead.

# 7f7a90b2 20-Aug-2021 Nikita Popov

Remove php_user_filter::$filter property

This property was formerly used to hold the php_stream_filter
pointer for destruction purposes. However, this is no longer used,
and we don't

Remove php_user_filter::$filter property

This property was formerly used to hold the php_stream_filter
pointer for destruction purposes. However, this is no longer used,
and we don't need to create this resource at all.

show more ...

# 67776308 13-Jul-2021 Nikita Popov

Fix php_user_filter::filter() return value

We specify that this needs to return an int, so do so.
PSFS_ERR_FATAL has value 0 which is what the null value previously
returned would be

Fix php_user_filter::filter() return value

We specify that this needs to return an int, so do so.
PSFS_ERR_FATAL has value 0 which is what the null value previously
returned would be interpreted as.

show more ...

Revision tags: php-7.3.29
# 56c16334 29-May-2021 Anatol Belski

ext: Cleanup some dead assignments

Signed-off-by: Anatol Belski <ab@php.net>

# 4ece535f 07-May-2021 Máté Kocsis

Merge branch 'PHP-8.0'

* Fix return type of php_user_filter::onCreate()
* Fix return type of mysqli::init()
* Fix return type of UConverter::fromUCallback() and UConverter::toUCallba

Merge branch 'PHP-8.0'

* Fix return type of php_user_filter::onCreate()
* Fix return type of mysqli::init()
* Fix return type of UConverter::fromUCallback() and UConverter::toUCallback()

show more ...


# a3c38c25 06-May-2021 Máté Kocsis

Fix return type of php_user_filter::onCreate()

# 01b3fc03 06-May-2021 KsaR

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |

show more ...

Revision tags: php-7.3.28
# 4c6533c2 17-Feb-2021 Máté Kocsis

Generate class entries from stubs for com, standard, xmlreader, xmlwriter, xsl, zip, Zend

Closes GH-6706

Revision tags: php-7.3.27
# 3e01f5af 15-Jan-2021 Nikita Popov

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool is retained as an alias.

show more ...

Revision tags: php-7.3.26, php-7.3.26RC1, php-7.3.25
# 2875d0f9 12-Nov-2020 Nikita Popov

Fix memory leak when user filter onCreate returns false

Revision tags: php-7.3.25RC1, php-7.3.24, php-7.3.24RC1, php-7.3.23
# e60f927f 22-Sep-2020 Nikita Popov

stream_bucket_new() cannot return false

php_stream_bucket_new() is infallible.

Revision tags: php-7.3.23RC1
# 59c645b3 08-Sep-2020 Christoph M. Becker

Merge branch 'PHP-7.4' into master

* PHP-7.4:
Fix #72941: Modifying bucket->data by-ref has no effect any longer


# e6b2a97c 08-Sep-2020 Christoph M. Becker

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix #72941: Modifying bucket->data by-ref has no effect any longer


# 5dcb8f2f 08-Sep-2020 Christoph M. Becker

Fix #72941: Modifying bucket->data by-ref has no effect any longer

To match the PHP 5 behavior, we have to explicitly cater to `buffer` or
`data` being references.

Closes GH-609

Fix #72941: Modifying bucket->data by-ref has no effect any longer

To match the PHP 5 behavior, we have to explicitly cater to `buffer` or
`data` being references.

Closes GH-6096.

show more ...

# 4a438b44 03-Sep-2020 George Peter Banyard

Warning to Error promotion in ext/standard

Those should be the last ones other than set(raw)cookie()

Closes GH-5814

Revision tags: php-7.3.22, php-7.3.22RC1
# 2803c8fb 07-Aug-2020 Máté Kocsis

Add all the missing parameter types to stubs

Closes GH-5955

Revision tags: php-7.3.21, php-7.3.21RC1
# 9002e95f 17-Jul-2020 Nikita Popov

Use proper methods for php_user_filter implementation

These are dummy methods, but should at least check zpp for
arginfo consistency.

Revision tags: php-7.3.20, php-7.3.20RC1, php-7.3.19
# d30cd7d7 26-May-2020 Máté Kocsis

Review the usage of apostrophes in error messages

Closes GH-5590

# 2b5de6f8 01-Jul-2020 Max Semenik

Remove proto comments from C files

Closes GH-5758

# 0280b83e 06-Jul-2020 Nikita Popov

Avoid some unnecessary uses of no_separation=0

For the rare cases where references are part of the API,
construct them explicitly. Otherwise do not allow separation.

Revision tags: php-7.4.7RC1, php-7.3.19RC1, php-7.3.18RC1, php-7.2.30, php-7.3.17
# 1f48feeb 13-Apr-2020 Máté Kocsis

Improve some TypeError and ValueError messages

Closes GH-5377

# c5fb4f07 13-Apr-2020 Máté Kocsis

Generate function entries from stubs for a couple of extensions

Migrates ext/standard, ext/tidy, ext/tokenizer,
ext/xml, ext/xml_reader, and ext/xml_writer. Closes GH-5381.

1234567