Commit Graph

449 Commits

Author SHA1 Message Date
Felipe Pena
8ea5ae6c9a - MFB: Fixed bug #45485 (strip_tags and <?XML tag) 2008-07-11 12:25:38 +00:00
David Soria Parra
f41c78ddbb PHP Testfest. Tests done by Felix De Vliegher 2008-07-10 23:46:49 +00:00
Antony Dovgal
9ed8580b54 fix test 2008-07-03 09:22:17 +00:00
Dmitry Stogov
f7938051d4 Use new parameter parsing API 2008-07-01 10:01:09 +00:00
Olivier Hill
c5ec48e858 New parameter parsing API 2008-06-25 12:16:17 +00:00
David Coallier
0674689940 - Tests for parsing parameter api 2008-06-24 22:51:57 +00:00
Olivier Hill
906b5b80df New parameter parsing API for string, part I 2008-06-22 19:22:41 +00:00
Raghubansh Kumar
48b0cc4134 New testcases for vfprintf(), Committed for Felix De Vliegher, TestFest Task No: 124, Tested on RHEL5 -32bit, WinXP-32bit
Added *.txt to .cvsignore
2008-06-20 04:21:58 +00:00
Stanislav Malyshev
5e562853ff fix tests for builtin Zend functions using new parsing API 2008-06-18 23:45:36 +00:00
Matt Wilmas
77feabfc71 MFH: Fixed test after fixing bug #44830 2008-05-12 05:08:49 +00:00
Greg Beaver
217b911d0e fix test 2008-04-13 21:27:18 +00:00
Felipe Pena
fce4f9600e MFB: Fixed bug #44703 (htmlspecialchars() does not detect bad character set argument) 2008-04-11 19:06:12 +00:00
Dmitry Stogov
2790eebdbc Fixed tests 2008-03-24 10:09:41 +00:00
Marcus Boerger
af316021e8 - Rewrite scanner to be based on re2c instead of flex
The full patch is available as:
  http://php.net/~helly/php-re2c-5.3-20080316.diff.txt
  This is against php-re2c repository version 98
  An older patch against version 97 is available under:
  http://php.net/~helly/php-re2c-97-20080316.diff.txt
