Commit Graph

3492 Commits

Author SHA1 Message Date
Ilia Alshanetsky
8f6b374d1d By popular demand renaming uu(encode/decode) to convert_uu(encode/decode). 2003-10-28 04:02:11 +00:00
Moriyoshi Koizumi
1085c08aa5 Add missing reinitialization call 2003-10-27 22:45:58 +00:00
Moriyoshi Koizumi
69dcdcb7c1 Fixed bug #26003 (fgetcsv() not binary-safe on null bytes) 2003-10-27 22:36:44 +00:00
Ilia Alshanetsky
17b9b2dc85 Added uuencode() & uudecode() functions. 2003-10-27 05:35:41 +00:00
Marcus Boerger
ee0f709e4b - Fixed bug #25581 (getimagesize () return incorrect values on bitmap
(os2) files)
2003-10-25 14:06:29 +00:00
Marko Karppinen
074ca45399 Workaround for bug #25955
Generalized a Darwin check in dns.c to a check for inet_pton() (kalowsky)
2003-10-24 17:09:36 +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
bde1fe4d81 Missing '&' in the result of get_html_translation_table() 2003-10-21 01:46:54 +00:00
Moriyoshi Koizumi
5dac05638f Fix typo 2003-10-20 15:45:01 +00:00
Ilia Alshanetsky
21fceae7d6 Fixed bug #25923 (mail() modifies the to & subject arguments). 2003-10-20 14:22:01 +00:00
Ilia Alshanetsky
26f7af25ba Fixed bug #25895 (Incorrect detection of safe_mode limited ini options) 2003-10-20 01:59:35 +00:00
Shane Caraveo
e5103d764a make file uri's work with streams 2003-10-19 20:04:33 +00:00
Shane Caraveo
4505a611ba make parse_url work correctly for file uri's on windows, such as
file:///c:/somepath/somefile.txt
2003-10-19 20:00:51 +00:00
Wez Furlong
54d1769653 MFB Fix for #25825 2003-10-15 00:18:53 +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
Ilia Alshanetsky
3158ff714e Remove sendmail patch check. 2003-10-13 04:15:09 +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
Wez Furlong
628afb40b6 Implement stream_get_contents, which is somewhat akin to file_get_contents,
except that it works on an already opened stream.
2003-10-08 10:07:25 +00:00
Moriyoshi Koizumi
ed40a56c6c Oops.. 2003-10-08 01:51:32 +00:00
Moriyoshi Koizumi
f4595d18af Better fix for bug #25758 2003-10-08 01:49:31 +00:00
Ilia Alshanetsky
6f8b8ade45 Fixed bug #25758 (var_export does not escape ' & \ inside array keys) 2003-10-08 01:16:44 +00:00
Ilia Alshanetsky
31a3c87159 Fixed clobbering of the source array, when merging complex
multi-dimensional arrays. Bug reported by Lukas Smith.
2003-10-05 19:37:02 +00:00
Moriyoshi Koizumi
2c95c42404 Fix the macro to prevent it from falling over in a mess 2003-10-05 13:59:15 +00:00
Moriyoshi Koizumi
80edbeba2f Change fgetcsv() so that the second parameter is also optional. 2003-10-04 21:06:29 +00:00
Moriyoshi Koizumi
10961114ad Fix autoconf(2.13) build 2003-10-04 12:23:11 +00:00
Moriyoshi Koizumi
921e5b47c5 Fix fgetcsv() to correctly support international characters
# note: mblen() is not a mbstring function, but is part of the ANSI standard
# which is even supported by Microsoft's libc.
2003-10-04 02:51:19 +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
75bb36ed09 Fixed bug #25708 (extract($GLOBALS, EXTR_REFS) mangles $GLOBALS) 2003-10-02 22:20:48 +00:00
Moriyoshi Koizumi
6745000c37 Fix for the fix for #25707 2003-10-02 19:23:00 +00:00
Moriyoshi Koizumi
04bcd89277 Add support for hexadecimal-style numeric entities (&#x..;) 2003-10-02 19:07:59 +00:00
Moriyoshi Koizumi
edd18bae09 Drop multibyte character support in html_entity_decode().
# This has never worked as expected.
2003-10-02 19:06:44 +00:00
Moriyoshi Koizumi
647408978e Fixed bug #25707 (html_entity_decode over-decodes <) 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
Andrey Hristov
40088d0bbc smash a segmentation fault 2003-09-30 15:00:36 +00:00
Andrey Hristov
02827c46be Memory leak fixed (no need of MFH since this is code specific to PHP5) 2003-09-30 12:43:58 +00:00
Stanislav Malyshev
e21669502b MF4: allow realpath() for win32 non-ZTS 2003-09-30 09:52:11 +00:00
Moriyoshi Koizumi
103b3c6626 Simplification. 2003-09-29 02:23:40 +00:00
Sara Golemon
2acca5d015 Test for Bug 25671 2003-09-27 18:48:48 +00:00
Sara Golemon
ef7905a188 Bug Fix#25671 Corruption in subarrays in subject when using str_replace 2003-09-26 17:57:13 +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
Hartmut Holzgraefe
075e66cc08 signed/unsigned compiler warning fixes 2003-09-26 08:09:56 +00:00
Hartmut Holzgraefe
0a46866d8f silenced a compiler warning 2003-09-26 07:51:52 +00:00
Ilia Alshanetsky
6966350013 Fixed typo. 2003-09-26 00:40:32 +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
Andrey Hristov
3579f212df 4 new functions :
array_udiff()
array_udiff_assoc()
array_diff_uassoc()
array_udiff_uassoc()
They work like array_diff() or array_diff_assoc() but callback function(s)
can be used to perform the comparisons. For example array_udiff_uassoc()
expects 2 callbacks are last 2 parameters one is used to compare the values
of the entries in the arrays the second to compare the keys.
Class methods are also valid callbacks. Even when the data that should be
used in the comparison is private or protected then a static method of a
class should be used (this behaviour can be seen in the regression test -
007.phpt).
2003-09-23 17:37:29 +00:00
Andrey Hristov
63d7df3e2f improve the fix for #25494. If more then one bad parameter is passed
an warning for all will be emitted.
2003-09-22 23:19:17 +00:00