Commit Graph

480 Commits

Author SHA1 Message Date
andy wharmby
b59f4b245c New basic test for md5(). Tested on Windows, Linux and Linux 64 bit 2009-08-19 08:39:33 +00:00
andy wharmby
0855be02d7 New str_replace() tests. All tested on Windows, Linux and Linux 64 2009-08-17 22:41:30 +00:00
andy wharmby
db6a41487d New basic string tests - includes back-porting a few existing tests back to 5.2. All tested on Windows, Linux and Linux 64 2009-08-17 10:37:30 +00:00
Stanislav Malyshev
721b51d2df cleanup string parameter parsing, fix some tests 2009-08-15 05:43:18 +00:00
Rasmus Lerdorf
3b3f13eb61 The system error here may not be "Filename too long". On OSX, for example,
it is "Invalid ioctl" in this case.
2009-08-09 14:20:54 +00:00
Rasmus Lerdorf
2be0578481 Doing a strnatcasecmp(chr(128),chr(255)) is completely non-sensical.
Logically one might think that chr(128) would collate before chr(255) except
this is a case-insensitive comparison and internally we toupper() both args.
toupper(chr(128)) is 128.  There is no upper-case equivalent of this char.
toupper(chr(255)) is 120 so chr(255) collates before chr(128) in this
case-insensitive comparison.  And these are rather bogus characters to feed
to a natsort test anyway.
2009-08-08 14:48:47 +00:00
andy wharmby
1b4a8d1c62 Add new use-case to parse_str() test. Tested on Windows, Linux and Linux 64 2009-08-05 08:54:27 +00:00
Jani Taskinen
246e9f105d - These tests fail if mbstring is enabled, not because of bad libc.. 2009-08-03 10:23:23 +00:00
Jani Taskinen
527d06032d - Skip some tests in 32bit systems, add cleanups where missing 2009-07-28 19:16:02 +00:00
Jani Taskinen
03133b0df2 - Fix test 2009-07-23 16:28:17 +00:00
Zoe Slattery
ec97c3c3e3 Remove empty sections. Fix bad use of --SKIP-- 2009-07-21 14:02:24 +00:00
Alexey Zakhlestin
00a0f088d0 MFB: fixed tests. money_format() is implemented in underlying system, not in php. So, we shouldn't test for actual values returned. They are different between systems 2009-07-17 16:21:00 +00:00
Jani Taskinen
c111a9c036 - Fixed bug #47481 (natcasesort() does not sort extended ASCII characters correctly) 2009-07-17 11:13:51 +00:00
Alexey Zakhlestin
7b6eae5402 fix tests corrupted by svn's eol-style=native 2009-07-15 14:08:18 +00:00
Felipe Pena
6abff59291 - Fixed bug #48709 (metaphone and 'wh') 2009-06-28 18:41:20 +00:00
Felipe Pena
eeb997d888 - Fixed bug #48658 (Change in behaviour of parse_str on php 6.0) 2009-06-28 02:36:19 +00:00
andy wharmby
7d60127c1e New and fixed html tests. Tested in Windows, Linux and Linux 64. 2009-06-23 22:45:30 +00:00
andy wharmby
0dfd8754a6 New basic parse_str() tests. Tested on Windows,Linux and Lnux 64 bit. Some tests fail on PHP 6 (tagged with XFAIL) due to bug 48658 2009-06-23 22:39:42 +00:00
andy wharmby
62b2bc8d55 New strcoll error test. Tested on Windows, Linux and Linux 64. 2009-06-16 19:39:37 +00:00
Matt Wilmas
9061bf39bd Updated tests after double->long conversion change (basically to match 5.2)
# Let me know about other failing tests I missed
2009-06-04 18:24:09 +00:00
Ilia Alshanetsky
ce046a899b ----------------------------------------------------------------------
Fixed test
2009-06-02 12:20:24 +00:00
Ilia Alshanetsky
a9c5adcfc6 MFB: Fixed bug #47564 (unpacking unsigned long 32bit bit endian returns
wrong result)
2009-05-12 12:37:52 +00:00
Matt Wilmas
e559a4ad99 Implemented manual scanning for strings/comments, plus misc. fixes
For details, see http://news.php.net/php.internals/43808
2009-05-05 01:35:13 +00:00
Zoe Slattery
498eb22d88 fixed to expect fail 2009-05-01 19:32:15 +00:00
Zoe Slattery
7759ba8af7 Refixing to follow documented behaviour 2009-04-29 07:49:45 +00:00
Antony Dovgal
70db769a3c fix test 2009-04-28 09:05:25 +00:00
Arnaud Le Blanc
34bb7e7112 Fixed tests (mostly MFB) 2009-04-25 21:12:23 +00:00
Sebastian Schürmann
da32e6e2d9 - Initial commit 2009-04-25 18:33:50 +00:00
Arnaud Le Blanc
e10005e3fe Fix test 2009-04-24 21:50:15 +00:00
Arnaud Le Blanc
4c400890ed strip_tags() fixes:
- MFH5.3 (Fix bug when < is used within attribute.)
- Fix handling of case when searching for allowed tags in unicode variant
- tests for both unicode and binary variants
2009-04-24 21:23:47 +00:00
Arnaud Le Blanc
3bc34ef8c1 Fix tests (MFB, etc) 2009-04-24 19:47:43 +00:00
Matt Wilmas
9880e99dde Fixed tests, reverted changes from bug #47546 2009-04-02 09:42:12 +00:00
Matt Wilmas
5557b49982 explode() stuff:
- Fixed bug #47560 (explode()'s limit parameter odd behaviour) by reverting change for bug #47546
- Changed int to long where needed (should fix memory errors from overflow seen in bug #47854)
- Simplified logic a bit with limit and its default value
- php_explode_negative_limit(): removed safe_emalloc (not needed; plain erealloc is used later)
 - Moved declarations/allocation to optimize if the delimiter isn't found
 - Changed ALLOC_STEP size for less realloc's (and maybe better memory block alignment?)
2009-04-01 17:04:17 +00:00
Brian Shire
b9a54927b4 Fix scanner handling of NULL values in heredoc, nowdoc, strings, comments, and non-parsed content. 2009-03-16 01:40:01 +00:00
Brian Shire
b7ff76c6da Add proper EOF handling for language scanner. Fixes bug #46817. Removes dos newlines from a previous commit. 2009-03-11 22:11:41 +00:00
Kalle Sommer Nielsen
caf1a0686b Fix tests 2009-03-08 06:19:40 +00:00
Kalle Sommer Nielsen
3980b634fd Fixed bug #47546 (Default value for limit parameter in explode is 0, not -1) 2009-03-03 11:46:20 +00:00
Felipe Pena
c8a0d5b741 - New test 2009-02-18 22:53:44 +00:00
Moriyoshi Koizumi
1e2ad13cfc - Fix tests. 2009-02-15 07:04:59 +00:00
Felipe Pena
47114aaa8b - Improve test 2009-02-06 10:40:16 +00:00
Felipe Pena
b72183b595 - New test 2009-02-06 10:18:40 +00:00
andy wharmby
ff9642d482 Fix SKIPIF logic 2009-01-20 23:19:47 +00:00
andy wharmby
0ce35ae860 New stripcslashes() tests. Tested on Window, Linux and Linux 64 bit 2009-01-20 22:54:39 +00:00
andy wharmby
9c2283fe02 New vfprintf() tests. Tested on Window, Linux and Linux 64 bit 2009-01-20 14:19:40 +00:00
andy wharmby
4fb370c1ff New substr_replace() and unpack() error tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-19 17:13:17 +00:00
andy wharmby
2c593dd95c New vprintf() tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-19 16:03:40 +00:00
andy wharmby
ce85cecb55 New strval() tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-19 15:54:45 +00:00
andy wharmby
8be7bef0a6 New tests for str_pad(), str_shuffle(), stristr() and strlen(). Tested on WIndows, Linux and Linux 64 bit 2009-01-19 15:46:36 +00:00
andy wharmby
be123b0de8 New nl_langinfo(), number_format() and ord() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 22:51:00 +00:00
andy wharmby
310cc4c912 New hebrev() and hebrevc() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 21:59:36 +00:00