2008-03-16 21:06:55 +00:00
Felipe Pena
a9f5ad7e87 MFB: Fixed bug #44242 (metaphone('CMXFXM') crashes PHP) 2008-02-25 22:54:57 +00:00
Marcus Boerger
d3e5026564 - MFH Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
[DOC] Finally added deprecation messages
2008-02-23 17:06:22 +00:00
Etienne Kneuss
12bd169f24 MFH: Fix inconcistencies between substr and substr_compare 2008-02-13 17:02:16 +00:00
Jani Taskinen
7e00a410b3 fix test 2008-02-07 13:44:50 +00:00
Marcus Boerger
02b13cdd8a - Fix the expectations. Tests still fails because of something else. 2008-02-02 14:37:29 +00:00
Felipe Pena
8c76a00f93 New tests and fix tests (new error message) 2008-02-01 13:41:19 +00:00
Antony Dovgal
89273e1482 add test 2008-01-28 23:07:45 +00:00
Nuno Lopes
500ee29e6c be more strict in the skipif 2008-01-27 16:54:22 +00:00
Nuno Lopes
d16f4cad0a fix a bunch of SKIPIF (check for non available locales) 2008-01-27 16:45:43 +00:00
Antony Dovgal
8d2ad5c12b add new test 2008-01-22 15:42:36 +00:00
David Coallier
a3c09d611c - MFH (lcfirst())
- Initial test for lcfirst
2008-01-19 19:27:22 +00:00
David Coallier
516a9c15d6 - Making sure the tests are not failing after modifications to the new
zend-parsing-parameters in ucfirst()
2008-01-16 12:56:20 +00:00
Dmitry Stogov
0d88ad9b96 Added 64-bit tests (Serg) 2007-12-27 11:39:01 +00:00
Dmitry Stogov
ed5a424b4f Additional fix for bug #42868 2007-12-24 18:09:50 +00:00
Raghubansh Kumar
8204525427 fix tests 2007-12-24 04:27:55 +00:00
Raghubansh Kumar
e15fb3853a fix tests 2007-12-20 17:27:13 +00:00
Raghubansh Kumar
1ccf0ba714 fix test 2007-12-19 10:39:10 +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
Dmitry Stogov
2b981769a3 Fixed bug #42868 (Floats cast to integer produce unpredicatable results). (Zoe Slattery) 2007-12-17 10:02:13 +00:00
Derick Rethans
fdafd5cf81 - MFH: Fixed Bug #42272 (var_export() incorrectly escapes char(0)). 2007-12-09 16:54:52 +00:00
Raghubansh Kumar
b70d00a648 fix tests : better float values 2007-12-03 13:03:31 +00:00
Raghubansh Kumar
fdae976d58 fix tests: better float values 2007-12-03 12:02:29 +00:00
Raghubansh Kumar
0759fbd8e5 fix test for linux64 - choosing smaller float values 2007-11-14 16:31:45 +00:00
Raghubansh Kumar
4b731b1af0 fix tests 2007-11-09 12:02:42 +00:00
Raghubansh Kumar
7ab56f7a43 fix test : better float values 2007-11-09 08:52:27 +00:00
Raghubansh Kumar
54f6189445 fix tests: better float values 2007-11-09 07:19:00 +00:00
Raghubansh Kumar
640f060335 missing testcases - sprintf() function 2007-11-09 04:20:10 +00:00
Antony Dovgal
6aeaa2105a fix tests 2007-11-08 11:19:32 +00:00
Antony Dovgal
91c725bd22 fix test 2007-11-08 10:29:52 +00:00
Jani Taskinen
b51e9221b1 MFH: sync 2007-11-06 13:38:15 +00:00
Antony Dovgal
e6e9d845a5 MFH: fix tests, add 64bit versions 2007-11-06 12:54:28 +00:00
Jani Taskinen
b3a334eaf2 Fix tests (MFH) 2007-11-05 17:43:21 +00:00
Raghubansh Kumar
4c5c88b716 fix tests: better float values 2007-11-02 03:03:26 +00:00
Raghubansh Kumar
1d0c11f472 New testcases for strip_tags() function 2007-10-09 12:44:45 +00:00
Raghubansh Kumar
5f24b53cc5 fix tests 2007-10-09 12:17:48 +00:00
Raghubansh Kumar
f567d4c6ad fix tests 2007-10-09 11:04:17 +00:00
Raghubansh Kumar
5e46edd6c3 fix tests 2007-10-09 06:15:39 +00:00
Raghubansh Kumar
d42d41000d fix test 2007-10-08 16:04:28 +00:00
Raghubansh Kumar
e52c923f68 fix test 2007-10-08 15:45:53 +00:00
Raghubansh Kumar
513f5e5d5f fix tests 2007-10-08 15:37:57 +00:00
Raghubansh Kumar
7ccc5eef20 New testcases for strtr() function 2007-10-08 15:21:36 +00:00
Raghubansh Kumar
f8eacb31c0 New testcases for get_html_translation_table() function 2007-10-08 15:21:13 +00:00
Raghubansh Kumar
aeeafd3b59 fix test 2007-10-08 06:22:13 +00:00
Raghubansh Kumar
9f9495a484 New testcases for setlocale() function 2007-10-05 19:32:28 +00:00
Raghubansh Kumar
a458ad89f9 New testcases for nl2br() function 2007-10-05 18:46:02 +00:00
Raghubansh Kumar
8ad09bf445 New testcases for strrpos() function 2007-10-05 18:33:24 +00:00
Raghubansh Kumar
2c63918058 New testcases for str_split() function 2007-10-05 18:18:18 +00:00
Raghubansh Kumar
805a1b9e9c New testcases for vsprintf() function 2007-10-05 18:09:31 +00:00
Stanislav Malyshev
5840ba0ffe MFB utf test 2007-10-03 05:05:37 +00:00
Jani Taskinen
b34fcd4791 MFH: Fixed bug #42789 2007-10-01 12:05:41 +00:00
Jani Taskinen
1e5ca0a765 - Fix tests (too many dots in error messages :) 2007-09-30 21:35:52 +00:00
Antony Dovgal
38c37bb61f fix tests 2007-09-30 14:37:33 +00:00
Raghubansh Kumar
9645bbbbee smaller tests already exists 2007-09-29 17:19:03 +00:00
Raghubansh Kumar
1aa5830044 New testcases for strrchr() function 2007-09-29 16:59:07 +00:00
Raghubansh Kumar
efc32bacaa New testcases for stripos() function 2007-09-29 16:56:46 +00:00
Raghubansh Kumar
2a22e422ad New testcases for sprintf() function 2007-09-29 16:54:57 +00:00
Raghubansh Kumar
b9ccaf44fb New testcases for join() function 2007-09-29 16:52:54 +00:00
Raghubansh Kumar
3253c3b6dd New testcases for htmlspecialchars_decode() function 2007-09-29 16:51:42 +00:00
Raghubansh Kumar
482eabc6b6 New testcases for chunk_split() function 2007-09-29 16:49:41 +00:00
Raghubansh Kumar
2ff92b584e new testcases for strrev() function 2007-09-26 14:40:14 +00:00
Raghubansh Kumar
433d1a5d02 New testcases for crc32() function 2007-09-26 06:03:55 +00:00
Raghubansh Kumar
b17d0085f3 New testcases for strspn() function 2007-09-22 10:51:38 +00:00
Raghubansh Kumar
0aa09167c1 New testcases for strcspn() function 2007-09-22 10:36:15 +00:00
Raghubansh Kumar
eb3f8fda65 New testcases for strtok() function 2007-09-22 07:39:57 +00:00
Raghubansh Kumar
35990e7c5b better output matching/fixes 2007-09-15 07:29:55 +00:00
Raghubansh Kumar
b59c171e23 New testcases for strncasecmp() 2007-09-14 19:02:07 +00:00
Raghubansh Kumar
6d12620591 New testcases for chop() 2007-09-14 18:58:02 +00:00
Raghubansh Kumar
e1a08e5d55 New testcases for wordwrap() 2007-09-14 18:53:38 +00:00
Nuno Lopes
40085b06f2 changes to run-tests.php:
- change %s to %a
- make %s = [^\r\n]+
- fix tests accordingly
2007-09-14 15:28:03 +00:00
Nuno Lopes
b0e393e543 attemp to set locale if it exists. fix skip condition 2007-09-13 19:51:34 +00:00
Ilia Alshanetsky
2cfdcd265d Added a note indicating that the tests may fail to due libc implementation 2007-09-13 15:36:37 +00:00
Jani Taskinen
3327653e19 - Fix tests (we are not interested what the old value was for the ini option) 2007-09-11 10:23:04 +00:00
Antony Dovgal
a09eadc95b fix tests 2007-09-10 10:28:54 +00:00
Antony Dovgal
99695744ac split one more ten-in-one test
and fix \v\f stuff while we're here..
2007-09-09 22:28:06 +00:00
Raghubansh Kumar
a14ef42c0c New testcases for ucwords() function 2007-09-07 14:44:52 +00:00
Raghubansh Kumar
67b4492c47 New testcases for strncmp() function 2007-09-07 14:20:12 +00:00
Raghubansh Kumar
cf2121887c New testcases for stripslashes() function 2007-09-07 13:51:26 +00:00
Raghubansh Kumar
af40765f8f New testcases for addslashes() function 2007-09-06 04:01:25 +00:00
Raghubansh Kumar
270414f3b5 New testcases for strtolower() and strtoupper() functions 2007-08-10 03:03:49 +00:00
Ilia Alshanetsky
cd32b4e2bb Fixed bug #42208 (substr_replace() crashes when the same array is passed
more than once)
2007-08-05 14:47:42 +00:00
Antony Dovgal
d78c7c9421 fix test 2007-07-31 07:09:08 +00:00
Jani Taskinen
68b823564d MFH: - Fixed bug #42107 (sscanf broken when using %2$s type format parameters) 2007-07-26 15:24:06 +00:00
Antony Dovgal
48f4ea9fba fix test 2007-07-23 22:14:47 +00:00
Jani Taskinen
e8fcd7477c MFH: Fixed str_pad() when passed huge negative pad length. 2007-07-23 13:27:59 +00:00
Ilia Alshanetsky
3fea65b0dc Fixed "Floating point exception" inside wordwrap() 2007-07-22 15:55:16 +00:00
Antony Dovgal
a091268eef MFH 2007-07-19 15:15:26 +00:00
Antony Dovgal
0806c6c804 add new tests from HEAD 2007-07-19 15:04:15 +00:00
Antony Dovgal
2399b208db MFH: split test 2007-07-16 10:59:17 +00:00
Dmitry Stogov
1fe8fded5f Fixed test 2007-06-15 08:16:11 +00:00
Stanislav Malyshev
b6ddf71381 revert - already have unpack.phpt 2007-06-06 22:25:08 +00:00
Stanislav Malyshev
bc35767b46 add edge case test 2007-06-06 22:21:59 +00:00
Ilia Alshanetsky
717e94c67a Added missing format validator to unpack() function 2007-06-06 22:04:05 +00:00
Stanislav Malyshev
2e15dda50e fix test format 2007-06-06 17:46:17 +00:00
Stanislav Malyshev
8b5a2d38c4 add some edge cases 2007-06-06 17:12:40 +00:00
Stanislav Malyshev
e001e11009 add test for moneyformat 2007-06-06 17:11:59 +00:00
Brian Shire
55b5b89ef7 fix sprintf/printf %u tests so they work correctly on both 32-bit and 64-bit. (broken in previous fix)
# just made these EXPECTREGEX expressions, if there's a prefered way to comply with both 32/64 bit let me know.
2007-06-04 01:23:07 +00:00
Ilia Alshanetsky
405a15043f Corrected fix for CVE-2007-2872 2007-06-03 18:47:10 +00:00
Ilia Alshanetsky
9282d4add6 Fixed an interger overflow inside chunk_split(), identified by Gerhard
Wagner
2007-05-30 00:33:13 +00:00
Antony Dovgal
f7ec7197f7 fix tests 2007-05-29 10:25:33 +00:00
Nuno Lopes
2c5368c013 fix handling of &&amp; by htmlentities 'no-double-encode'
expand the test cases
2007-05-27 15:57:11 +00:00
Zoe Slattery
eb0f324f70 New testcaes for file/strings/general_functions 2007-05-25 13:44:23 +00:00
Raghubansh Kumar
9f5016ef7b New version of basename_basic.phpt, basename_error.phpt, basename_variation.phpt 2007-05-22 15:59:04 +00:00
Ilia Alshanetsky
c98cbb6020 [DOC] Added a 4th parameter flag to htmlspecialchars() and htmlentities()
that makes the function not encode existing html entities. The feature is
disabled by default and can be activated by passing FALSE as the 4th param
2007-05-22 12:37:00 +00:00
Antony Dovgal
ff514e208e fix tests 2007-05-18 11:47:58 +00:00
Antony Dovgal
ffd09c0961 fix tests 2007-05-18 11:29:55 +00:00
Antony Dovgal
2274c18cc6 remove floats, their text representation varies depending on many factors 2007-05-14 11:10:30 +00:00
Raghubansh Kumar
3a97c49489 New version of addcslashes.phpt, md5_file.phpt, str_replace.phpt, substr.phpt, chr_ord.phpt, strpos.phpt, strstr.phpt, trim1.phpt, implode1.phpt, str_repeat.phpt, substr_count.phpt 2007-05-12 10:15:02 +00:00
Antony Dovgal
8de1ecef64 MFH: fix segfault in strripos() when offset == INT_MAX+1
identified and repoted by Joxean Koret
2007-05-10 22:10:43 +00:00
Antony Dovgal
7efde494d7 MFH: flush output buffer when/if highlight_string()/php_strip_whitespace()/highlight_string() fail 2007-05-10 16:28:11 +00:00
Antony Dovgal
3a46e8ab1f fix tests 2007-05-07 22:30:16 +00:00
Antony Dovgal
c2c4fe75e1 fix test 2007-05-07 21:38:42 +00:00
Antony Dovgal
1f65545121 fix test names 2007-05-07 18:03:01 +00:00
Ilia Alshanetsky
e0cab44595 Remove quotes 2007-05-01 00:05:39 +00:00
Antony Dovgal
66859a74de fix tests 2007-04-26 23:30:00 +00:00
Dmitry Stogov
b2785c3d4c Fixed tests (win32) 2007-04-18 14:51:29 +00:00
Brian Shire
e7d68b8373 reverting incorrect changes to pack test
# only a problem on darwin, latest gcc-4.2 branch works as expected.
2007-04-13 02:15:07 +00:00
Antony Dovgal
f2f885c023 fix test 2007-04-06 19:35:12 +00:00
Brian Shire
bd4add59f7 correction for previous fix to bug #38770 (pack/unpack is broken on 64bit)
fix pack test, correct space to tabs
2007-04-03 19:50:40 +00:00
foobar
3da21dc6fc - 64bit test 2007-04-02 15:09:37 +00:00
foobar
bb0547029a - Make this 32bit only test. (will add 64bit version next) 2007-04-02 15:02:02 +00:00
Zoe Slattery
c18d3b56e7 new ltrim, rtrim and str_pad tests 2007-03-28 10:44:04 +00:00
Zoe Slattery
517865fb6e New tests for printf and ucfirst 2007-03-28 09:38:30 +00:00
Zoe Slattery
23d64aeaa4 Three new string tests for funtions strcasecmp, strcmp and strlen. 2007-03-28 09:08:08 +00:00
Antony Dovgal
7053b89072 MFH: fix #40915 (addcslashes unexpected behavior with binary input) 2007-03-26 10:25:41 +00:00
Antony Dovgal
982de65f6e fix substr()
it's perfectly legal to do substr("str", 0, 1000000);
2007-03-09 10:04:59 +00:00
Antony Dovgal
c9ded196b4 fix tests 2007-03-09 09:45:14 +00:00
Ilia Alshanetsky
02fae929af Fixed bug #40754 (added substr() & substr_replace() overflow checks). 2007-03-09 01:58:34 +00:00
Ilia Alshanetsky
e769e1b49e Fixed bug #40704 (strip_tags() does not handle single quotes correctly) 2007-03-03 15:46:29 +00:00
Antony Dovgal
666370d7ee add new test 2007-02-26 09:58:04 +00:00
Antony Dovgal
29a9ba9639 new/improved tests 2007-02-13 12:59:53 +00:00
Ilia Alshanetsky
103b8c33c0 Fixed bug #40432 (strip_tags() fails with greater than in attribute). 2007-02-13 02:16:22 +00:00
Antony Dovgal
45c0253f2c add test 2007-02-11 20:56:46 +00:00
Hannes Magnusson
3f9a4baa31 Fix test according to bug#40009 2007-01-05 15:22:35 +00:00
Ilia Alshanetsky
78d8808f42 Mark test as being 32bit only 2006-12-30 02:00:51 +00:00
Nuno Lopes
54f3ff34b7 oops: remove uneeded code in the skip condition 2006-12-27 15:17:04 +00:00
Nuno Lopes
d07a46ebab add fr_FR@euro to the setlocale list 2006-12-27 15:11:35 +00:00