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

Permit null timestamp to date() in PHP 8 #6244

Merged
merged 3 commits into from Aug 5, 2021
Merged

Permit null timestamp to date() in PHP 8 #6244

merged 3 commits into from Aug 5, 2021

Conversation

masonmcelvain
Copy link
Contributor

What's new

PHP 8 allows the timestamp to be null, but version 7.4 doesn't.
Creates a mapping for date() to allow $timestamp to be null in PHP 8.

Closes #6243

PHP 8 allows the timestamp to be null, but version 7.4 doesn't.
Creates a mapping for date() to allow $timestamp to be null in PHP 8.
@weirdan weirdan merged commit 1044c2d into vimeo:master Aug 5, 2021
@weirdan
Copy link
Collaborator

weirdan commented Aug 5, 2021

Thanks!

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.

PHP 8 Bug: Argument 2 of date() cannot be null, possibly null value provided
5 participants