Niels
6ab503814d
Make array_pad's $length warning less confusing ( #10149 )
...
Remove array_pad's arbitrary length restriction
The error message was wrong; it *is* possible to use a larger length.
Furthermore, there is an arbitrary restriction on the new array's
length.
Fix both by checking the length against HT_MAX_SIZE.
2023-01-14 12:15:56 +01:00
Nikita Popov
25f1c405ff
Update ext/standard parameter names
...
Closes GH-6214.
2020-09-29 16:49:46 +02:00
Máté Kocsis
6111d64cda
Improve a last couple of argument error messages
...
Closes GH-5404
2020-04-20 13:09:00 +02:00
George Peter Banyard
5fbd49f9ab
Convert Errors to ValueErrors
...
Closes GH-4930
2019-12-05 14:22:54 +01:00
George Peter Banyard
c1fcf2d616
Promote warnings to errors in array_pad()
2019-08-22 19:30:20 +02:00
Nikita Popov
852485d8ec
Adjust tests for zpp TypeError change
2019-03-11 11:32:20 +01:00
Gabriel Caruso
9c144e0d82
Trim trailing whitespace in tests
2018-10-14 12:07:20 -03:00
Jani Taskinen
a541bb8078
- Fix tests
...
- Update README.PARAMETER_PARSING_API
2007-11-02 19:41:12 +00:00
Antony Dovgal
d1acb8d4eb
add new tests, improve existing ones
2006-11-15 22:44:29 +00:00
Antony Dovgal
eca1911b72
fix leak, add test
2006-11-15 22:10:19 +00:00