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

Projects
None yet
3 participants
@nicolas-grekas
Copy link
Member

commented Apr 9, 2019

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.

@nicolas-grekas nicolas-grekas added this to the 4.2 milestone Apr 9, 2019

@fabpot

fabpot approved these changes Apr 10, 2019

@fabpot

This comment has been minimized.

Copy link
Member

commented Apr 10, 2019

Thank you @nicolas-grekas.

@fabpot fabpot merged commit c7a504c into symfony:4.2 Apr 10, 2019

3 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
fabbot.io Your code looks good.
Details

fabpot added a commit that referenced this pull request Apr 10, 2019

bug #31043 [VarExporter] support PHP7.4 __serialize & __unserialize (…
…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 nicolas-grekas:ve-unser branch Apr 12, 2019

@fabpot fabpot referenced this pull request Apr 16, 2019

Merged

Release v4.2.6 #31125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.