Skip to content

php 8.1 support with opis/closure:4.x-dev #791

Closed

Description

@xpader

php-di now can't support closure serialize with php 8.1, need depend on opis/closure:4.x-dev.

Activity

  1. mnapoli commented on Aug 29, 2021

    @mnapoli
    Member

    Opis/closure 4 uses FFI: opis/closure#59

    I'm afraid this will not really work with PHP-DI as FFI is an extension that will not be installed everywhere. Laravel will probably get the same problem here.

  2. deleugpn commented on Sep 14, 2021

    @deleugpn

    Laravel has forked opis/closure: https://github.com/laravel/serializable-closure

  3. jdreesen commented on Sep 14, 2021

    @jdreesen
    Contributor

    Here's already a PR: #793

  4. ldebrouwer commented on Feb 17, 2022

    @ldebrouwer
    Contributor

    Any update on this?

  5. shadowhand commented on Mar 9, 2022

    @shadowhand
    Contributor

    @mnapoli PR #808 created that applies the minimum changes required to resolve this.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions