Antony Dovgal
923b785fd1
add new test
2006-11-13 21:27:48 +00:00
Antony Dovgal
34db368fe4
MFH: fix leaks in get_meta_tags() when used with b0rked HTML
...
add test
2006-11-13 20:18:12 +00:00
Hannes Magnusson
7b81e554ae
MFH: Fixed bug#36975 (natcasesort() causes array_pop() to misbehave)
2006-11-12 01:14:39 +00:00
Dmitry Stogov
25f01e8ec3
Fixed tests
2006-11-09 08:29:18 +00:00
Ilia Alshanetsky
d6b3b73490
Fixed tests
2006-11-07 20:24:38 +00:00
Ilia Alshanetsky
07cdfefdee
Fixed bug #39350 (crash with implode("\n", array(false))).
2006-11-06 17:21:05 +00:00
Hannes Magnusson
4f4e724b1b
MFH: Remove SKIPIF
2006-11-03 14:17:40 +00:00
Antony Dovgal
0cf7b1012f
add new test by Pierre
2006-10-19 12:07:07 +00:00
Hannes Magnusson
b3a914aca8
Fix test (bug#39097)
2006-10-15 13:43:45 +00:00
Antony Dovgal
e20650616e
add test
2006-10-11 14:57:52 +00:00
Antony Dovgal
9b7ba01618
MFH: avoid reading str[-1], add warning when invalid format specified
...
add test
2006-10-11 13:15:30 +00:00
Antony Dovgal
1cc0339d40
MFH: fix crash when parsing invalid hostnames/IPs
2006-10-11 12:53:56 +00:00
Ilia Alshanetsky
7b77d536c3
Fixed bug #37262 (var_export() does not escape \0 character).
2006-10-09 18:08:34 +00:00
Antony Dovgal
24195cf941
re-add the test
2006-10-06 14:50:46 +00:00
Antony Dovgal
b37dd23c35
<tony2001> ilia: are you serious?
...
<ilia> tony2001: yes
2006-10-05 20:28:15 +00:00
Antony Dovgal
e2999137a7
add test
2006-10-05 19:49:43 +00:00
Antony Dovgal
d8648eae57
MFH: fix #39032 (strcspn() stops on null character)
2006-10-04 11:14:32 +00:00
Antony Dovgal
8c09e1ca40
fix test name
2006-09-28 22:02:04 +00:00
Ilia Alshanetsky
e919a873cd
Fixed bug #38859 (parse_url() fails if passing '@' in passwd).
2006-09-28 14:52:31 +00:00
Hannes Magnusson
db5dc9d5d8
fix test
2006-09-19 12:25:27 +00:00
Antony Dovgal
bc60e07d57
argh.. nuke UEXPECTF
2006-09-19 09:40:00 +00:00
Antony Dovgal
e1ff6fe881
support objects in array_walk*()
2006-09-19 09:35:27 +00:00
Antony Dovgal
0fe381cd70
fix tests
2006-09-19 09:07:56 +00:00
Antony Dovgal
dba1f1d42f
MFH: fix #34066 (recursive array_walk causes segfault)
...
add tests
2006-09-19 09:04:16 +00:00
Antony Dovgal
04da058284
MFH: fix leak when call to shutdown function fails
2006-09-15 09:12:17 +00:00
Antony Dovgal
99b133d7a7
MFH: fix double free(), add test
2006-09-15 07:27:22 +00:00
Antony Dovgal
88b59df262
add new tests
2006-09-07 11:48:30 +00:00
Ilia Alshanetsky
8e86a189ec
Fixed bug #38464 (array_count_values() mishandles numeric strings).
2006-09-06 17:25:57 +00:00
Hannes Magnusson
d6ec9d21ec
fix test
2006-08-30 09:44:53 +00:00
Hannes Magnusson
2d3056e94f
MFH:
...
- Fixed bug #33895 (missing math constants).
- Remove M_PI from math.c (its defined in php_math.h)
2006-08-27 19:14:43 +00:00
Hannes Magnusson
a180abdbfd
fix tests on freebsd
2006-08-27 15:06:53 +00:00
Antony Dovgal
806d9fe71b
tm_yday may be 0
2006-08-24 11:27:20 +00:00
Antony Dovgal
a3b62c8eed
add test for real
2006-08-22 20:10:50 +00:00
Ilia Alshanetsky
2a41a50216
Fixed bug #38524 (strptime() does not initialize the internal date storage
...
structure).
2006-08-20 18:20:07 +00:00
Antony Dovgal
c3209b53d2
new tests
2006-08-15 08:54:15 +00:00
Antony Dovgal
1ec10ac8c7
typos in comments and other minor improvements
2006-08-10 13:43:18 +00:00
Antony Dovgal
1a4b715ef2
use memrchr/zend_memrchr instead of strrchr
2006-08-08 10:22:25 +00:00
Antony Dovgal
9596bda7fc
add new test
2006-08-08 09:51:06 +00:00
Antony Dovgal
d17c2ec46d
add new test
2006-08-04 15:01:37 +00:00
Antony Dovgal
a76b852989
fix test
2006-07-28 13:47:56 +00:00
Antony Dovgal
f3f44275f4
MFH
2006-07-17 06:45:08 +00:00
Antony Dovgal
e79591b081
fix test
2006-07-16 15:59:08 +00:00
Marcus Boerger
dc571fa9e2
- MFH Fixed Bug #29538 number_format and problem with 0
2006-07-16 10:50:58 +00:00
Marcus Boerger
f03f2c5eae
- MFH Pathinfo allows to get filename (Toby S, Christian S)
2006-07-16 10:37:24 +00:00
Marcus Boerger
31a8d6a6b3
- MFH array_fill_keys, better unicode support, use new param parsing API
2006-07-15 12:14:07 +00:00
Marcus Boerger
87c64280b0
- MFH Added array_fill_keys(). (Marcus, Mathew W)
2006-07-15 10:21:10 +00:00
Antony Dovgal
4902fc6c25
MFH: fix #38086 (stream_copy_to_stream() returns 0 when maxlen is bigger than the actual length)
...
add tests
2006-07-13 12:00:17 +00:00
Antony Dovgal
3cce465528
fix invalid read - no need to compare strings if haystack is "" or shorter than needle
...
add test
2006-07-12 12:33:48 +00:00
Ilia Alshanetsky
d21628f993
Fixed test
2006-07-11 22:13:53 +00:00
Antony Dovgal
7ff8061d0a
add new tests by Ligaya Turmelle
2006-07-11 21:28:38 +00:00
Antony Dovgal
40b87ec99f
MFH: /tmp is often a symlink, use /bin instead
2006-07-11 21:20:20 +00:00
Dmitry Stogov
83ac79600e
Fixed bug #37947 (zend_ptr_stack reallocation problem)
2006-07-10 14:02:40 +00:00
Hannes Magnusson
a32fb32781
Make everyone happy
2006-07-03 22:42:03 +00:00
Ilia Alshanetsky
4a0d670f43
Fixed test
2006-07-03 21:58:46 +00:00
Hannes Magnusson
87bc74ea7a
fix tests
2006-07-03 16:03:51 +00:00
Nuno Lopes
b7311e9173
fixed segfaults and such things within the new assert02.phpt test
2006-07-01 12:21:07 +00:00
Hannes Magnusson
77b307021d
fix test
2006-06-29 14:53:50 +00:00
Hannes Magnusson
c9c2c0e1f8
MFH: test for bug #37244
2006-06-26 22:20:27 +00:00
Hannes Magnusson
5326a8b2bc
MFH: argument info for php_user_filter
...
Add tests
2006-06-26 17:23:39 +00:00
Antony Dovgal
0b073cd34c
improve test file
...
don't forget to test invalid parameters etc.
2006-06-25 21:21:59 +00:00
Hannes Magnusson
7b6bf33b03
MFH: image_type_to_mime_type()
2006-06-25 21:06:39 +00:00
Nuno Lopes
b7bca610dd
make sure the test outputs what we want
2006-06-20 21:49:16 +00:00
Hannes Magnusson
748b589925
Renamed to bug37864.phpt
2006-06-20 19:33:31 +00:00
Hannes Magnusson
1332a14cfc
MFH
2006-06-20 19:32:59 +00:00
Antony Dovgal
959af2a28d
don't leave garbage in tmp dir
2006-06-20 18:55:46 +00:00
Hannes Magnusson
3674994be5
MFH: test for file_get_contents leaking on empty file
2006-06-20 18:48:56 +00:00
Antony Dovgal
44005b7986
fix test
2006-06-20 13:14:29 +00:00
Antony Dovgal
48098f0774
fix tests
2006-06-01 13:17:36 +00:00
Sara Golemon
79b21ec4cf
MFH: Minor fixes (bjori)
2006-05-30 19:06:22 +00:00
Antony Dovgal
ec68882101
add test
2006-05-29 10:42:54 +00:00
Marcus Boerger
7110650668
- Update test
2006-05-25 10:46:53 +00:00
Marcus Boerger
1448086b22
- MFH Add more tests from Ligaya Turmelle
2006-05-23 23:47:44 +00:00
Marcus Boerger
59d2ce8258
- MFH Fix feof()
2006-05-23 22:31:25 +00:00
Marcus Boerger
e145343b57
- MFH Handle corrupt base64 data in data: url
2006-05-21 13:37:19 +00:00
Antony Dovgal
c13ba99551
add new tests by Ligaya Turmelle
2006-05-19 07:44:24 +00:00
Antony Dovgal
1feef82dc4
new mkdir tests
2006-05-16 13:06:06 +00:00
Marcus Boerger
3577115118
- MFH Add strict compliant RFC2397 support (no //)
2006-05-14 18:40:12 +00:00
Marcus Boerger
5b44266a5f
- MFH RFC2397 decoding
2006-05-14 01:42:03 +00:00
Marcus Boerger
0c09d4cb63
- MFH RFC 2397 meta data handling
2006-05-14 01:06:09 +00:00
Marcus Boerger
2100a86198
- MFH Initial support for RFC2397
2006-05-13 17:58:58 +00:00
Antony Dovgal
0a38d6bd8c
remove nonexistent tag
2006-04-25 12:49:59 +00:00
Antony Dovgal
896a5216d7
fix possible substr_compare() crash
...
add new tests
2006-04-25 12:48:42 +00:00
Antony Dovgal
b81e20f8e8
bah.. no UEXPECT in this branch..
2006-04-22 23:47:25 +00:00
Antony Dovgal
658b22ad6e
add test for #37158
2006-04-22 23:46:42 +00:00
Michael Wallner
f7a6327728
- Fix reading stream filters never notified about EOF
2006-04-20 17:43:18 +00:00
Antony Dovgal
522a5e128f
ok, let's make this test to work on all systems
...
currently it fails at least on Linux PPC and Solaris, probably because of different strncmp/strncasecmp implementations.
2006-04-14 20:30:11 +00:00
Antony Dovgal
46e0ede425
fix test title
2006-04-12 22:20:52 +00:00
Ilia Alshanetsky
4bab5226b2
Fixed test
2006-04-10 23:48:10 +00:00
Antony Dovgal
c0592d17e9
add test
2006-04-05 12:29:21 +00:00
Antony Dovgal
8a58105f42
MFH: use set_time_limit(), this test takes forever on AIX
2006-03-22 19:27:47 +00:00
Antony Dovgal
6aaf510bf0
MFH: fix #36741 (userstreams testcase have off-by-one error on fseek())
2006-03-20 22:09:11 +00:00
Ilia Alshanetsky
535a2e6092
Fixed bug #36351 (parse_url() does not parse numeric paths properly).
2006-02-12 16:39:44 +00:00
Pierre Joye
8600417c79
- revert last fix
...
- ensure that we are in 32bit
- do not try to compare the decimal values but hex, php does not have
unsigned integer
2006-02-09 15:33:53 +00:00
Pierre Joye
f3e11a705c
- #36306 , crc32() function result differs on 32-bit and 64-bit platforms
2006-02-07 00:23:55 +00:00
Ilia Alshanetsky
c5ef24bfee
Fixed bug #36148 (unpack("H*hex", $data) is adding an extra character to the
...
end of the string).
2006-01-26 15:45:33 +00:00
Antony Dovgal
ac1ec7914c
fix typo
2006-01-16 20:40:41 +00:00
Marcus Boerger
add3c79a23
- Fixed bug #36011
2006-01-14 15:22:40 +00:00
Ilia Alshanetsky
778c635c40
Fixed bug #35916 (Duplicate calls to stream_bucket_append() lead to a crash).
2006-01-10 16:14:16 +00:00
Ilia Alshanetsky
f079ef83ab
Fixed test.
2006-01-10 03:18:37 +00:00
Derick Rethans
88268c6bcc
- MFH: Fixed bug #35887 (wddx_deserialize not parsing dateTime fields properly).
...
- MFH: Fixed bug #35885 (strtotime("NOW") no longer works).
- MFH: Fixed bug #33789 (Many Problems with SunFuncs).
- MFH: Fixed bug #33671 (sun_rise and sun_set don't return a GMT timestamp if one
passes an offset).
- MFH: Fixed bug #32820 (date_sunrise and date_sunset don't handle GMT offset
well).
- MFH: Fixed bug #30937 (date_sunrise() & date_sunset() don't handle endless
day/night at high latitudes).
2006-01-04 21:31:35 +00:00
Ilia Alshanetsky
0e396980a1
Fixed bug #35817 (unpack() does not decode odd number of hexadecimal values)
2005-12-28 20:55:14 +00:00
Antony Dovgal
f046cdf3fa
fix #35821 (array_map() segfaults when exception is throwed from the callback)
2005-12-27 22:32:01 +00:00
Antony Dovgal
537900c8e8
add new test for recently fixed bug
2005-12-26 15:05:38 +00:00
Antony Dovgal
248be6fcfc
fix #35781 (stream_filter_append() can cause segfault)
2005-12-23 14:32:11 +00:00
Antony Dovgal
84326a9b72
add test for #35740
2005-12-20 09:51:53 +00:00
Marcus Boerger
10f77a5d71
- Add/fix tests
2005-12-16 22:19:02 +00:00
Antony Dovgal
17907a50cd
fix test
...
add new one for 64bit only
2005-12-16 15:52:09 +00:00
Ilia Alshanetsky
66fbae9d75
Added tests for new parse_url() and http_build_query() functionality.
2005-12-04 17:58:15 +00:00
Ilia Alshanetsky
0242b892d2
Fixed bug #35427 (str_word_count() handles '-' incorrectly).
2005-11-29 16:14:19 +00:00
Dmitry Stogov
14594953d2
Fixed bug #35393 (changing static protected members from outside the class, one more reference issue)
2005-11-28 14:33:03 +00:00
Ilia Alshanetsky
cce5e8c9ea
Updated tests to use [] instead of {}
2005-11-16 15:13:20 +00:00
Dmitry Stogov
8bd18e174b
Fixed bug #35229 (call_user_func() crashes when arguement_stack is nearly full)
2005-11-16 09:31:21 +00:00
foobar
e02f8809f1
- Fixed test. Some people might actually be using php.ini-dist which
...
has precision set to 12. (and this test results need 14)
2005-11-01 22:39:53 +00:00
Ilia Alshanetsky
57510065ce
Fixed bug #35022 , #35019 (Regression in the behavior of key/current
...
functions).
2005-10-30 18:03:30 +00:00
Ilia Alshanetsky
d22d6910ad
Fixed Bug #35014 (array_product() always returns 0).
2005-10-30 13:44:26 +00:00
Dmitry Stogov
a3cb94abff
Fixed bug #34982 (array_walk_recursive() modifies elements outside function scope)
2005-10-28 10:06:43 +00:00
Dmitry Stogov
f9fb94ff00
Reverted patch for bug #34934 . Bug is marked as bogus.
2005-10-24 06:58:42 +00:00
Dmitry Stogov
75a548a7e9
Fixed bug #34934 (offsetExists is not called from array_key_exists)
2005-10-21 15:19:40 +00:00
Dmitry Stogov
af0adbed39
Fixed fgetcsv() and fputcsv() inconsistency.
2005-10-21 12:13:39 +00:00
Derick Rethans
8f4112bfdd
- Fixed bug #29361 (var_export() producing invalid code). (Derick)
2005-10-17 14:38:12 +00:00
Antony Dovgal
1f6debba12
MFH: fix test
2005-10-05 09:00:36 +00:00
Dmitry Stogov
7fda1750f1
MFH
2005-09-01 13:03:00 +00:00
Dmitry Stogov
e615889d6b
Fixed bug #34277 (array_filter() crashes with references and objects)
2005-09-01 12:00:37 +00:00
foobar
82d8cfb681
MFH
2005-08-23 21:40:26 +00:00
Ilia Alshanetsky
5610ad29e3
MFH: Fixed bug #34148 (+,- and . not supported as parts of scheme).
2005-08-16 14:20:41 +00:00
foobar
54df2c9d36
no DOS EOLs!
2005-08-11 23:53:59 +00:00
foobar
4ddaf76efc
- Fixed test
2005-08-11 23:51:35 +00:00
Dmitry Stogov
54931f5259
Fixed bug #33940 (array_map() fails to pass by reference when called recursively)
2005-08-10 08:22:01 +00:00
Dmitry Stogov
96d755978c
Fixed bug #29253 (array_diff with $GLOBALS argument fails)
2005-08-10 07:43:07 +00:00
foobar
3982f722c2
Skip test on solaris
2005-08-05 09:19:43 +00:00
Dmitry Stogov
98e70ab585
Fixed bug #33989 (extract($GLOBALS,EXTR_REFS) crashes PHP)
2005-08-04 10:34:39 +00:00
foobar
be10050d8f
Added test for bug #25359
2005-07-30 13:37:57 +00:00
Ilia Alshanetsky
29bf2d3a09
Fixed bug in str_word_count() when charlist if specified and "word" starts
...
with a character found inside the charlist.
2005-07-23 19:44:13 +00:00
Ilia Alshanetsky
c933634253
Fixed crash inside stream_get_line() when length parameter equals 0.
2005-07-05 19:24:07 +00:00
Dmitry Stogov
1d33a3e95e
Fixed bug #31158 (array_splice on $GLOBALS crashes)
2005-07-04 10:01:10 +00:00
Derick Rethans
d3c83378eb
- Move mktime/gmmktime related tests from ext/standard to ext/date.
2005-07-03 14:36:59 +00:00
Derick Rethans
ed02f202f0
- Fixed bug #30096 (gmmktime does not return the corrent time).
...
- Re-implemented mktime and gmmktime with new date time library.
- Added testcase for bug #30096 , updated test cases for E_STRICT warning of
is_dst parameter usage for mktime/gmmktime.
2005-07-03 14:27:31 +00:00
Derick Rethans
e155585e6e
- Reimplemented date and gmdate with new timelib code.
...
- Removed old date/gmdate implementations.
- Moved date() related testcases to ext/date/tests.
- Implemented bug #33452 .
- Fixed testcase for bug #27719 - there is no timezone called "EST5DST".
2005-06-30 21:38:06 +00:00
Ilia Alshanetsky
49c233212b
Fixed bug #32160 (copying a file into itself leads to data loss).
2005-06-22 16:13:47 +00:00
foobar
8566f52297
"64M should be enough for everyone." -- Jani, 2005 :)
2005-06-22 12:54:04 +00:00
Ilia Alshanetsky
67ea97dfdf
Added offset & length parameters to substr_count() function.
2005-06-18 18:23:12 +00:00
foobar
a104447d46
Make sure $_ENV is populated
2005-06-18 02:24:37 +00:00
foobar
f2ddefcc56
- This is no bug.
2005-06-18 02:06:31 +00:00
Antony Dovgal
8d2dd7901c
add news entry and test for bug #33382
2005-06-17 10:53:15 +00:00
Derick Rethans
b7ea5dc5f4
- Move strtotime() related testcases to ext/date/tests.
2005-06-16 17:35:08 +00:00
Derick Rethans
4fb4cac65c
- Add my new timelib and ext/date. For now only strtotime() makes use of this.
2005-06-14 21:32:29 +00:00
foobar
7101cd821a
- It is nice to close the script with ?>..
2005-06-07 21:39:54 +00:00
foobar
b185ee0315
- Fixed bug with unserialize() with "exotic" letters in class names
...
# Patch by: Christian Schneider <cschneid@cschneid.com>
2005-05-31 09:41:36 +00:00
Antony Dovgal
4ce95ef1ea
fix bug #33076 (str_ireplace() incorrectly counts result string length and may cause segfault)
...
add test
2005-05-20 14:23:42 +00:00
Andrey Hristov
0e459321bf
move math_standard_deviation and math_variance to the stats PECL extension
2005-05-13 10:11:19 +00:00
Wez Furlong
867e619154
add test for bug 27508
2005-05-11 02:01:44 +00:00
Andrey Hristov
0c268fa0f7
fix the test too
2005-05-10 15:27:49 +00:00
Andrey Hristov
2c0959689b
add possibility to calculate the standard deviation and the variance
...
on a sample - the formulae are slightly different.
2005-05-02 12:29:38 +00:00
Andrey Hristov
7a4eb25870
add also math_variance() which uses the same calculation as math_std_dev()
2005-05-02 12:12:04 +00:00
Andrey Hristov
6141c5690d
fix division by zero. throw an warning if the array is empty.
2005-05-02 11:01:14 +00:00
Andrey Hristov
fb0c19da1c
add math_std_dev()
2005-05-02 09:17:49 +00:00
Ilia Alshanetsky
8281f41f3e
Fixed bug #32813 (parse_url() does not handle scheme-only urls properly).
2005-04-25 23:47:37 +00:00
foobar
e6a70fd0d3
Added test for bug #32647
2005-04-21 14:17:52 +00:00
foobar
714080f10f
bug => Bug
2005-04-21 14:04:12 +00:00
foobar
e5697cc0ad
Add some more cases
2005-04-15 22:25:03 +00:00
foobar
5efe7cf99a
Added test for strval() function
2005-04-15 22:19:53 +00:00
Antony Dovgal
36d13eb7c9
add testcase for bug #30833
2005-04-13 08:23:39 +00:00
Marcus Boerger
58d45bfe2e
- Add new test
2005-04-05 09:23:14 +00:00
foobar
2887f89075
remove empty lines
2005-04-04 18:14:27 +00:00
foobar
28b13f50e6
Added testcase for bug #30362
2005-04-04 18:06:16 +00:00
Ilia Alshanetsky
ca10457a58
Fixed bug #32530 (chunk_split() does not append endstr if chunklen is
...
longer then the original string).
2005-04-03 18:08:40 +00:00
foobar
a075b651be
Added SKIPIF
2005-03-22 16:03:10 +00:00
foobar
77910ec63f
Addded test for locale aware sort
2005-03-22 15:38:25 +00:00
Marcus Boerger
e38141478a
- Check another incarnation of bug #30266
2005-03-19 14:24:17 +00:00
Ilia Alshanetsky
f56e5c045c
A more performance friendly version of Andrey's patch.
2005-03-12 17:51:19 +00:00
Andrey Hristov
f15c24d44c
added an optional third parameter to str_word_count(), which is used as
...
a list of characters which are considerd "is_alpha()". Thus V14GR4 can
be extracted as one word if the user supplies "14" as charlist.
FR #31560
# Nuno, are you wishing to document this one too? :)
2005-03-12 14:41:20 +00:00
Andrey Hristov
cc39b51d2d
add a test file
2005-03-12 12:59:53 +00:00
Marcus Boerger
1d85c3fe80
- Times have changed - php 5 relevant version now
2005-03-11 00:22:28 +00:00
Marcus Boerger
04a08c757a
- Allow to work under php 5
2005-03-11 00:11:35 +00:00
Derick Rethans
ff1687731d
- Fixed bug #32021 : Crash caused by range('', 'z')
2005-02-18 13:37:23 +00:00
Ilia Alshanetsky
cd0435b15a
Fixed test.
2005-02-13 19:23:53 +00:00
foobar
71b9c41a6b
fix test
2005-02-04 23:23:34 +00:00
Ilia Alshanetsky
42155f6028
Fixed bug #31705 (parse_url() does not recognize http://foo.com#bar )
2005-01-27 16:37:34 +00:00
foobar
197711bb7d
Add test for bug #31402
2005-01-18 11:36:44 +00:00
Dmitry Stogov
ea6ea21939
Fixed bug #31190 (exceptions in call_user_func_array())
2005-01-18 10:38:04 +00:00
Moriyoshi Koizumi
ee18958f98
- Fix htmlentities() / html_decode_entity() UTF-8 related bugs
...
initially reported by Kamesh Jayachandran
2005-01-11 20:44:04 +00:00
foobar
32d86482cc
update test to include negative floats as strings too
2005-01-10 16:00:08 +00:00
Marcus Boerger
5516915115
- Add new test
2005-01-08 13:47:05 +00:00
Marcus Boerger
344d2210c2
- Unify
2005-01-08 13:46:18 +00:00
Moriyoshi Koizumi
88ce94a3c2
- Add testcases for bug #29493 and #31213 .
2005-01-02 06:51:03 +00:00
Magnus M��tt�
774a978ea9
Fix test so it doesn't hang make test on HP-UX.
2004-12-21 04:34:22 +00:00
Derick Rethans
13c2cbb515
- MF43: Fixed bug #31072 (var_export() does not output an array element with an
...
empty string key). (Derick)
2004-12-17 14:40:39 +00:00
foobar
ce742b08b0
- Fix typo (avaliable -> available). (bug #28725 )
2004-12-16 12:34:32 +00:00
Ilia Alshanetsky
cc17322c14
MFB: test fix.
2004-12-14 17:43:53 +00:00
Antony Dovgal
b6b8bf0010
fix array_walk_recursive() so it doesn't reuse cached fci between calls
...
and add test for it
2004-12-03 17:43:23 +00:00
Derick Rethans
b6f9b5c693
- Added testcase for bug #30695
2004-11-29 10:15:03 +00:00
Dmitry Stogov
5ece0ecdfb
Test was fixed.
2004-11-23 17:21:33 +00:00
Derick Rethans
a6ded1178e
- Added test for bug #28599
2004-11-23 09:40:07 +00:00
Marcus Boerger
bb77132391
- Add new test
2004-10-04 17:53:55 +00:00
Ilia Alshanetsky
52ee529ef4
Make test more generic.
...
# Thanks Marcus.
2004-09-27 17:52:25 +00:00
Marcus Boerger
32e478b9fc
- Add fputcsv() (David Sklar)
2004-09-26 21:55:22 +00:00
Ilia Alshanetsky
d6501f756a
fixed test output.
2004-09-26 19:12:06 +00:00
Marcus Boerger
3cdd2bcb01
- Add more tests
2004-09-26 18:28:07 +00:00
foobar
36a76f403a
Test for bug #30069
2004-09-15 13:54:16 +00:00
Marcus Boerger
91af7f394f
- Add some checks when unserializing data to prevent buffer overflows
2004-09-05 16:29:05 +00:00
Marcus Boerger
94c4feef12
Fix test
2004-09-02 18:24:58 +00:00
Andi Gutmans
d1b29ad4c2
- There's no reason why gettimeofday() shouldn''t return the same time in
...
successive calls; this test fails spuriously on Linux/x86_64 (which has
a particularly fast gettimeofday() implementation).
- Joe Orton <jorton@redhat>
2004-07-23 21:53:16 +00:00
Andrey Hristov
5e5d2640fb
add array_:
...
intersect_key()
intersect_ukey()
diff_key()
diff_ukey()
The first two by a patch of Cristiano Duarte. The second two were
implemented in almost the same way except one small difference.
2004-07-21 21:17:56 +00:00
Moriyoshi Koizumi
5ff410efdf
- Fix test name
2004-07-19 18:49:20 +00:00
Moriyoshi Koizumi
fae637021d
- Oops, actual PR # is 29119, not 29199...
2004-07-19 17:51:41 +00:00
Moriyoshi Koizumi
46bc2c5ae2
- Fix bug #29199 (html_entity_decode() misbehaves with UTF-8)
2004-07-19 17:46:30 +00:00
Ilia Alshanetsky
8840191d91
Fixed bug #28633 (sprintf incorrectly adding padding to floats).
2004-07-18 17:27:49 +00:00
Andrey Hristov
96f5c697dd
Add support for negative values of limit of explode(). If limit is negative
...
then all components are returned except the last abs(limit) ones.
2004-07-18 11:34:28 +00:00
Ilia Alshanetsky
a75608c1de
Fixed Bug #29075 (strnatcmp() incorrectly handles whitespace).
...
# Original Patch by: curt@php.net
2004-07-15 01:26:03 +00:00
Andrey Hristov
0eef82a733
fixing bug #28974 : overflow in array_slice()
...
The same kind of overflow appeared in array_splice(), substr() and
substr_replace()
2004-07-11 21:15:04 +00:00
Andrey Hristov
268d3d7ba3
fixing bug #28739
...
array_*diff() and array_*intersect() not clearing the fci cache before work.
FCI call cache was introduced in HEAD. All functions that perform sorting
of arrays clear the fci cache before work. array_*diff() and\ array_*intersect()
were somehow missed to be updated.
2004-07-11 19:20:05 +00:00
Andrey Hristov
bc69bdb01a
fixing the name of the test
2004-07-11 18:19:43 +00:00
Andrey Hristov
7af08c0c34
fixing bug 29038:
...
EXTR_PREFIX_SAME is prevented from creating a new variable when the key
is a empty string. EXTR_PREFIX_ALL is also prevented from doing that,
but works for numbers.
2004-07-11 18:18:05 +00:00
Moriyoshi Koizumi
8989a96789
- Add test for bug #28325 .
2004-07-05 07:53:41 +00:00
Andrey Hristov
44de5a0e8e
fixing the tests so to work with the new var_dump() (dumping private and
...
protected member variables)
2004-05-20 21:13:14 +00:00
Marcus Boerger
29cfd6d24f
- Remove unused blocks
2004-05-19 08:56:50 +00:00
Marcus Boerger
d94136fc30
- Remove unused blocks
2004-05-19 08:45:46 +00:00
Ilia Alshanetsky
0a38683b14
Correct output.
2004-05-17 20:58:57 +00:00
Marcus Boerger
ed5ce047db
- Add new test
2004-05-16 14:48:45 +00:00
Ilia Alshanetsky
d24465ba8a
Fixed bug #28386 (wordwrap() wraps lines 1 character too soon).
2004-05-13 17:44:23 +00:00
Ilia Alshanetsky
91e9545f4f
Fixed bug #28228 (number_format() does not allow empty decimal separator).
2004-04-30 13:26:01 +00:00
Derick Rethans
b91a947d5e
- Added test and not the diff ;-)
2004-04-08 16:17:35 +00:00
foobar
5d3900a2e9
remove crap
2004-04-08 15:58:35 +00:00
Derick Rethans
9d4f01a8af
- Test case for bug #20382
2004-04-08 14:18:23 +00:00
Derick Rethans
f1141d79c6
- Fixed comment and double 0
2004-04-04 12:45:02 +00:00
Derick Rethans
794846e5c5
- One more test for a date/time related bug.
2004-04-04 12:42:13 +00:00
Ilia Alshanetsky
c85843aec1
MFB: Revert patch for bug #27782 .
2004-04-01 22:07:42 +00:00
Derick Rethans
b2ed70e4e0
- MFB: Fixed bug #27780 (strtotime(+1 xxx) returns a wrong date/time)
2004-04-01 21:40:56 +00:00
Derick Rethans
88c17817a9
- Fixed bug #27822 (is_resource() returns TRUE for closed resources)
2004-04-01 08:54:44 +00:00
Sara Golemon
72616e6eae
BugFix#27619
...
Filters not applied to pre-buffered stream data.
(esp. http:// streams)
2004-03-31 23:48:59 +00:00
Ard Biesheuvel
81cfb1b312
Make time tests more robust against differences in implementation
...
# FreeBSD mktime() returns -1 if is_dst==1 and no DST timezone is set
2004-03-31 01:00:55 +00:00
Ilia Alshanetsky
ec4655f864
Fixed bug #27782 (Wrong behaviour of next(), prev() and each()).
2004-03-30 19:08:43 +00:00
Ard Biesheuvel
04d178f79c
Prevent test from failing on least significant digit
2004-03-30 12:36:44 +00:00
Ilia Alshanetsky
f7fd3a7dcc
Removed extra spaces that cause the test to fail.
2004-03-29 21:57:29 +00:00
Rasmus Lerdorf
1ece5eb5ad
MFB test case for bug #27719 and improve comments in this tricky DST code
2004-03-28 15:03:56 +00:00
Marcus Boerger
bc0373b880
Portable solution for bug #27646 that works correct on Windows, too
2004-03-27 00:50:41 +00:00
Sara Golemon
c52cc1c333
BugFix 27675 and add regression test.
2004-03-26 19:23:42 +00:00
Marcus Boerger
3450ed948f
-Make NAN and INF more portable (atof() doesn't work on MSVC.6 for example)
...
-Change test to use constants without prior conversion
2004-03-25 22:36:36 +00:00
Marcus Boerger
fdcff80c16
- Allow negative infinity
...
- Register missing constants, they work anyway but cause an E_NOTICE
# generation by atof() should be portable enough (afaik)
2004-03-23 22:30:25 +00:00
Dmitry Stogov
deb84befae
BUG #27469 was fixed (serialize() objects of incomplete class)
2004-03-18 16:54:36 +00:00
Sara Golemon
4341ee6061
Userspace Directory Stream Test
2004-03-17 20:48:12 +00:00
foobar
3bd12064ef
test for bug #27457
2004-03-09 14:19:50 +00:00
Moriyoshi Koizumi
df8ee549f5
- Add support for more ISO8601 style formats.
...
. Timezone specifier (ex. 20040301T00:00:00+1900)
. Week specifier "W" (ex. 1997W021)
- Modified test case to test new features.
2004-03-01 10:42:28 +00:00
Derick Rethans
f954677e54
- Fix tests after change to highlight_string()
2004-02-25 22:55:47 +00:00
Wez Furlong
0619eee6d0
test case for statcache corruption of BG
2004-02-23 21:07:10 +00:00
Derick Rethans
769dc0be75
- Added testcase for bug #27276
2004-02-23 19:45:16 +00:00
Ard Biesheuvel
154893115a
64-bit fix
2004-02-23 02:09:48 +00:00
Ilia Alshanetsky
95cbb0046c
Fixed bug #27295 (memory leak inside sscanf()).
2004-02-18 19:48:13 +00:00
foobar
7a7927c146
shorten the description a bit
2004-02-16 17:44:27 +00:00
foobar
7fd4bdbec4
nuke copypaste rubbish
2004-02-16 16:50:53 +00:00
foobar
173794732b
test for bug #27278
2004-02-16 16:50:11 +00:00
foobar
6e06620089
- fix test
2004-02-16 06:39:13 +00:00
foobar
8cd863f738
test case for bug #26938
2004-01-21 22:48:28 +00:00
Sara Golemon
1fb629de8a
Typo
2004-01-21 04:08:10 +00:00
foobar
6f56bc3b8d
extend a bit
2004-01-21 03:58:30 +00:00
foobar
d7a54202d8
test case for bug #26973
2004-01-21 03:49:15 +00:00
Ilia Alshanetsky
608db4728b
Added fgetcsv() tests.
2004-01-19 03:55:29 +00:00
Ilia Alshanetsky
43becc02f1
Fixed bug #26878 (problem with multiple references to the same variable
...
with different types).
2004-01-13 23:11:31 +00:00
Andrey Hristov
4b2a32b701
fixing test
2004-01-11 11:55:33 +00:00
Andrey Hristov
9ca6b7448d
fixing tests after last Derick's commit that changed the behaviour of
...
var_export() :)
2004-01-10 23:38:45 +00:00
Ilia Alshanetsky
d4c19ed2d2
Fixed bug #26819 (http_build_query() crashes on NULL output).
...
Fixed bug #26817 (http_build_query() does not handle private & protected
object properties correctly).
2004-01-06 20:07:07 +00:00
Moriyoshi Koizumi
27f47eb173
"seq" isn't available for all platforms.
2004-01-04 03:06:11 +00:00
Marcus Boerger
3ab7b87143
Add new test
2004-01-02 03:24:38 +00:00
Marcus Boerger
c6755e8394
No Notices here
2003-12-29 22:24:01 +00:00
Sara Golemon
4af0ba44d9
Test additional wrapper methods [unlink, rename, mkdir, rmdir, url_stat]
2003-12-28 01:06:38 +00:00
Marcus Boerger
a84f8156ff
Bugfix #25038 (call_user_func issues warning if function throws exception)
2003-12-27 21:10:34 +00:00
Marcus Boerger
8a072165f5
Typos found by Petras Kudaras.
2003-12-22 23:45:53 +00:00
Marcus Boerger
68251516ad
Fix test
2003-12-22 23:23:06 +00:00
Dmitry Stogov
f06cbb764c
Using INI section.
2003-12-19 15:09:40 +00:00
Dmitry Stogov
7c39ab9374
Memory limit overflow was fixed
2003-12-19 11:29:27 +00:00
Andrey Hristov
df4e15b153
test case for array_sum
2003-12-18 22:12:29 +00:00
Derick Rethans
e7fd0bdf03
- Added 'c' modifier to date() which returns the date in ISO 8601 format.
2003-12-16 22:52:48 +00:00
Derick Rethans
112f424f70
- Fixed bug #26615 (patch by runekl at opoint dot com)
2003-12-13 18:55:53 +00:00
Wez Furlong
98f1021dd8
Make these tests work under win32
2003-12-05 13:42:04 +00:00
Wez Furlong
ab0029cabf
Be smarter about which systems should register unix transports.
...
Fix skip conditions in these network tests
2003-12-05 13:41:02 +00:00
Marcus Boerger
c3fddcab62
Fix tests for E_STRICT and check for E_STRICT in run-tests.php.
2003-11-30 13:57:20 +00:00
Wez Furlong
37f135ceef
Add stream_socket_sendto and stream_socket_recvfrom which work very much
...
like sendto() and recvfrom() syscalls.
2003-11-29 21:46:50 +00:00
Ilia Alshanetsky
99dec6927c
Fixed bug #26463 (Incorrect handling of semicolons after heredoc)
2003-11-29 19:05:14 +00:00
Ilia Alshanetsky
91052eb93b
Fixed bug #26458 (var_dump(), var_export(), debug_zval_dump() not binary
...
safe for array keys).
2003-11-29 04:43:06 +00:00
Hartmut Holzgraefe
8053a324aa
typo fix
2003-11-19 17:38:42 +00:00
Hartmut Holzgraefe
47ee4d5e88
regression test for bug # 26320
...
"strtotime() does not understand ISO6801 datetime format as used in XMLSchema"
2003-11-19 16:37:50 +00:00
Hartmut Holzgraefe
5339f9134f
Testcase done right ...
2003-11-19 16:19:28 +00:00
Hartmut Holzgraefe
8cc9c96cef
regression test for http://bugs.php.net/bug.php?id=26317
...
"military timezones and strtotime()"
2003-11-19 16:01:25 +00:00
Ilia Alshanetsky
2a58fb80e7
Fixed Bug #25694 (round() and number_format() give inconsistent results).
2003-11-18 02:50:41 +00:00
Moriyoshi Koizumi
6b7bd4be8f
ctime ( #10 ) may differ on several filesystems.
...
# I confirmed it on Darwin
2003-11-14 08:59:30 +00:00
Ilia Alshanetsky
770a111a43
Fixed bug #26198 (strtotime() handling of M/F Y date format).
2003-11-12 02:55:03 +00:00
Moriyoshi Koizumi
28369f6e86
Add test case for bug #26003
2003-10-29 19:45:38 +00:00
Ilia Alshanetsky
4d349926ff
Fixed some test names.
...
Removed extraneous \r from a number of tests.
2003-10-24 03:31:57 +00:00
Moriyoshi Koizumi
5dac05638f
Fix typo
2003-10-20 15:45:01 +00:00
Ilia Alshanetsky
a9b20a6abf
Fixed bug #25800 (parse_url() could not parse urls with empty port).
2003-10-13 04:27:23 +00:00
Andrey Hristov
638b940307
New array functions for doing intersection of arrays that are complementary
...
to array_*diff* family of functions. Namely array_uintersect(), array_uintersect_assoc(),
array_intersect_uassoc() and array_uintersect_uassoc(). Test case is also included.
#docs and news entry later.
2003-10-09 08:10:39 +00:00
Ilia Alshanetsky
6f8b8ade45
Fixed bug #25758 (var_export does not escape ' & \ inside array keys)
2003-10-08 01:16:44 +00:00
Moriyoshi Koizumi
4859431fc1
Fixed bug #24766 (strange result array from unpack())
2003-10-03 22:41:43 +00:00
foobar
f3f9f8db7f
- Added test for bug #24766
...
# This bug is caused by the HANDLE_NUMERIC() change in ZE2 vs ZE1
2003-10-03 05:47:07 +00:00
Moriyoshi Koizumi
76ae064883
Add a test case for bug #25708
2003-10-02 22:50:28 +00:00
Moriyoshi Koizumi
647408978e
Fixed bug #25707 (html_entity_decode over-decodes &lt;)
2003-10-02 06:57:21 +00:00
Andrey Hristov
26aba89a43
Move the test to new file.
2003-09-30 15:22:33 +00:00
Andrey Hristov
a11645dda8
fix
2003-09-30 15:06:05 +00:00
Sara Golemon
2acca5d015
Test for Bug 25671
2003-09-27 18:48:48 +00:00
foobar
3462761d2b
typo
2003-09-26 09:56:24 +00:00