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

php 8.4: Constant E_STRICT is deprecated #6301

Open
tenzap opened this issue Sep 29, 2024 · 1 comment
Open

php 8.4: Constant E_STRICT is deprecated #6301

tenzap opened this issue Sep 29, 2024 · 1 comment

Comments

@tenzap
Copy link
Contributor

tenzap commented Sep 29, 2024

I was trying to use CI3 with PHP8.4.
I'm facing this error:

Deprecated: Constant E_STRICT is deprecated in .../vendor/codeigniter/framework/system/core/Exceptions.php on line 76
A PHP Error was encountered

Severity: 8192

Message: Constant E_STRICT is deprecated

Filename: core/Exceptions.php

Line Number: 76

@corrosive4354
Copy link

In PHP 8.4, the E_STRICT constant has been deprecated, so using it in related code will result in warnings.

To be compatible with PHP 8.4, developers are advised to check and update their code, remove the use of E_STRICT, or consider using other appropriate error level constants.

Since you often use different versions of PHP
You can try using the Servbay tool, which supports PHP8.4beta, without worrying about environmental pollution.

You can switch at any time

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

No branches or pull requests

2 participants