Skip to content

Commit 7dfd4c2

Browse files
committed
[skip ci] Adjust stale comment
1 parent 0d0d99e commit 7dfd4c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ static PHP_INI_MH(OnChangeMemoryLimit)
333333
value = Z_L(1)<<30; /* effectively, no limit */
334334
}
335335

336-
/* If max_memory_limit is not set to unlimited, verify change */
336+
/* If memory_limit exceeds max_memory_limit, warn and set to max_memory_limit instead. */
337337
if (value > PG(max_memory_limit)) {
338338
if (value != -1) {
339339
zend_error(E_WARNING,

0 commit comments

Comments
 (0)