Marcus Boerger
3bd74e422a
- MFH Add new test
2007-02-08 08:44:51 +00:00
Antony Dovgal
323467f9c9
add test
2007-02-07 21:13:01 +00:00
Dmitry Stogov
933c26de41
Fixed bug #39367 (clearstatcache() doesn't clear realpath cache)
...
Fixed bug #40092 (chroot() doesn't clear realpath cache)
2007-01-22 09:31:46 +00:00
Antony Dovgal
eae1072ccc
MFH
2007-01-22 08:21:57 +00:00
Antony Dovgal
2c36778e47
MFH: fix #40191 (use of array_unique() with objects triggers segfault)
2007-01-22 08:17:26 +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
Ilia Alshanetsky
652c7096b2
Fixed test for 64bit systems
2006-12-25 21:07:53 +00:00
Antony Dovgal
c52bc49f50
fix test
2006-12-25 14:27:51 +00:00
Antony Dovgal
6e8a7d7b20
fix tests
2006-12-25 11:16:23 +00:00
Ilia Alshanetsky
f40ebf4171
Fixed bug #36392 (wrong number of decimal digits with %e specifier in
...
sprintf).
2006-12-22 15:29:41 +00:00
Ilia Alshanetsky
fd8f758ecd
Fixed bug #39873 (number_format() breaks with locale & decimal points).
2006-12-22 04:03:15 +00:00
Hannes Magnusson
b12e3e1475
Fix tests
2006-12-19 10:03:24 +00:00
Dmitry Stogov
03312cc0d9
Added function stream_socket_shutdown(). It is a wraper for system shutdown() function, that shut downs part of a full-duplex connection
2006-12-19 08:58:58 +00:00
Antony Dovgal
5fc3e649b6
MFH
2006-12-18 11:12:55 +00:00
Hannes Magnusson
9ef3575c25
MFH:
...
- make %f locale aware again
- fix precision loss with %F (noticed by Sebastian Nohn)
- add new tests
2006-12-18 09:26:54 +00:00
Brian Shire
5bf3df531f
Fixed bug #30074
...
extract with EXTR_REFS was setting EG(unitialized_zval_ptr)->is_ref=1, affecting subsequent usage
Added test
2006-12-17 20:09:48 +00:00
Antony Dovgal
1edf208421
add new tests by <zoe dot slattery at googlemail dot co dot uk>
2006-12-08 14:39:25 +00:00
Antony Dovgal
4d44a5b71d
MFH: use BSD licensed implementation of double-to-string utilities instead of LGPL one
...
this patch also fixes thread safety issues in zend_strtod()
2006-12-06 09:52:51 +00:00
Antony Dovgal
9ce985bbae
cosmetic improvements
2006-12-05 23:03:19 +00:00
Antony Dovgal
60bb494607
MFH: fix #39673 (file_get_contents causes bus error on certain offsets)
2006-11-29 11:12:59 +00:00
Antony Dovgal
93fc85b2af
MFH: fix #39621 (str_replace() is not binary safe on strings with equal length)
2006-11-24 21:59:09 +00:00
Nuno Lopes
e8384cbcca
more tests
2006-11-24 20:18:54 +00:00
Pierre Joye
efa9b7e20b
- MFH: #39538 , fgetcsv can't handle starting newlines and trailing odd
...
number of backslashes (David Soria Parra, Pierre)
2006-11-22 12:59:49 +00:00
Antony Dovgal
df1a1c8441
MFH: fix #39576 (array_walk() doesn't separate userdata zval)
2006-11-22 10:42:41 +00:00
Antony Dovgal
26ed531c64
add test
2006-11-21 18:17:11 +00:00
Antony Dovgal
e412981f7b
remove redundant error message
...
add test by <zoe dot slattery at googlemail dot com>
2006-11-21 17:42:11 +00:00
Antony Dovgal
c220da74ef
MFH test
2006-11-20 20:55:51 +00:00
Antony Dovgal
39ad6abbf8
fix test on Solaris
2006-11-20 16:28:26 +00:00
Ilia Alshanetsky
714abb7ea1
pack()/unpack() tests
2006-11-19 18:31:07 +00:00
Ilia Alshanetsky
0d338f463c
Fixed bug #38770 (unpack() broken with longs on 64 bit machines).
2006-11-19 18:20:48 +00:00
Antony Dovgal
cf04587553
fix tests
2006-11-16 13:49:20 +00:00
Antony Dovgal
36d66521c9
add new tests
2006-11-16 13:01:23 +00:00
Antony Dovgal
d1acb8d4eb
add new tests, improve existing ones
2006-11-15 22:44:29 +00:00
Antony Dovgal
eca1911b72
fix leak, add test
2006-11-15 22:10:19 +00:00
Antony Dovgal
9d6f7755b8
fix leak appearing when converting object to NULL
...
add test
2006-11-15 17:29:08 +00:00
Antony Dovgal
84ff4aaf1a
add new tests
2006-11-15 17:27:03 +00:00
Antony Dovgal
70288ef71e
fix test on AIX
2006-11-15 12:11:17 +00:00
Antony Dovgal
567aed8316
fix test
2006-11-15 11:27:26 +00:00
Antony Dovgal
60188ad863
fix test
2006-11-15 10:47:26 +00:00
Hannes Magnusson
849a7857ac
Fix test (file_put_contents() now uses __toString)
2006-11-15 07:58:02 +00:00
Antony Dovgal
6640a1c861
one more test
2006-11-14 22:23:45 +00:00
Antony Dovgal
963b1db67f
add new tests
2006-11-14 21:59:57 +00:00
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
foobar
ef1c2d59a4
Test case for bug #25665
2003-09-26 09:55:56 +00:00
Andrey Hristov
a7ac568486
New test cases for the new 4 functions :
...
- array_udiff()
- array_udiff_assoc()
- array_diff_uassoc()
- array_udiff_uassoc()
2003-09-23 17:40:34 +00:00
Melvyn Sopacua
50947cb155
MFB: Fix US/Eastern vs. America/New_York style tzset implementations.
2003-09-09 21:56:33 +00:00
foobar
af06d049cf
test for bug #25378
2003-09-03 16:40:52 +00:00
Ilia Alshanetsky
c23609efa7
Fixed paths in various tests. In certain conditions usage of partial file
...
paths results in test failures.
2003-08-18 22:57:49 +00:00
Derick Rethans
77729f89dd
- Fixed bug #17988 : strtotime fails to parse timestamp from postgresql
...
#- This is actually a feature request
2003-08-16 20:55:28 +00:00
foobar
e7820af9f8
fix test
2003-08-13 10:40:28 +00:00
foobar
604b06e4ca
Fix the test. (this was mixed test with bug #24159 )
2003-08-13 09:48:20 +00:00
Ilia Alshanetsky
3652ab6032
Fixed bugs in various tests.
2003-08-12 00:44:05 +00:00
foobar
24b26ec546
Fix the test results (negative indices are not strings anymore)
2003-08-11 23:55:46 +00:00
Marcus Boerger
f77f977d0e
Bugfix 21918
2003-08-11 20:14:25 +00:00
Ilia Alshanetsky
4320c6994f
Fixed bug #21957 (serialize() mangles objects with __sleep).
2003-08-11 03:22:24 +00:00
Sara Golemon
530f502198
Collection of tests for stream_socket_(client|server)(). TCP/UDP (AF_INET & AF_INET6) and UNIX/UDG
2003-08-11 01:30:55 +00:00
Ilia Alshanetsky
e5b7d5ccb4
Fixed bug #24897 (inconsistent behavior of shuffle() & array_multisort())
2003-08-09 20:49:00 +00:00
Ilia Alshanetsky
ac41c5db23
Added/improved tests for bugs 24142, 24063, 24951, 24980
2003-08-09 16:44:33 +00:00
Moriyoshi Koizumi
3bf0b26218
Tru64 requires TZ values be POSIX styled.
...
# See http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V50_HTML/MAN/MAN3/0247____.HTM for detail.
2003-08-07 17:46:18 +00:00
Moriyoshi Koizumi
0ff21d0370
putenv() should be put here as well.
2003-08-05 12:29:26 +00:00
Ilia Alshanetsky
f9cf39bd30
Fixed bug #13142 (strtotime not handling "M d H:i:s Y" format)
2003-07-28 04:01:32 +00:00
foobar
d8e5bd97c1
fix the test
2003-07-24 10:37:57 +00:00
foobar
760fe8e923
test for bug #14580 (key() not binary safe)
2003-07-24 10:13:17 +00:00
Hartmut Holzgraefe
b0a4e1a2d2
whitespace
2003-07-15 17:28:41 +00:00
Hartmut Holzgraefe
2f5a3b4c63
#1 $_ENV is not always set, use getenv() instead
...
#2 bail out after 1000 loop iterations to avoid hanging tests
2003-07-15 16:55:44 +00:00
foobar
94a19d1bc6
Make this test work regardless of safe_mode setting (bug #24654 )
2003-07-15 07:06:42 +00:00
Moriyoshi Koizumi
d33ffb78aa
Added regression test for proc_open()
2003-07-13 08:03:46 +00:00
Hartmut Holzgraefe
de6a6ed6d7
skip test if glob() is not available at all
2003-07-04 15:07:11 +00:00
Hartmut Holzgraefe
3c34e4edaf
regression test for #24482 GLOB_ONLYDIR is not working (on BSD)
2003-07-04 14:38:07 +00:00
Moriyoshi Koizumi
181508a837
s/cvs/csv/
2003-07-02 17:07:56 +00:00
Moriyoshi Koizumi
ed033faaec
s/cvs/csv/ :)
2003-07-02 15:43:44 +00:00
Ilia Alshanetsky
4634554976
Fix up test
2003-07-01 03:11:09 +00:00
Sterling Hughes
f6d84a10ea
set precision properly.. test passes here
2003-06-30 20:03:17 +00:00
Sterling Hughes
223584a138
this is the correct result
2003-06-30 19:50:18 +00:00
Rasmus Lerdorf
832ffd1970
Fix 3 tests that didn't adequately specify the .ini settings they rely on
2003-06-30 18:22:53 +00:00
Ilia Alshanetsky
8cb5c9c6ba
Fixed bug #24063 (*printf() did not handle scientific notation correctly)
2003-06-30 01:03:21 +00:00
Ilia Alshanetsky
a6fd611c5e
Added array handling to file_put_contents()
...
More verbose error reporting mechanism.
Test case for file_put_contents().
2003-06-28 20:06:13 +00:00
Ilia Alshanetsky
9e53c34ad3
Fixed test failure on systems with short_tags (<?) off.
2003-06-28 17:36:46 +00:00
Sebastian Bergmann
67400949f2
Remove aggregation tests as well.
2003-06-28 05:51:37 +00:00
Sterling Hughes
1ed8e46273
according to the notes in the bugs database, this is the correct result.
...
this result is also the same one given in 4.3.2 and 5.0
2003-06-26 03:21:45 +00:00
Ilia Alshanetsky
c8ecf7ec3e
Fixed bug #24312 (base64_decode() does not skip 0xF0-0xFF characters)
...
Patch by: gereon.steffens[at]onvista.de
2003-06-24 15:23:17 +00:00
Ilia Alshanetsky
6b5b6079da
Fix for bug #24313 (port from dead PHP_5 branch)
2003-06-24 13:56:25 +00:00
Stanislav Malyshev
02bebe8186
add test for #24281
2003-06-23 14:18:33 +00:00
Ilia Alshanetsky
abe8647eb4
Added a test case for bug #24220
2003-06-17 13:19:20 +00:00
foobar
9aa14246d9
Fixed the expected result
2003-06-16 19:59:27 +00:00
Moriyoshi Koizumi
a3873c986b
Added test case for bug #24208
2003-06-16 19:10:12 +00:00
Derick Rethans
cd5fd7eed7
- Added test for bug #24142
2003-06-16 17:50:07 +00:00
Ilia Alshanetsky
6057160dbf
Fixed bug #24198 (Invalid recursion detection in array_merge_recurcive())
2003-06-16 17:35:16 +00:00
Marcus Boerger
0137868171
No more namespaces
2003-06-14 22:10:15 +00:00
Ilia Alshanetsky
aec7815e9c
Fixed bug #24098 (Crash in pathinfo() due to double var initialization).
...
# This is a php5 specific bug, no MFB needed
2003-06-09 18:12:36 +00:00
Moriyoshi Koizumi
3c0071a211
Added test case for bug #23894
2003-05-30 13:48:14 +00:00
Moriyoshi Koizumi
3cd1ea3154
Changed the test so it would not fail on some old platforms.
2003-05-26 22:16:14 +00:00
foobar
380bf699ae
Added regression test for bug #23788
2003-05-26 03:55:08 +00:00
Marcus Boerger
e035046ac2
Add new test
2003-05-24 17:10:34 +00:00
Marcus Boerger
7ff718f455
Make this a warning
2003-05-23 20:51:49 +00:00
foobar
a747e1b768
added another test case (due to the problems we saw with 4.3.2RC4)
2003-05-22 23:59:37 +00:00
Marcus Boerger
e504166277
This depends on libc and CPU used
2003-05-21 07:23:45 +00:00
Marcus Boerger
4a11372805
Fix Test (2nd time)
2003-05-20 00:09:47 +00:00
Marcus Boerger
0c77fef23a
Fix Test
2003-05-19 22:16:58 +00:00
Derick Rethans
92f0da58e6
- Rename stream_register_filter() to stream_filter_register(),
...
stream_register_wrapper() to stream_wrapper_register() and added an alias for
the latter change.
2003-05-19 15:35:06 +00:00
Ilia Alshanetsky
8e3772a827
Added skip condition.
2003-05-19 04:57:01 +00:00
foobar
422309353d
CS
2003-05-18 14:55:18 +00:00
Marcus Boerger
66a3e8deb7
Fix test (for now - need EXPECTF/EXPECTREGEX)
2003-05-18 12:10:03 +00:00
Moriyoshi Koizumi
80c75c4d62
MFB(r-1.1.2.7): fix test
2003-05-17 20:06:00 +00:00
Moriyoshi Koizumi
27b8c453b9
copy'n'paste failure
2003-05-16 06:24:57 +00:00
Moriyoshi Koizumi
3d2b9af9eb
Added test case for bug #23650
2003-05-16 06:20:23 +00:00
Moriyoshi Koizumi
f78ec11339
Fixed test so it won't fail in case the output handler is enabled
2003-05-15 19:20:31 +00:00
Moriyoshi Koizumi
065a192411
Added a test case for bug #23581
2003-05-11 06:33:35 +00:00
Moriyoshi Koizumi
b666d8c679
Added test case for bug #22463
2003-05-11 02:37:17 +00:00
Moriyoshi Koizumi
598dba147d
Fixed test case so it reflects the recent change on var_dump()
2003-05-08 23:23:02 +00:00
Ilia Alshanetsky
b20df54af7
Make serialize precision a configurable option.
2003-05-08 01:23:21 +00:00
Ilia Alshanetsky
a7591863fd
Fixed tests to reflect full float values.
2003-05-05 19:57:32 +00:00
Hartmut Holzgraefe
e6490c4a41
basename() now binary safe, testcases added
2003-05-05 13:46:14 +00:00
Ilia Alshanetsky
75c01dd66b
Fixed bug #23298 (serialize cuts off floats & doubles)
2003-05-04 18:41:02 +00:00
Moriyoshi Koizumi
b44ae54bc6
Real fix and a test case for bug #22008
2003-05-04 12:44:36 +00:00
Andrey Hristov
a894bf5c87
Extending substr_replace().
...
Every parameter can be mixed (string/array) also the return type.
#see the test file if you need more info.
2003-05-02 10:02:40 +00:00
Moriyoshi Koizumi
193fe6863a
Really fix the test.
...
# sorry for the mess..
2003-04-30 16:30:44 +00:00
Moriyoshi Koizumi
180806f9e6
Fixed typo
2003-04-29 13:05:58 +00:00
Moriyoshi Koizumi
cc9b7895a0
Fixed bogus skip condition
2003-04-29 13:04:19 +00:00
Ilia Alshanetsky
6bc4ce43d0
Do not hardcode php path.
2003-04-19 18:10:54 +00:00
Ilia Alshanetsky
e4c38aec5a
Do not make the test rely on the availability of the cat command.
2003-04-19 17:45:46 +00:00
Sara Golemon
76965beb04
Add tests for strrpos/stripos, and minor fix to maintain BC for condition with empty needles/haystacks
2003-04-12 20:04:06 +00:00
Sara Golemon
c249c67178
New test for userfilters rewrite
2003-04-02 00:41:09 +00:00
Moriyoshi Koizumi
6301bd9b95
Fixed bogus test
2003-04-01 19:47:33 +00:00
Moriyoshi Koizumi
b302824171
Added a test case for bug #22538
2003-04-01 19:10:04 +00:00
Moshe Doron
3c982dea22
oops
2003-04-01 12:54:35 +00:00
Moshe Doron
d8b5687925
revert due the last string.c revert
2003-04-01 12:53:44 +00:00
Moriyoshi Koizumi
93386a8b09
oops
2003-03-31 23:49:53 +00:00
Moriyoshi Koizumi
e8f13586a7
Fixed test; in ZE2, all the properties used in any methods are populated
...
at compile time.
2003-03-31 22:54:18 +00:00
Moshe Doron
64bd1cdbd6
# make derik happy
2003-03-31 19:01:43 +00:00
David Hill
86569cb154
Backing out part of TZ change
2003-03-27 14:23:48 +00:00
David Hill
1fa7504fae
Changing TZ to match Unix98 standard to make Tru64 happy
2003-03-26 16:42:03 +00:00
Moriyoshi Koizumi
03a5129429
oops...
2003-03-24 19:24:35 +00:00
Moriyoshi Koizumi
68b03bde3a
Added test cases for new functionality
2003-03-24 19:21:20 +00:00
Jay Smith
39ec83bb5f
Solaris knows nothing of "Europe/Amsterdam". Use "US/Eastern" instead.
2003-03-13 18:51:39 +00:00
Moriyoshi Koizumi
a41e0c1382
Modified the test to reflect the recent change on var_dump()
2003-03-10 20:46:39 +00:00
Ilia Alshanetsky
b162e18a29
Skip test if running under safe-mode.
2003-03-04 14:37:38 +00:00
Ilia Alshanetsky
503e49feae
Fixed test.
2003-02-25 16:27:51 +00:00
Ilia Alshanetsky
f29964e2ba
Fixed bug #22414 and added a test case for it.
2003-02-25 16:21:00 +00:00
Ilia Alshanetsky
a3cb589b71
Fixed bug #22382 (fgetcsv did not handle \" correctly).
2003-02-24 03:13:25 +00:00
Derick Rethans
2bff9cae27
- Fixed testcase... you can never trust on RFCs it seems
2003-02-20 16:15:41 +00:00
Derick Rethans
d95c41eddb
- Added new parameter to sha1() and md5() which return the digest as
...
binary data. (Original patch by Michael Bretterklieber <mbretter@jawa.at>)
- Added test cases for sha1() and md5() based on the testvectors in RFC 1321
and RFC 3174.
@- Added new parameter to sha1() and md5() which return the digest as
@ binary data. (Michael Bretterklieber <mbretter@jawa.at>, Derick)
2003-02-18 20:31:19 +00:00
Wez Furlong
1e34a6bffc
Add basic test of read filters and read filter chain.
2003-02-18 01:24:41 +00:00
foobar
d3e006eafd
- These results were obviously got with TZ=GMT
...
# also prefixed the test results with the tested option
# so it's easier to see which one fails..
2003-02-17 06:23:22 +00:00
foobar
6b7a822cec
Assuming the results were created in system with Asia/Jerusalem as TZ
2003-02-17 05:51:03 +00:00
foobar
1c89652590
override precision ini setting
2003-02-17 05:02:05 +00:00
Moshe Doron
ea8d11cc87
@ new idate() function.
...
@ new date_sunrise() function.
@ new date_sunset() function.
#since i have no premission updating the win32 project file, i'm sending patch on the list.
2003-02-16 22:28:01 +00:00
Wez Furlong
32c1eafe85
Remove bogus test.
...
Append mode always causes written data to go to the end of the file,
regardless of the current seek position.
2003-02-16 15:42:14 +00:00
Moriyoshi Koizumi
b069f35022
Fixed bug #22227
...
Added test case for bug #22227
2003-02-15 15:57:31 +00:00
Moriyoshi Koizumi
b3a8349191
Fixed bug #22224 (implode changes object references in array)
...
Added test case for the bug
2003-02-14 18:42:36 +00:00
Ilia Alshanetsky
2443adb8b5
Added test case for bug #22187 .
2003-02-13 19:07:20 +00:00
foobar
e6841d6c35
Added test for those different crypt() methods. Hopefully I got the results right.
2003-02-13 18:49:57 +00:00
Ilia Alshanetsky
7fffe4338a
Fixed bug #22207 (e notation in *printf would be missing a 0 when there is
...
no exponent).
Added a test case for the bug.
2003-02-13 17:25:31 +00:00
Kai Schroeder
e42339a6b4
shane added is_executable() for windows last night
2003-02-09 13:54:01 +00:00
Kai Schroeder
d1338ff914
reverting to version 1.5; shane added is_executable() for windows last night
2003-02-09 13:52:46 +00:00
Kai Schroeder
390799592d
newlines changed
2003-02-09 13:25:23 +00:00
Kai Schroeder
f93b09b2db
getopt() is currently not available on Windows
2003-02-09 13:23:50 +00:00
Kai Schroeder
11e81f89fd
there are no symlinks on Windows
2003-02-09 13:20:17 +00:00
Kai Schroeder
ea9101135f
is_executable() does not exist on Windows
2003-02-09 13:19:23 +00:00
Kai Schroeder
6fa2536252
die() to skip second message
2003-02-09 12:34:55 +00:00
Kai Schroeder
745bec1c48
Windows doesn't know timezone CET
2003-02-09 12:22:18 +00:00
Kai Schroeder
93d4e6e5ed
skip for Windows (does not support dates prior to midnight, January 1, 1970)
2003-02-09 12:21:47 +00:00
Kai Schroeder
d6567abbf4
Windows does not support dates prior to midnight, January 1, 1970
2003-02-09 12:20:54 +00:00
Kai Schroeder
8e14c4a89f
test for mktime()
2003-02-09 12:19:02 +00:00
foobar
073a80fbcc
fix the test
2003-02-06 15:22:41 +00:00
foobar
102f8cf4c1
Added testcase for bug #22088
2003-02-06 15:04:53 +00:00
foobar
7147949a4e
Correct description of the problem
2003-02-03 16:52:04 +00:00
foobar
bb97dfaccb
Added test for bug #21998
2003-02-03 06:43:08 +00:00
Moriyoshi Koizumi
8dfb2df649
Renamed the test name as per the convension
2003-01-23 19:21:51 +00:00
Moriyoshi Koizumi
6fc22aa5d9
Test name formatting
2003-01-23 19:07:25 +00:00
Moriyoshi Koizumi
a1e6457561
Fixed bug #21744(21741)
...
Added test case for the bug
2003-01-19 11:32:54 +00:00
Moriyoshi Koizumi
310397f2ee
Fixed typo
2003-01-18 19:02:21 +00:00
Moriyoshi Koizumi
2aa7bf8d8b
Added test case for bug #21730
2003-01-18 18:59:27 +00:00
Derick Rethans
a50e9acd8e
- Skip test if the function to test is not available
...
#- Perhaps we need some infrastructure for this...
2003-01-18 13:53:25 +00:00
Ilia Alshanetsky
054826b192
Added missing test result.
2003-01-17 23:57:43 +00:00
Marcus Boerger
973c5fa1ec
fix jp2 detection and add testfile
2003-01-17 18:51:30 +00:00
Marcus Boerger
1dabcd4dad
- JPEG 2000 support
2003-01-16 19:46:12 +00:00
Wez Furlong
a3a2dcd8a9
Relieve scripts of the burden of ensuring that all pipes are closed prior
...
to calling proc_close().
Implement proc_get_status(resource $process) which returns an array of
information about a process created with proc_open().
The information includes:
array(
"command" => string "name of the command",
"pid" => long process identifier,
"running" => bool true if the process is still running
"exitcode" => long exitcode if the process exited
"signaled" => bool true if the process was signaled
"termsig" => long signal number if signaled
"stopped" => bool true if the process is stopped
"stopsig" => long signal number if stopped
);
2003-01-15 18:54:03 +00:00
Wez Furlong
d8fbd1acef
Fix Bug #21523 - number_format could cause a memory allocation for a
...
negative memory size in situations where the sprintf implementation of the
host system generated less decimal places than were requested.
Resolved this issue by making number_format examine the string returned
by spprintf and have it pad to the correct number of decimal places.
Added a test-case based on the bug report; the length of decimal places
required to trigger this bug is sprintf implementation dependent; as the
implementation is now using spprintf (provided by PHP), that number is
78 digits (NDIG - 2).
# I played with the idea of enhancing sprintf to do the equivalent, but
# it was too much effort considering that the precision of floats/doubles
# is not good enough to warrant it.
# This fix could do with some QA from someone else to make sure there are
# no memory bounds problems and then MFH it to PHP_4_3
2003-01-09 15:44:49 +00:00
Ilia Alshanetsky
97dd1e8abf
Fixed bug #21453 (improper handling of non-terminated <).
2003-01-06 22:13:03 +00:00
Wez Furlong
d23d4b366d
Make it slightly more obvious that the return value is relative to the length
...
of the input data.
2003-01-06 14:04:23 +00:00
Ilia Alshanetsky
0ff59a1353
Fixed bug #21338 (crash inside html_entity_decode() when "" is passed).
...
Added test case for the bug.
2003-01-02 19:49:30 +00:00
Wez Furlong
f58628ca4d
Move rot13 filter into a new filters.c source file.
...
Tidy up some other filter related code.
# win32 -> someone please add user_filters.c and filters.c to the .dsp
2003-01-01 11:04:44 +00:00
Wez Furlong
350b0bbeac
Implement user-space filters.
...
See ext/standard/tests/file/userfilters.phpt for an example of their use.
2002-12-31 18:39:36 +00:00
Ilia Alshanetsky
bd19dabefe
Fixed bug #21226 (parse_url handling of urls without a path).
2002-12-30 16:42:49 +00:00
Derick Rethans
b996b32031
- Add test for bug #21182
2002-12-25 20:08:36 +00:00
Wez Furlong
c5091eedf1
Forgot to include this in my previous commit for #21131 fix.
2002-12-22 18:06:27 +00:00
Wez Furlong
efea12fec5
Fix for Bug #21131 : fopen($file, 'a+') would incorrectly assume that
...
the stream position was at offset 0.
This corrects that assumption by querying the stream for it's position
when it detects the 'a' "flag" in the mode parameter to fopen.
Also added a test for plain files and amended the userstreams test to
take this into account.
2002-12-22 18:05:36 +00:00
Ilia Alshanetsky
3a4bf3f904
When low & high are the same return an array containing the low value.
...
Added support for float values and handling of numeric values being passed
as strings.
Added a test case for range().
2002-12-20 17:16:31 +00:00
Moriyoshi Koizumi
d2fa4670dc
Prevented test failure caused by LF code variety
2002-12-18 23:06:27 +00:00
Moriyoshi Koizumi
92d5faca60
MFB
2002-12-12 21:44:53 +00:00
Moriyoshi Koizumi
d679e5d2aa
Added a test case for bug #20934
2002-12-12 21:42:17 +00:00
Ilia Alshanetsky
75c180f242
Fixed bug #20927 and updated the test case for the bug.
2002-12-12 13:38:19 +00:00
Melvyn Sopacua
4b3b409b48
Add testcase for reported wordwrap bug
2002-12-11 20:22:42 +00:00
Ilia Alshanetsky
c194d9333d
Added getopt() test.
2002-12-11 17:38:28 +00:00
Ilia Alshanetsky
3bc8512cf0
Added test case for bug #20865 .
2002-12-06 17:46:26 +00:00
Ilia Alshanetsky
7364e3b771
Fixed bug #12556 , updated the test for this bug.
2002-12-05 20:01:19 +00:00
Melvyn Sopacua
bd06d48e56
Test data
2002-12-05 19:30:28 +00:00