Commit Graph

492 Commits

Author SHA1 Message Date
Felix De Vliegher
4b1c0f0722 MFB: Tests for strpbrk(), testfest.php.net task #91 and #92. 2008-07-15 11:15:32 +00:00
Josie Messa
0d4efeb6f2 - Tests from TestFest
- Have slightly modified similar_text_error.phpt from original file
2008-07-14 15:28:51 +00:00
Felipe Pena
9277fc89c4 - MFB: Fixed bug #45485 (strip_tags and <?XML tag) 2008-07-11 12:43:06 +00:00
David Soria Parra
82830dd06f PHP Testfest. Tests done by Felix De Vliegher 2008-07-10 23:36:15 +00:00
Felix De Vliegher
d54cf79cbc Testcases for vfprintf(), testfest task #133. 2008-06-22 13:31:10 +00:00
Felipe Pena
7504d57043 - Fixed tests (unicode results, UEXPECT, line endings) 2008-06-13 00:18:57 +00:00
Steph Fox
87fac43ac0 - killed off UEXPECT
- html_translation_table and setlocale tests are no longer relevant
- there are a number of ANSI-encoded files. Is this deliberate?
2008-05-27 10:50:48 +00:00
Antony Dovgal
b3e245110d and the last one.. 2008-05-14 13:13:02 +00:00
Matt Wilmas
49800ec22c Fixed test after fixing bug #44830 2008-05-12 05:06:53 +00:00
Felipe Pena
5df12221cf - Added UEXPECTF 2008-04-21 12:50:40 +00:00
Felipe Pena
04d0bb1e10 - Fixed tests (NULL is allowed where binary string is expected) 2008-04-15 17:13:08 +00:00
Felipe Pena
c831cc9c75 - Fixed test 2008-04-15 15:41:41 +00:00
Felipe Pena
47affc1757 - Fixed test 2008-04-14 17:42:30 +00:00
Greg Beaver
abb227db46 sync fixed test properly with 5.3 branch 2008-04-13 21:41:46 +00:00
Greg Beaver
d90aa1a587 fix test 2008-04-13 21:41:45 +00:00
Felipe Pena
f6639abf7d MFB: Fixed bug #44703 (htmlspecialchars() does not detect bad character set argument) 2008-04-11 19:08:05 +00:00
Scott MacVicar
56352d1a2f MFB 5.3: Rest of the changes for re2c merge 2008-03-26 14:46:17 +00:00
Dmitry Stogov
a0378d3514 Fixed test 2008-03-18 06:44:54 +00:00
Felipe Pena
748677148c Fixed tests 2008-02-28 15:28:00 +00:00
Felipe Pena
cdb42ce6d2 MFB: Fixed bug #44242 (metaphone('CMXFXM') crashes PHP) 2008-02-25 22:56:47 +00:00
Felipe Pena
e285f368ca Added UEXPECTF 2008-02-24 02:47:36 +00:00
Felipe Pena
8253434ea9 Fixed tests 2008-02-24 02:22:15 +00:00
Felipe Pena
49114611bb FIxed tests (new error message - E_DEPRECATED) 2008-02-23 22:30:08 +00:00
Etienne Kneuss
7c89093243 Fix inconcistencies between substr and substr_compare 2008-02-13 16:59:56 +00:00
Felipe Pena
025d27e2ab Fix test (missing result) 2008-02-11 15:57:34 +00:00
Felipe Pena
9619ec2317 New test for strtok 2008-02-09 18:12:45 +00:00
Felipe Pena
0a5d2b1ac7 Fix error message 2008-02-07 13:26:36 +00:00
Felipe Pena
77864cdc8e Fixed some tests (UEXPECT) 2008-02-07 12:45:54 +00:00
Antony Dovgal
bc9cba1a93 MFB: fix #43927 (koi8r is missing from html_entity_decode())
patch by andy at demos dot su
2008-01-28 23:08:07 +00:00
Nuno Lopes
875d3f15fd be more strict in the skipif 2008-01-27 16:54:02 +00:00
Nuno Lopes
85adde057e MFB: fix skipifs 2008-01-27 16:52:34 +00:00
Antony Dovgal
2b2e025690 new test by Lars Strojny 2008-01-22 15:42:12 +00:00
Antony Dovgal
596403f226 fix #42861 (strtr() crashes in Unicode mode when $from argument is empty) 2008-01-21 14:37:19 +00:00
David Coallier
7a66695286 - Added lcfirst() function. The sister function of ucfirst()
- Test #1 for lcfirst()
2008-01-19 19:23:25 +00:00
David Coallier
982f842577 - run-tests.php -U
- The unicode test's error messages are working
2008-01-16 13:27:01 +00:00
David Coallier
ea2c35ad82 - MFB
- Make sure to return the good error message with new parse parameters api
  of ucfirst()
