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

fix error in php8 when set_time_limit is disabled #4730

Open
wants to merge 1 commit into
base: feature
Choose a base branch
from

Conversation

opt-natter
Copy link

@operator changed in php8
a check if the function is avaible is necessary before using it

Resolves #4729

@operator changed in php8
a check if the function is avaible is necacarry before using it
@chack1172
Copy link
Contributor

You can use function_exists() instead of checking the ini setting. In PHP 8 function_exists return false for disabled functions.

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.

@set_time_limit with php8
2 participants