Skip to content

Conversation

@datibbaw
Copy link
Contributor

This fixes #66091.

It addresses the somewhat odd memory allocation and teardown that's done in the constructors when parsing fails; it affects date_create(), date_create_immutable(), date_create_from_format() and date_create_immutable_from_format().

One test case needed to be updated due to differing object id's.

This PR supersedes #766

@derickr
Copy link
Member

derickr commented Aug 13, 2014

LGTM, but this PR is into master... it should go into all branches PHP 5.4 and up.

@datibbaw
Copy link
Contributor Author

@derickr If I target 5.4 Travis will not run =S I can back port it, no problem ...

@datibbaw
Copy link
Contributor Author

datibbaw commented Oct 8, 2014

This has already been applied, but in such a way that Github couldn't match it against this PR.

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.

2 participants