We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I encountered an issue with the following code:
try { Carbon::withTestNow( '1989-02-15 00:00:00', function () { throw new Exception(); } ); } catch (Exception $e) { printf("%s\n", Carbon::now()); }
Carbon version: 2.57.0 PHP version: 8.0.8
I expected to get:
(current date and time)
But I actually get:
1989-02-15 00:00:00
Thanks!
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Hello,
I encountered an issue with the following code:
Carbon version: 2.57.0
PHP version: 8.0.8
I expected to get:
But I actually get:
Thanks!
The text was updated successfully, but these errors were encountered: