History log of /php-src/ext/session/tests/user_session_module/gh7787.phpt (Results 1 – 4 of 4)
Revision Date Author Comments
# 217ea732 04-Sep-2024 Christoph M. Becker

Use php_error_docref() instead of zend_error() in session.c (GH-15505)

Using `php_error_docref()` is preferable since it outputs additional
details (which function has been called and wh

Use php_error_docref() instead of zend_error() in session.c (GH-15505)

Using `php_error_docref()` is preferable since it outputs additional
details (which function has been called and whether it is a startup or
shutdown error), uses HTML markup, and also provides a link to the
documentation, if configured.

Since these deprecation warnings have been introduced recently[1][2],
i.e. for PHP 8.4, there are no BC concerns.

[1] <https://github.com/php/php-src/commit/e8ff7c70f9669f1a54c47c018ccc0f80bc0c929b>
[2] <https://github.com/php/php-src/commit/b36eac94d26bdced150d9d2178f6209893d9961f>

Co-authored-by: Máté Kocsis <kocsismate90@gmail.com>

show more ...


# b36eac94 22-Nov-2023 Máté Kocsis

Deprecate calling session_set_save_handler() with more than 2 arguments


# 092e090c 10-Jul-2023 Michael Orlitzky

ext/session/tests: more lenient expected output checks. (#11631)

Several session tests incidentally check the values of INI variables
like session.name and session.save_path. This isn't

ext/session/tests: more lenient expected output checks. (#11631)

Several session tests incidentally check the values of INI variables
like session.name and session.save_path. This isn't the point of the
tests, and it can cause spurious failures if (for example) you want to
override your temporary directory while testing. So here, we make the
expected output patterns more lenient.

show more ...


# 386892f1 03-Oct-2022 George Peter Banyard

Restructure ext-session tests

And small improvements to some