Skip to content

Commit dd9627b

Browse files
committed
Revert message change
1 parent c75016a commit dd9627b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/standard/array.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4349,7 +4349,7 @@ PHP_FUNCTION(array_pad)
43494349
input_size = zend_hash_num_elements(Z_ARRVAL_P(input));
43504350
pad_size_abs = ZEND_ABS(pad_size);
43514351
if (pad_size_abs < 0 || pad_size_abs - input_size > Z_L(1048576)) {
4352-
zend_throw_error(NULL, "Only 1048576 elements may be pad up at a time.");
4352+
zend_throw_error(NULL, "You may only pad up to 1048576 elements at a time");
43534353
return;
43544354
}
43554355

ext/standard/tests/array/array_pad.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,6 @@ array(4) {
8686
[3]=>
8787
float(2)
8888
}
89-
Only 1048576 elements may be pad up at a time.
89+
You may only pad up to 1048576 elements at a time
9090

9191
DONE

0 commit comments

Comments
 (0)