Commit Graph

450 Commits

Author SHA1 Message Date
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
andy wharmby
ef6e2c572e New sha1f() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 19:37:43 +00:00
andy wharmby
4786d297ad New sscanf() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 14:40:25 +00:00
andy wharmby
5235b762e3 New explode() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 14:34:15 +00:00
andy wharmby
364cf9ae6b New money_format() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-17 22:52:12 +00:00
Felipe Pena
37a953d466 - Removed XFAIL 2009-01-17 20:42:05 +00:00
andy wharmby
5fee85753e New trim() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-17 16:40:56 +00:00
andy wharmby
b893cd4b8a New ltrim() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-17 15:47:47 +00:00
andy wharmby
98e72a7000 New string tests. Tested on Windows, Linux and Linu 64 bit 2009-01-16 22:45:54 +00:00
andy wharmby
32b293cd9c New string function tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-16 12:53:07 +00:00
andy wharmby
16c2f5bdff New test for strripos() string function. 3 test fail on PHP6 until #47102 fixed and have XFAIL sections. All tests checked on Windows, Linux and Linux 64 bit. 2009-01-15 13:39:29 +00:00
Brian Shire
d6a1c7a674 fix explode behavior to respect negative limit when string is empty. 2008-12-27 05:13:30 +00:00
Arnaud Le Blanc
eef1ad9ddf [DOC] Added ENT_IGNORE as a compatibility flag for htmlentities() and
htmlspecialchars() to skip multibyte sequences intead of returning an
empty string (as iconv's //IGNORE). These functions will still never
return an invalid or incomplete multibyte sequence.
Example: htmlspecialchars("...", ENT_QUOTES | ENT_COMPAT, "utf-8");
2008-11-26 02:57:32 +00:00
Felipe Pena
3b06b39d54 - Fixed bug #46578 (strip_tags() does not honor end-of-comment when it encounters a single quote) 2008-11-21 19:14:47 +00:00
Felipe Pena
12c2d80194 - Fixed tests 2008-11-19 16:59:17 +00:00
Felipe Pena
3efabcf22c - New test 2008-11-02 18:20:57 +00:00
Dmitry Stogov
f9f69a5373 Fixed bug #43053 (Regression: some numbers shown in scientific notation). (int-e at gmx dot de)
some 64bit test files may need to be fixed
2008-09-15 11:47:27 +00:00
Arnaud Le Blanc
c2f830ca21 MFB / fix tests 2008-09-14 14:57:26 +00:00
Felipe Pena
0b5e6c5fd8 - Fixed tests 2008-08-30 22:16:29 +00:00
Felipe Pena
b1e51d0555 - Fixed tests 2008-08-25 13:44:33 +00:00
Pierre Joye
e80e2e8ef6 - fix test on windows 2008-08-21 18:24:53 +00:00
Pierre Joye
73b03d9f8f - use 'C' (and enable it on windows) 2008-08-21 12:24:24 +00:00
Pierre Joye
6e41f9069f - don't skip if windows matches 2008-08-21 12:13:31 +00:00
Pierre Joye
26a4e6d61f - MFB: use "C" instead of "" (and enable it on windows) 2008-08-21 12:06:02 +00:00
Pierre Joye
e3a0de9e45 - skip 007 on non windows platform and add a win specific version (file not found instead of filename too long) 2008-08-21 11:01:35 +00:00
Felipe Pena
6bdded7863 - Fixed test 2008-08-20 13:54:13 +00:00
Felipe Pena
30f7bd1cb6 - MFB: New parameter parsing API
- Fixed tests
2008-08-19 02:51:28 +00:00
Felipe Pena
7148ea9561 - New parameter parsing API
- Fixed tests
2008-08-16 21:16:25 +00:00
Jani Taskinen
ce8106ff13 fix test 2008-08-14 20:33:20 +00:00
Antony Dovgal
c7a1743048 [DOC] add quoted_printable_encode() 2008-08-14 10:11:26 +00:00
Felipe Pena
b9b83ec794 - New parameter parsing API (for *printf()) 2008-08-10 21:48:22 +00:00