Commit Graph

806 Commits

Author SHA1 Message Date
Antony Dovgal
7053b89072 MFH: fix #40915 (addcslashes unexpected behavior with binary input) 2007-03-26 10:25:41 +00:00
Stanislav Malyshev
0af75d6b1a fix MOPB-29 - unserialize modifier S does not calculate length correctly
# reported by Stefan Esser
2007-03-23 20:15:22 +00:00
Stanislav Malyshev
a424d65e0b add test 2007-03-16 19:55:21 +00:00
Antony Dovgal
982de65f6e fix substr()
it's perfectly legal to do substr("str", 0, 1000000);
2007-03-09 10:04:59 +00:00
Antony Dovgal
c9ded196b4 fix tests 2007-03-09 09:45:14 +00:00
Ilia Alshanetsky
02fae929af Fixed bug #40754 (added substr() & substr_replace() overflow checks). 2007-03-09 01:58:34 +00:00
Antony Dovgal
af1843f866 MFH: fix #40752 (parse_ini_file() segfaults when a scalar setting is redeclared as an array) 2007-03-08 00:44:23 +00:00
Ilia Alshanetsky
1ac71c4fe9 Fixed bug #40709 (array_reduce() behaves strange with one item stored
arrays).
2007-03-04 17:21:16 +00:00
Ilia Alshanetsky
e769e1b49e Fixed bug #40704 (strip_tags() does not handle single quotes correctly) 2007-03-03 15:46:29 +00:00
Nuno Lopes
f1d075a102 increase the stream_select() timeout, to make the test pass in a slow machine with valgrind 2007-03-02 18:54:13 +00:00
Antony Dovgal
ad8c94d8cc fix
the sprintf() -> zend_spprintf() change affected this
2007-02-26 12:08:12 +00:00
Antony Dovgal
666370d7ee add new test 2007-02-26 09:58:04 +00:00
Nuno Lopes
d94e388d74 fix test on ultra-fast-machines and/or SOs with long time slices
# Thanks Tony
2007-02-22 11:48:14 +00:00
Antony Dovgal
e1fe2c9165 MFH 2007-02-21 22:08:08 +00:00
Antony Dovgal
26fac39d5e fix test 2007-02-21 19:57:15 +00:00
Nuno Lopes
4f3150c350 use /usr/bin/nohup instead 2007-02-21 16:25:37 +00:00
Nuno Lopes
d446564786 Fixed bug #39322 (proc_terminate() destroys process resource) 2007-02-14 19:13:31 +00:00
Nuno Lopes
9cc85b6030 Fixed bug #34794 (proc_close() hangs when used with two processes) 2007-02-13 19:53:42 +00:00
Antony Dovgal
29a9ba9639 new/improved tests 2007-02-13 12:59:53 +00:00
Ilia Alshanetsky
103b8c33c0 Fixed bug #40432 (strip_tags() fails with greater than in attribute). 2007-02-13 02:16:22 +00:00
Antony Dovgal
634615cd42 MFH: fix tests 2007-02-12 14:49:05 +00:00
Antony Dovgal
796080d8c4 MFH: add separate IPv6 test 2007-02-12 14:43:00 +00:00
Antony Dovgal
45c0253f2c add test 2007-02-11 20:56:46 +00:00
Antony Dovgal
77d93ee6b3 fix test 2007-02-11 20:06:19 +00:00
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