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