2008-01-16 13:12:51 +00:00
Dmitry Stogov
171c52087e Fixed 32/64-bit tests (Serg) 2007-12-27 11:23:30 +00:00
Dmitry Stogov
0c75772f68 Additional fix for bug #42868 2007-12-24 18:10:20 +00:00
Raghubansh Kumar
b90cab7ec7 fix tests 2007-12-24 04:29:26 +00:00
Raghubansh Kumar
1444624663 fix tests 2007-12-20 17:25:06 +00:00
Raghubansh Kumar
c4061cce23 fix test 2007-12-19 10:37:42 +00:00
Derick Rethans
b5629cb468 - Fixed var_export() for array keys
- Fixed broken explode() test
2007-12-18 10:53:25 +00:00
Dmitry Stogov
9c024a30a5 Fixed bug #42868 (Floats cast to integer droduce unpredicatable results). (Zoe Slattery) 2007-12-17 11:06:43 +00:00
Derick Rethans
5a14715596 - Fixed Bug #42272 (var_export() incorrectly escapes char(0)).
- Also fixed var_export() in unicode mode, as the function would actually
  generate non-parsable strings which defeats the purpose of var_export().
2007-12-09 16:54:30 +00:00
Raghubansh Kumar
5b5211b0dc fix tests : better float values 2007-12-03 13:02:11 +00:00
Raghubansh Kumar
290076dffa fix tests: better float values 2007-12-03 12:04:26 +00:00
Stanislav Malyshev
91701d34b0 test for 42866 2007-11-21 02:24:47 +00:00
Raghubansh Kumar
7e84b55003 fix test for linux64 - choosing smaller float values 2007-11-16 17:35:38 +00:00
Raghubansh Kumar
f5c11b39b2 fix tests 2007-11-09 12:06:08 +00:00
Raghubansh Kumar
5d8097975c fix test : better float values 2007-11-09 08:49:28 +00:00
Raghubansh Kumar
6079ffd434 fix tests: better float values 2007-11-09 07:29:18 +00:00
Antony Dovgal
82d0dcd73c fix tests 2007-11-08 11:19:19 +00:00
Antony Dovgal
31699e093a fix test 2007-11-08 10:29:40 +00:00
Antony Dovgal
a579d09bb7 fix tests, add 64bit versions 2007-11-06 12:54:13 +00:00
Raghubansh Kumar
52f6591620 fix tests: better float values 2007-11-02 03:06:13 +00:00
Raghubansh Kumar
8e47cdd59b fix test 2007-10-11 03:17:08 +00:00
Raghubansh Kumar
adda3af3cb New testcases for strip_tags() function 2007-10-09 12:42:47 +00:00
Raghubansh Kumar
60d71da435 added unicode output 2007-10-09 11:58:52 +00:00
Raghubansh Kumar
bb27fe1933 fix tests 2007-10-09 11:51:48 +00:00
Raghubansh Kumar
aaa68d2928 fix tests 2007-10-09 05:22:51 +00:00
Raghubansh Kumar
28d292e580 New testcases for strtr() function 2007-10-08 15:31:06 +00:00
Raghubansh Kumar
7aab680f0a New testcases for get_html_translation_table() function 2007-10-08 15:30:38 +00:00
Raghubansh Kumar
e383670a5d fix tests 2007-10-08 06:24:57 +00:00
Raghubansh Kumar
dd24301ac6 New testcases for setlocale() function 2007-10-05 19:35:45 +00:00
Raghubansh Kumar
e379d3e914 New testcases for nl2br() function 2007-10-05 18:47:47 +00:00
Raghubansh Kumar
703626aa98 New testcases for strrpos() function 2007-10-05 18:35:49 +00:00
Raghubansh Kumar
0513f160c9 New testcases for str_split() function 2007-10-05 18:20:57 +00:00
Raghubansh Kumar
871cae6d64 New testcases for vsprintf() function 2007-10-05 18:12:36 +00:00
Stanislav Malyshev
e920066a14 MFB unicode test 2007-10-03 05:08:47 +00:00
Antony Dovgal
8b2cf00c41 fix tests 2007-10-02 11:35:39 +00:00
Jani Taskinen
5569fd3005 MFB: fix test 2007-10-01 13:55:58 +00:00
Jani Taskinen
d762757ee5 - Fixed bug #42789 (join() warning messages are not proper & different
return value on php5/6)
# For consistency between 5/6 also made the return value be NULL like it
# has been for ages when invalid stuff is passed.
2007-10-01 12:04:09 +00:00
Jani Taskinen
50b34c8099 - Added unicode result 2007-10-01 12:01:28 +00:00
Raghubansh Kumar
413064b576 New testcases for sprintf() function 2007-09-29 14:15:53 +00:00
Raghubansh Kumar
fa61cf8a31 New testcases for chunk_split() function 2007-09-29 12:57:06 +00:00
Raghubansh Kumar
272cedd5d2 New testcases for strrchr() function 2007-09-29 09:24:27 +00:00
Raghubansh Kumar
46700e7a47 New testcases for stripos() function 2007-09-29 09:22:42 +00:00
Raghubansh Kumar
03d6500fb0 New testcases for join() function 2007-09-29 09:08:24 +00:00
Raghubansh Kumar
a40e2c843c New testcases for htmlspecialchars_decode() function 2007-09-29 09:03:22 +00:00
Raghubansh Kumar
ed72c6c50b new testcases for strrev() function 2007-09-26 14:42:15 +00:00
Raghubansh Kumar
38d1ab072f New testcases for crc32() function 2007-09-26 06:11:28 +00:00
Raghubansh Kumar
360f022c1a New testcases for strspn() function 2007-09-22 10:49:49 +00:00
Raghubansh Kumar
8a44a00593 New testcases for strcspn() function 2007-09-22 10:37:46 +00:00
Raghubansh Kumar
53569976d4 New testcases for strtok() function 2007-09-22 07:41:14 +00:00
Raghubansh Kumar
adb9c195f5 better output matching/fixes 2007-09-15 07:32:16 +00:00
Raghubansh Kumar
59d3bd8544 New testcase for strncasecmp() 2007-09-14 19:17:08 +00:00
Raghubansh Kumar
78fdb30718 New testcases for chop() 2007-09-14 19:14:52 +00:00
Raghubansh Kumar
3aae429b88 New testcases for wordwrap() 2007-09-14 19:09:11 +00:00
Nuno Lopes
db5f5d6bd7 MFB: change run-tests.php to add %a 2007-09-14 15:36:29 +00:00
Nuno Lopes
bd6f705895 MFB 2007-09-13 19:52:45 +00:00
Ilia Alshanetsky
7877150f49 MFB: Added a note indicating that the tests may fail to due libc
implementation
2007-09-13 15:36:50 +00:00
Antony Dovgal
1d42952da9 fix tests 2007-09-10 10:33:00 +00:00
Antony Dovgal
2c354acaf7 remove the original 2007-09-09 22:47:47 +00:00
Antony Dovgal
b9faefee14 MFB: split test 2007-09-09 22:47:23 +00:00
Raghubansh Kumar
fdf0a9e6a1 New testcases for ucwords() function 2007-09-07 14:43:24 +00:00
Raghubansh Kumar
e47194d4dc New testcases for strncmp() function 2007-09-07 14:22:56 +00:00
Raghubansh Kumar
aecb1354e3 New testcases for stripslashes() function 2007-09-07 14:03:33 +00:00
Raghubansh Kumar
87632ef25c New testcases for addslashes() function 2007-09-06 04:02:56 +00:00
Raghubansh Kumar
b71984f4bc New testcases for strtolower() and strtoupper() functions 2007-08-10 03:05:00 +00:00
Jani Taskinen
def23a6e7d MFB: Test for bug #42208. Fix is not needed in HEAD, zend_parse_parameters is used here 2007-08-05 19:54:42 +00:00
Jani Taskinen
b0b1438882 - Fixed bug #42107 (sscanf broken when using %2$s type format parameters) 2007-07-26 15:23:31 +00:00
Antony Dovgal
adf53be4ed fix test 2007-07-23 22:14:41 +00:00
Jani Taskinen
8eaa978e97 - Fixed str_pad() when passed huge negative pad_length 2007-07-23 13:27:34 +00:00
Jani Taskinen
7bfd857fa1 MFB: Fixed "Floating point exception" inside wordwrap() 2007-07-23 11:47:44 +00:00
Antony Dovgal
44df63c8ae fix tests, add 64bit versions 2007-07-19 15:15:15 +00:00
Antony Dovgal
383a8264e9 split the test 2007-07-19 15:04:05 +00:00
Antony Dovgal
febe567acb split test 2007-07-16 10:59:07 +00:00
Jani Taskinen
261c38876a fix test 2007-07-12 17:43:34 +00:00
Johannes Schlüter
c853428779 Fix test for unicode mode 2007-07-11 15:46:20 +00:00
Dmitry Stogov
644c0c6a51 Fixed limit warnings in non-unicode mode 2007-07-10 14:16:40 +00:00
Dmitry Stogov
204f671029 Fixed tests 2007-07-09 11:38:34 +00:00
Dmitry Stogov
af598946f1 Fixed crash in substr_compare()
Fixed error messages
2007-06-18 13:39:02 +00:00
Dmitry Stogov
d4ef7f0f75 Fixed test 2007-06-18 11:54:02 +00:00
Dmitry Stogov
44249ed376 Fixed test 2007-06-15 08:16:23 +00:00
Ilia Alshanetsky
60a7d31254 MFB: Added missing format validator to unpack() function 2007-06-06 22:04:47 +00:00
Stanislav Malyshev
f011c37849 fix test format 2007-06-06 17:47:15 +00:00
Stanislav Malyshev
56773a566a add some edge cases 2007-06-06 17:14:59 +00:00
Stanislav Malyshev
32d94ed6cd add moneyformat test 2007-06-06 17:13:18 +00:00
Brian Shire
5361f1838b MFB: fix sprintf/printf %u tests so they work correctly on both 32-bit and 64-bit. (broken in previous fix) 2007-06-04 01:23:22 +00:00
Ilia Alshanetsky
9cfd000ba3 MFB: Corrected fix for CVE-2007-2872 2007-06-03 18:53:51 +00:00
Ilia Alshanetsky
8cd0541be1 MFB: Fixed an interger overflow inside chunk_split(), identified by
Gerhard Wagner
2007-05-30 00:38:00 +00:00
Ilia Alshanetsky
16c9af1c7d MFB 2007-05-29 20:11:23 +00:00
Antony Dovgal
f243356f5e fix tests 2007-05-29 10:25:21 +00:00
Zoe Slattery
863ee40af2 New tests for file/general_functions/strings 2007-05-25 13:50:06 +00:00
Raghubansh Kumar
6d36305465 New version of basename_basic.phpt basename_error.phpt basename_variation.phpt 2007-05-22 16:03:57 +00:00
Antony Dovgal
5955f884b9 fix tests, add UEXPECTF 2007-05-14 13:05:29 +00:00
Raghubansh Kumar
8be498b45e New version of addcslashes.phpt, implode1.phpt, strpos.phpt, str_replace.phpt, substr_count.phpt, trim1.phpt, chr_ord.phpt, md5_file.phpt, str_repeat.phpt, strstr.phpt, substr.phpt 2007-05-12 12:12:26 +00:00
Antony Dovgal
483c3034bc fix segfault in strripos() when offset == INT_MAX+1
identified and repoted by Joxean Koret
2007-05-10 22:08:35 +00:00
Antony Dovgal
764b33ef79 flush output buffer when/if highlight_string()/php_strip_whitespace()/highlight_string() fail 2007-05-10 16:27:16 +00:00
Antony Dovgal
2d087e6deb fix tests 2007-05-07 22:33:39 +00:00
Antony Dovgal
57a1dc0757 fix test 2007-05-07 21:38:35 +00:00
Antony Dovgal
ccd97f3a21 fix test names 2007-05-07 17:23:53 +00:00
Antony Dovgal
419c5b3db1 fix tests
add test for yet not merged fix
2007-04-26 23:42:36 +00:00
Antony Dovgal
47d3276cd7 removed unused highlight.bg ini option 2007-04-26 09:39:03 +00:00
Antony Dovgal
b9e9832a85 fix tests 2007-04-22 19:47:08 +00:00
Johannes Schlüter
968608f8db - Fix test 2007-04-21 02:46:29 +00:00
Antony Dovgal
a09d5573f7 fix tests 2007-04-20 21:37:31 +00:00
Antony Dovgal
714e348b9f open the file in text mode and avoid downcoding 2007-04-20 21:17:37 +00:00
Dmitry Stogov
fbccef91d7 Fixed tests (win32) 2007-04-18 14:51:47 +00:00
Zoe Slattery
33c9394112 Updated testcase ltrim() 2007-04-17 11:55:39 +00:00
Brian Shire
be3064577d MFB: reverting incorrect changes to pack test
# only a problem on darwin, latest gcc-4.2 branch works as expected.
2007-04-13 02:15:12 +00:00
Zoe Slattery
904042bb83 new tests: array_merge, array_push, fprintf. modified tests: count_recursive, md5. 2007-04-11 11:44:37 +00:00
Antony Dovgal
c711d41f1f fix test 2007-04-06 19:35:06 +00:00
Brian Shire
c1104b0262 MFB: 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:43 +00:00
foobar
7da784c5f7 MFB- 64bit test 2007-04-02 15:12:55 +00:00
foobar
573028aff2 MFB:- Make this 32bit only test. (will add 64bit version next) 2007-04-02 15:02:22 +00:00
Zoe Slattery
dfaf949f2f New tests for ltrim, rtrim, str_pad 2007-03-28 10:31:13 +00:00
Zoe Slattery
61ccbdee7e New ucfirst() test. 2007-03-28 09:54:31 +00:00
Zoe Slattery
f9596816cc new test for printf 2007-03-28 09:41:55 +00:00
Antony Dovgal
c9b1ff5080 fix #40915 (addcslashes unexpected behavior with binary input) 2007-03-26 10:23:50 +00:00