Commit Graph

150 Commits

Author SHA1 Message Date
Moriyoshi Koizumi
1f7e547662 - MFH: Fix a typo in mb_stripos() that caused segfaults (noticed by bs@php.net, thanks). 2008-07-25 12:51:47 +00:00
Moriyoshi Koizumi
935846db2b - Fix tests. 2008-07-25 10:48:20 +00:00
Moriyoshi Koizumi
4f42ed39c0 - Revived zend multibyte 2008-07-24 22:21:41 +00:00
Moriyoshi Koizumi
850449568e - MFH: Fix tests. 2008-07-24 13:49:39 +00:00
Moriyoshi Koizumi
d7594edaa0 - MFH: Fixed warnings. 2008-07-24 13:46:50 +00:00
Moriyoshi Koizumi
e29684a2ce - MFH: Added "mbstring.http_output_conv_mimetypes" INI directive. 2008-07-24 13:01:50 +00:00
Moriyoshi Koizumi
85d7751097 - Fix include_path. 2008-07-17 16:30:32 +00:00
Alexey Zakhlestin
1c77f59429 updated to the new parameter-parsing api 2008-06-28 21:23:08 +00:00
Dmitry Stogov
7e5392b54a Fixed test 2008-06-24 07:06:08 +00:00
Josie Messa
1fa1bd7ac8 - Fixed failing mbstring tests after bug fixes 2008-02-21 14:07:13 +00:00
Josie Messa
51fe79c055 - Committing new tests for MBString extension.
More details can be found here: http://news.php.net/php.qa/62382
2008-02-01 15:29:59 +00:00
Jani Taskinen
275e2626ab - fix bug number 2007-11-16 12:28:56 +00:00
Jani Taskinen
3e0680f2ee MFH:- Fixed bug #31911 (mb_ereg*_replace() crashes when replacement string is invalid
PHP expression and 'e' option is used)
2007-11-16 12:26:34 +00:00
Antony Dovgal
2f467baf94 MFH 2006-10-11 11:53:02 +00:00
Antony Dovgal
a81eae5d01 MFH: fix segfault/leak, add test 2006-10-11 11:09:42 +00:00
Seiji Masugata
603846c985 fix tests. 2006-07-29 17:11:09 +00:00
Hannes Magnusson
aaa1d62614 MFH: fix/add SKIPIF 2006-06-27 00:09:43 +00:00
Antony Dovgal
70c643f5f0 fix tests 2006-05-29 21:08:02 +00:00
Antony Dovgal
c92ae847c7 add missing skipif conditions
fix existing ones
2005-12-21 11:42:06 +00:00
Antony Dovgal
8fee6ac1e2 fix test 2005-12-16 14:50:47 +00:00
foobar
4b0c39887c - Fixed bug #34015
# Whatever this test was supposed to try to test...sheesh..
2005-08-05 20:38:50 +00:00
Moriyoshi Koizumi
df3c2b5808 - Add testcases for bug #28220 and #30549. 2005-02-21 07:45:37 +00:00
Moriyoshi Koizumi
5b5e012bc2 - Update libmbfl (fixes bug #30549 and #31911).
- Update oniguruma to 3.7.0
2005-02-20 22:18:09 +00:00
foobar
ce742b08b0 - Fix typo (avaliable -> available). (bug #28725) 2004-12-16 12:34:32 +00:00
Moriyoshi Koizumi
a86095fe07 - Fix test. I have no idea why the test was left this way. 2004-10-09 08:16:29 +00:00
Marcus Boerger
5f0433db83 MFB: Enforce protocol on magic methods/functions 2004-08-02 08:27:57 +00:00
Moriyoshi Koizumi
b33f7ab671 - Fix bug #28466 (mbstring_convert_variables() problem). 2004-06-26 05:39:00 +00:00
Moriyoshi Koizumi
e4d90e60fc - Turn off mbstring.func_overload as this test uses plain strlen() for
comparison.
2004-01-19 16:53:34 +00:00
Moriyoshi Koizumi
b8ea4e6fd2 Fix bug #26639 (mb_convert_variables() clutters variables beyond the references) 2003-12-18 09:50:20 +00:00
Marcus Boerger
71ec2db198 Fix tests 2003-11-30 13:20:26 +00:00
foobar
d0422ea0bc fix skipif for these tests 2003-10-02 14:55:49 +00:00
Moriyoshi Koizumi
07a021f477 Add test cases for the regex probles 2003-09-26 17:44:06 +00:00
Moriyoshi Koizumi
91bf8e5dc9 Explicitly specify mbstring.language. 2003-09-26 14:42:37 +00:00
Moriyoshi Koizumi
96cdea35c1 Specify full path to cat for mb_send_mail() tests 2003-09-26 11:08:54 +00:00
Ilia Alshanetsky
ff4d200772 Specify full path for cat utility used by the test. 2003-09-24 02:27:43 +00:00
Derick Rethans
9cd7b9d3c3 - Fix for bug #25140 (mb_convert_encoding returns FALSE when it tries to
convert empty string)
2003-08-19 08:29:57 +00:00
Ilia Alshanetsky
c6134c346c Use getenv() rather then $_ENV, the latter is not always avaliable. 2003-08-09 21:00:42 +00:00
Moriyoshi Koizumi
fb02fdf306 Fix test as the "expected result" was totally pointless in the first place. 2003-08-08 10:53:54 +00:00
Moriyoshi Koizumi
de02912ef2 Fix the test which should have been fixed long ago. 2003-08-08 10:52:50 +00:00
Moriyoshi Koizumi
68120caddc Add test case for the bug 2003-08-08 10:35:53 +00:00
Moriyoshi Koizumi
f05452fbcd Disable the test temporarily because "-d" flags in the command line doesn't
take effect under CGI mode. (See the relevant portion of cgi_main.c
that begins at line 996)
2003-08-03 13:58:20 +00:00
Moriyoshi Koizumi
f1679e4027 Fixed test so it won't fail in correct situations 2003-05-14 00:36:00 +00:00
Moriyoshi Koizumi
9e6fdcd8f6 Fixed test cases so they wouldn't be failed in case register_globals=on 2003-03-29 07:13:47 +00:00
Moriyoshi Koizumi
47f6ed8dbb Trivial test adjustment 2003-02-03 20:29:07 +00:00
Moriyoshi Koizumi
e5a4b5b2dc Fixed test case for mb_strpos().
# the third parameter should specify an offset but an encoding name
2003-02-03 16:16:37 +00:00
Moriyoshi Koizumi
b00cc4f2bb Fixed a mb_send_mail() bug that has been reported in php-i18n@lists.php.net
See http://lists.php.net/article.php?group=php.i18n&article=427
2003-01-31 14:15:49 +00:00
Moriyoshi Koizumi
b9687bea65 Prevented the result from being affected by function overloading 2002-11-29 18:32:50 +00:00
Moriyoshi Koizumi
436bc265e6 MFB 2002-11-24 19:48:58 +00:00
Moriyoshi Koizumi
40d605a385 Test for mb_send_mail() under language=Korean 2002-11-23 05:26:18 +00:00
Moriyoshi Koizumi
1748935997 Added missing mb_internal_encoding() 2002-11-21 18:12:53 +00:00
Moriyoshi Koizumi
adfcb09190 Removed unnecessary "\n" 2002-11-21 17:36:16 +00:00
Moriyoshi Koizumi
65677445b4 Added a test to check whether mb_parse_str() works properly 2002-11-19 16:56:43 +00:00
Moriyoshi Koizumi
18089ce360 Modified the test so it wouldn't be affected by ini settings. 2002-11-19 16:55:34 +00:00
Moriyoshi Koizumi
003be7fe32 Divided the overload test into two so as to handle the case mbregex is
not enabled
2002-11-15 15:59:07 +00:00
Moriyoshi Koizumi
b62afe783d %s/SKIP/skip/g 2002-11-15 15:34:57 +00:00
Moriyoshi Koizumi
46b4abc08b Removed unnecessary ?> 2002-11-15 14:53:58 +00:00
Moriyoshi Koizumi
b23d2c8beb Fixed bogus SKIPIF conditions. 2002-11-15 14:49:57 +00:00
Moriyoshi Koizumi
f0a7db1c7e Added some skipif conditions to handle the case mbstring is enabled but mbregex is disabled. 2002-11-15 14:26:33 +00:00
Moriyoshi Koizumi
9efefc742b Added a test for zend-multibyte extension 2002-11-14 22:38:43 +00:00
Ilia Alshanetsky
0cb9c53033 Added a skip condition for when mail() function is not avaliable. 2002-11-13 17:16:33 +00:00
Ilia Alshanetsky
b0d519f730 Added a skip condition for when the encoding needed for the test is not
available or supported.
2002-11-13 16:52:48 +00:00
Moriyoshi Koizumi
9f2a1ce9d4 Added a test for mb_send_mail() to check if the function properly handles
Traditional Chinese characters.
2002-11-13 12:00:47 +00:00
Moriyoshi Koizumi
2016c0cc0a Added a test for mb_send_mail() to check if the simplified Chinese support
works
2002-11-13 08:45:37 +00:00
Moriyoshi Koizumi
d9ebc7aadb Updated the test 2002-11-13 08:27:17 +00:00
Moriyoshi Koizumi
072466203d Fixed language name 2002-11-12 20:06:20 +00:00
Moriyoshi Koizumi
5d547d1f0c Added test cases for mb_send_mail() 2002-11-12 20:04:58 +00:00
Moriyoshi Koizumi
8c517d7d1d Added a test case to check if my recent patch works 2002-11-10 15:52:00 +00:00
Moriyoshi Koizumi
0a801f1deb Added a test for mb_substr_count() 2002-11-09 17:07:29 +00:00
Moriyoshi Koizumi
72e0aa894a Added a test for function overloading behaviour 2002-11-08 07:22:10 +00:00
Moriyoshi Koizumi
f6ad144abb Added a new test 2002-11-03 20:35:46 +00:00
Moriyoshi Koizumi
408e019b25 Disabled output_handler in INI section 2002-11-03 08:37:59 +00:00
Moriyoshi Koizumi
a705a8b597 Clean up. 2002-10-30 08:06:52 +00:00
Moriyoshi Koizumi
352a9f093c Removed dl() code 2002-10-30 07:54:33 +00:00
Moriyoshi Koizumi
ac4eb2cccc Shortened comments. I also think they were too long. 2002-10-30 07:53:15 +00:00
Moriyoshi Koizumi
fc0e6ff90e Added test cases to check the compatibility with standard ereg functions. 2002-10-29 19:01:10 +00:00
Marcus Boerger
b763fe7622 fix test 2002-10-28 00:02:25 +00:00
Moriyoshi Koizumi
eef8649fa4 Capitalized the title string 2002-10-27 03:07:05 +00:00
Moriyoshi Koizumi
16315a9a22 Added a test case for bug #20087 2002-10-25 21:29:14 +00:00
Moriyoshi Koizumi
069bfc57d9 Updated the test case 2002-10-23 20:38:18 +00:00
Moriyoshi Koizumi
4758b109a5 Do the same test as ext/standard/test/strings/strtoupper.phpt does 2002-10-22 20:34:53 +00:00
Moriyoshi Koizumi
bce3d0cf7d Renamed the test cases. 2002-10-21 19:19:05 +00:00
Moriyoshi Koizumi
cee696d9e7 Added a new test case to confirm the inconsistent regex behaviour reported
on php-users@php.gr.jp (10830)
2002-10-21 02:27:51 +00:00
Moriyoshi Koizumi
f45231a8ed Added mb_strtolower() and mb_strtoupper()
@- Added mb_strtolower() and mb_strtoupper(). (Moriyoshi)
2002-10-21 01:44:59 +00:00
Moriyoshi Koizumi
9520422501 Fixed the encoding 2002-10-10 17:16:46 +00:00
Moriyoshi Koizumi
7b3fb01072 Updated the test cases so that they use mb_regex_set_options.
Added a test for mb_regex_set_options.
2002-10-10 17:05:04 +00:00
Moriyoshi Koizumi
a0f61c9c51 Added test cases for mbregex 2002-10-07 18:02:05 +00:00
Yasuo Ohgaki
0a6f5f9996 Update test 2002-10-03 07:19:27 +00:00
Yasuo Ohgaki
66a50c5373 Added ob_flush_all() that flushes bufferred contents until it actually
sent/printed.
@ Added ob_flush_all() that flushes all buffers. (Yasuo)
2002-10-03 07:17:14 +00:00
Marcus Boerger
e0c967508a more ini settings 2002-08-21 03:10:55 +00:00
Marcus Boerger
77abd9d55a -New encoding/decoding HTML-ENTITIES.
#This allows to enforce named and numeric entities in output.
#Example:CMS that reads UTF8 or ISO-8859-1 but exports HTML in ASCII.
#Using mbstring.http_output=HTML-ENTITIES users receive entities which
#can displayed correctly independant of any brwoser side encoding.
@New mbstring encoding/decoding HTML-ENTITIES. (marcus)
2002-08-04 14:20:11 +00:00
Yasuo Ohgaki
2efc8847cd Fixed test title (strlen -> mb_strlen) 2002-04-19 07:51:00 +00:00
Sander Roobol
fa8e2db095 This test should be skipped if(!cgi) 2002-04-12 15:25:54 +00:00
Marcus Boerger
1185a30687 include comma separated encoding lists in test 2002-04-05 16:25:05 +00:00
Rui Hirokawa
4e494746c1 fixed POST/GET input processing. 2002-03-21 13:44:39 +00:00
Yasuo Ohgaki
9d2edd0fd8 Use common.inc instead of common.php for ease of use (rm -f *.php for failed
test files)
2002-03-18 06:03:53 +00:00
Rui Hirokawa
9a735efbce fixed some errors of mbstring in regression tests. 2002-03-16 07:33:21 +00:00
Rui Hirokawa
68976a35ce fixed wrong include file. 2002-03-10 13:17:59 +00:00
Rui Hirokawa
06923253c3 fixed module name iconv->mbstring. 2002-03-10 12:23:11 +00:00
Yasuo Ohgaki
00e71a8c7e Rename common.php to common.inc for easier deletion of garbages.
e.g. "rm -f *.php"
2002-03-07 08:06:22 +00:00
Yasuo Ohgaki
7ce7a73095 Add mbstring tests 2002-03-02 10:44:57 +00:00