Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VarExporter] support PHP7.4 __serialize & __unserialize #31043

Merged
merged 1 commit into from Apr 10, 2019

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 4.2
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

This PR adds support for the new __serialize and __unserialiaze magic methods and the related language semantics introduced in PHP 7.4.

As a reminder, our policy is to consider supporting a new version of PHP a bugfix.

@fabpot
Copy link
Member

fabpot commented Apr 10, 2019

Thank you @nicolas-grekas.

@fabpot fabpot merged commit c7a504c into symfony:4.2 Apr 10, 2019
fabpot added a commit that referenced this pull request Apr 10, 2019
…nicolas-grekas)

This PR was merged into the 4.2 branch.

Discussion
----------

[VarExporter] support PHP7.4 __serialize & __unserialize

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

This PR adds support for the new `__serialize` and `__unserialiaze` magic methods and the related language semantics [introduced in PHP 7.4](https://wiki.php.net/rfc/custom_object_serialization).

As a reminder, our policy is to consider supporting a new version of PHP a bugfix.

Commits
-------

c7a504c [VarExporter] support PHP7.4 __serialize & __unserialize
@nicolas-grekas nicolas-grekas deleted the ve-unser branch April 12, 2019 12:28
@fabpot fabpot mentioned this pull request Apr 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants