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

Document fallback value syntax for ini variables (closes #4191) #4192

Merged
merged 2 commits into from
Dec 1, 2024

Conversation

jimwins
Copy link
Member

@jimwins jimwins commented Nov 30, 2024

No description provided.

install/ini.xml Outdated
<![CDATA[
; PHP_MEMORY_LIMIT is taken from environment
memory_limit = ${PHP_MEMORY_LIMIT}
; If PHP_MAX_EXECUTION_TIME is not defined, it will fall back to 30
max_execution_time = ${PHP_MAX_EXECUTION_TIME!30}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure this syntax is right? I thought it was with a colon and dash, and looking at the implementation PR seems to support that idea: https://github.com/php/php-src/pull/11351/files#diff-5deefd0bdbb9aac682cb7a131d2086fd5e9cabe8b5b8f4f9a864659cf26bfec3R148-R166

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I was looking at the original commit and not the merged PR, which used !.

php/php-src@bc8b9ae

Copy link
Member

@nielsdos nielsdos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jimwins jimwins merged commit 9ab074d into php:master Dec 1, 2024
2 checks passed
@jimwins jimwins deleted the document-ini-fallback branch December 1, 2024 19:37
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.

2 participants