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
91f4e2e614
Promote warnings to errors in explode()
2019-08-26 11:35:03 +02:00
Nikita Popov
aad39879f2
Remove bareword fallback for constants
...
Access to undefined constants will now always result in an Error
exception being thrown.
This required quite a few test changes, because there were many
buggy tests that unintentionally used bareword fallback in combination
with error suppression.
2019-01-31 13:52:06 +01:00
Gabriel Caruso
ded3d984c6
Use EXPECT instead of EXPECTF when possible
...
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00
Andrea Faulds
ebaa42302a
Skip buncha tests on 32-bit
2014-11-29 01:05:19 +00:00
Matt Wilmas
f18b366ec8
MFH: Fixed tests, reverted changes from bug #47546
2009-04-02 09:42:26 +00:00
Kalle Sommer Nielsen
9d4718e098
MFH: Fix tests
2009-03-08 06:20:00 +00:00
Brian Shire
b4141cc424
MFH: fix explode behavior to respect negative limit when string is empty.
2008-12-27 05:15:51 +00:00
Derick Rethans
9541a66cb8
- MFH: Fixed var_export() for array keys
...
- MFH: Fixed broken explode() test
2007-12-18 10:53:39 +00:00
Ilia Alshanetsky
7b77d536c3
Fixed bug #37262 (var_export() does not escape \0 character).
2006-10-09 18:08:34 +00:00
Andrey Hristov
96f5c697dd
Add support for negative values of limit of explode(). If limit is negative
...
then all components are returned except the last abs(limit) ones.
2004-07-18 11:34:28 +00:00
Marcus Boerger
d94136fc30
- Remove unused blocks
2004-05-19 08:45:46 +00:00
Markus Fischer
f43e4cc93d
- Document were the first test came from.
2002-10-11 18:06:15 +00:00
Ilia Alshanetsky
8c6088839b
Added test for explode() function.
2002-10-11 15:19:57 +00:00