Skip to content

Conversation

@TysonAndre
Copy link
Member

This depends on the proposal for PHP 8.2 (php/php-src#7715)
to allow safely registering native session serializers even if the session
module isn't statically compiled into php

(without crashing if the session module isn't loaded or is loaded in the
wrong order, after the extension providing the serializer)

…dule

**This depends on the proposal for PHP 8.2 (php/php-src#7715)
to allow safely registering native session serializers even if the session
module isn't statically compiled into php
(without crashing if the session module isn't loaded or is loaded in the
wrong order, after the extension providing the serializer)
@TysonAndre TysonAndre force-pushed the php8.2-session-dynamic branch from 7a734fe to 0a19944 Compare December 4, 2021 16:21
php_session_register_serializer("igbinary",
PS_SERIALIZER_ENCODE_NAME(igbinary),
PS_SERIALIZER_DECODE_NAME(igbinary));
#elif PHP_VERSION_ID >= 80200
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: PHP_SESSION_API >= 20211204 probably makes more sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant