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

DateTimeImmutable::createFromMutable not implemented #6805

Closed
nyamsprod opened this issue Feb 4, 2016 · 2 comments
Closed

DateTimeImmutable::createFromMutable not implemented #6805

nyamsprod opened this issue Feb 4, 2016 · 2 comments

Comments

@nyamsprod
Copy link

https://3v4l.org/NhrEq
DateTimeImmutable::createFromMutable is not supported

//works since PHP5.6.0
$datetime = DateTimeImmutable::createFromMutable(new DateTime('2016-02-18 12:23:58'));
echo $datetime->format(DateTime::ATOM);
@doublecompile
Copy link
Contributor

I can verify the same problem using HHVM 3.11.1.

@doublecompile
Copy link
Contributor

Still a problem using HHVM 3.12.0.

SiebelsTim added a commit to SiebelsTim/hhvm that referenced this issue Feb 19, 2016
hannesvdvreken added a commit to madewithlove/illuminate-psr-cache-bridge that referenced this issue Jul 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants