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
foobar
dde4c166c9
- Make sure srand() / mt_srand() are really called.
2004-01-19 19:01:17 +00:00
Ilia Alshanetsky
39b62f26cf
Fixed bug #26967 (make various file operations return FALSE on error).
2004-01-19 18:40:39 +00:00
Ilia Alshanetsky
608db4728b
Added fgetcsv() tests.
2004-01-19 03:55:29 +00:00
foobar
e0782e2519
- Moved php_srand() call into php_rand().
...
# Makes shuffle() and str_shuffle() to be random without having to
# call srand() in scripts.
# They don't internally call php_srand() at all and it would be silly
# to start adding php_srand() calls all over the place..
2004-01-19 03:14:58 +00:00
foobar
c7f8c84f36
- Fixed bug #26949 (rand(min,max) always returns min when ZTS enabled)
2004-01-19 02:30:54 +00:00
Moriyoshi Koizumi
abfda09eda
Fix fgetcsv() to reflect the change on 4.3.5 behaviour.
2004-01-18 20:29:34 +00:00
Andrey Hristov
9e5df0c666
HEAD is now bundled only with ZE2
2004-01-17 17:33:11 +00:00
foobar
f4983c0d3f
- Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5
2004-01-17 13:00:38 +00:00
Wez Furlong
09fb5dc1e6
Remove stale code from flock();
...
spotted by Hartmut.
2004-01-14 14:37:38 +00:00
Wez Furlong
cd4262eedd
Fix #26772 : fgets returns NULL instead of FALSE.
2004-01-14 14:25:01 +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
2736c55e3e
Fixed bug #26847 (memory leak in mail() when to/subject contain only spaces)
2004-01-09 01:35:44 +00:00
foobar
4293b03948
touch generated files
2004-01-08 19:17:50 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Zeev Suraski
215c3275de
Fix C++ style declaration
2004-01-06 20:38:00 +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
Ilia Alshanetsky
d2b89ae32b
Revert proto 'fix'.
2004-01-06 15:45:52 +00:00
Ilia Alshanetsky
10889a3084
Proto fixes.
2004-01-06 03:55:57 +00:00
Moriyoshi Koizumi
27f47eb173
"seq" isn't available for all platforms.
2004-01-04 03:06:11 +00:00
Derick Rethans
6923a16c26
- Fixed var_export() to show public, protected and private modifiers properly.
...
- Exported (un)mangle_property_name.
2004-01-03 13:51:02 +00:00
Ilia Alshanetsky
939a70a86d
s/then/than/ Thanks Jani & Andi
2004-01-03 00:48:55 +00:00
Marcus Boerger
0cd13bf423
Bugfix #26762 unserialize() produces lowercase classnames
2004-01-02 03:27:32 +00:00
Marcus Boerger
3ab7b87143
Add new test
2004-01-02 03:24:38 +00:00
Ilia Alshanetsky
6f7fe1dfa0
Fixed bug #26752 (Silent unterminated loop when length parameter for
...
fgets(), fread() and fgetss() is 0).
2004-01-02 00:57:23 +00:00
Andrey Hristov
2e474e90c3
proto fix
2003-12-31 10:56:32 +00:00
Marcus Boerger
2fc7a07e62
Use __tostring() in all printing functions.
2003-12-29 22:26:48 +00:00
Marcus Boerger
c6755e8394
No Notices here
2003-12-29 22:24:01 +00:00
Derick Rethans
287834a5af
- Fix typo
2003-12-28 21:56:15 +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
Moriyoshi Koizumi
93cc95e9db
- fixes for compatibility. now fgetcsv() treats a null line to be a single
...
null component.
2003-12-24 21:30:43 +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
Ilia Alshanetsky
1a53f3c5e0
Define INADDR_NONE for systems that don't have it (apparently solaris).
2003-12-22 16:00:52 +00:00
Dmitry Stogov
f06cbb764c
Using INI section.
2003-12-19 15:09:40 +00:00
Ilia Alshanetsky
c6b04cb48a
Check correction (Thanks Andi).
2003-12-19 13:49:59 +00:00
Ilia Alshanetsky
c9a9dee298
Fixed bug #26667 (Added safety checks to ip2long()).
2003-12-19 13:33:51 +00:00
Wez Furlong
2ad5943282
add prototype
2003-12-19 12:43:39 +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
Andrey Hristov
f083d42581
proto fix
2003-12-17 22:21:05 +00:00
Andrey Hristov
a0e930cff4
Added optional parameter to microtime so now it can return float if it
...
the user wants. This prevents from getting string representation exploding
it and then creating a float.
2003-12-17 22:03:33 +00:00
Marcus Boerger
490fd0eaf2
Fix a memleak: A second call to *nix version of dlerror() frees the error
...
string. This behavior is also adapted to the win build so that the buffer
returned by FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER) can be freed too.
2003-12-17 11:20:35 +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
Marcus Boerger
4911e83bec
Check validity of seeks.
...
WS/CS
2003-12-15 22:47:37 +00:00
Sara Golemon
e90f85e45d
Scan for : in host:port pair from right instead of left.
...
This will allow handling of http://[fe80::1]:443/foo.html
IPv6 Numeric addressing with port number to parse correctly.
2003-12-15 06:54:31 +00:00
Ilia Alshanetsky
1128955aa4
Fixed compiler warnings.
2003-12-14 18:23:15 +00:00
Zeev Suraski
cb0fe5786e
Cleanup
2003-12-14 12:32:35 +00:00
Derick Rethans
112f424f70
- Fixed bug #26615 (patch by runekl at opoint dot com)
2003-12-13 18:55:53 +00:00
Sara Golemon
c56647833b
Route mkdir()/rmdir() via wrapper ops.
...
Move current rmdir()/rmdir() code to plain_wrappers.c
Implement mkdir()/rmdir() in ftp:// wrapper
2003-12-13 04:07:18 +00:00
Sara Golemon
b1f8236b63
Route rename() via wrapper ops.
...
Move current rename() code to main/streams/plain_wrapper.c
Implement ftp/rename()
Implement userstreams/rename()
2003-12-12 23:06:42 +00:00
Ilia Alshanetsky
56f046a67a
Fixed ZTS build.
2003-12-10 21:23:35 +00:00
Derick Rethans
d78e453c36
- Test before commit - test before commit
2003-12-10 21:02:33 +00:00
Derick Rethans
009e8498c3
- Added support for MacRoman encoding to htmlentities(). (Marcus Bointon)
2003-12-10 18:17:23 +00:00
foobar
6f4cc5c1c9
Fixed bug #26565 (strtotime("this month") resolving to the wrong month)
2003-12-10 14:08:06 +00:00
Moriyoshi Koizumi
b2cd08f33d
Fix bug #26574 (basename() doesn't work properly with multibyte characters)
2003-12-10 07:15:28 +00:00
Moriyoshi Koizumi
35c3a7f525
Expose the macro globally
2003-12-10 06:08:39 +00:00
Moriyoshi Koizumi
c4c586a652
Fix typo.
2003-12-10 06:04:15 +00:00
foobar
6291a7f995
- Update credits.
2003-12-09 16:33:05 +00:00
Hartmut Holzgraefe
0141080ff5
reduce/reduce conflicts resolved
2003-12-08 22:22:57 +00:00
Moriyoshi Koizumi
b6c0003ffd
Fix a convert filters bug that occurs when multiple buckets are coming in.
2003-12-08 00:22:22 +00:00
foobar
36b255fa66
ws
2003-12-07 18:19:30 +00:00
Wez Furlong
fcdda2e8f8
Fix a problem resolving the php.ini path under win32 terminal services environment.
...
Remove config-file-path option from configure under win32; it is not used except to display what might have been chosen, so lets default to the getenv() thingy.
2003-12-06 16:04:34 +00:00
Wez Furlong
45eb5a8d03
use quotes if the user specifies a path, but don't otherwise (since we don't want the getenv calls quoted).
2003-12-06 15:16:17 +00:00
foobar
c28a7bd7da
fix proto
2003-12-06 10:48:56 +00:00
Wez Furlong
dbb152b96a
Detect and enable IPv6 support under win32.
...
The ws2tcpip.h header links to IPv6 functions dynamically
and the generated binary will run on win98 and later.
2003-12-06 00:00:31 +00:00
Wez Furlong
7a9cf22ed1
Probable fix for #26534
2003-12-05 20:25:14 +00:00
Wez Furlong
c29b17b81e
fix unix build....
2003-12-05 13:48:40 +00:00
Wez Furlong
c92a2219ef
Add optional array argument to proc_open() to specify additional
...
options for the child process.
The first option is "suppress_errors" which will disable any
dialog boxes that arise from missing DLL's and suppress the
GPF dialog.
Use this new feature in the test suite, so that crashing tests don't block the test run; useful for un-attended execution.
2003-12-05 13:45:00 +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
Wez Furlong
40a573445c
Work around a bug in putenv() in the VS.Net C run time library (MSVCRT71) where it will double free a string.
2003-12-04 22:38:22 +00:00
foobar
518f6a849b
- Update after moving extensions to PECL
2003-12-04 15:01:10 +00:00
Uwe Schindler
ae4e11d861
MFB
2003-12-04 09:00:24 +00:00
Ilia Alshanetsky
9947a3e7ce
Fixed typo (thanks Frank)
2003-12-04 00:14:39 +00:00
Ilia Alshanetsky
81e41e3cb9
Remove unnecessary casts.
2003-12-03 22:51:51 +00:00
Moriyoshi Koizumi
247f991443
Possible fix for bug #26391 (parse_url() destroys strings that contain
...
a character in range of \x80-\xff))
2003-12-03 20:58:12 +00:00
Sara Golemon
5ad67a9215
Add http proxy support via context option.
2003-12-03 05:30:16 +00:00
Sara Golemon
feee37a17a
Optimize strrpos/strripos for single char strings and fix offset to report correctly
2003-12-03 01:31:56 +00:00
Sara Golemon
3d6fcddfd2
Restore ability to use strrpos/strripos with an ordinal needle
2003-12-03 01:11:36 +00:00
Wez Furlong
05b9b20ed8
Add new (optional!) win32 build infrastructure.
...
Will follow up to internals@ shortly.
2003-12-02 23:17:04 +00:00
foobar
49af06e7b4
- Updated credits
2003-12-02 14:50:37 +00:00
Moriyoshi Koizumi
3c02eb1ffe
all '_' (underscores) should be replaced by '\x20' (whitespaces)
...
in encoding.
# should I bump API version?
2003-12-02 07:36:42 +00:00
Ilia Alshanetsky
5a4dda42e3
Optimize substr_replace (this makes it 3-8 times faster depending on the
...
string length).
2003-12-01 23:17:22 +00:00
Sara Golemon
681d18effd
Move safemode/basedir checks for url_stat to plain_wrapper.
2003-12-01 19:47:05 +00:00
Ilia Alshanetsky
d9edc99fbe
MFB: Fix for possible uninitialized usage of subject_r.
2003-11-30 19:56:30 +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
Sara Golemon
e9a1d12f71
Add in missing stat element and fix win32 build
2003-11-29 20:01:00 +00:00
Ilia Alshanetsky
99dec6927c
Fixed bug #26463 (Incorrect handling of semicolons after heredoc)
2003-11-29 19:05:14 +00:00
Sara Golemon
9defdab180
Finish off ftp://'s url_stat support
2003-11-29 17:16:58 +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
Sara Golemon
026d4c9e4c
Route php_stat() via streams/url_stat API (php_stream_stat_path).
...
This enables fopen-wrappers support on stat() and related family calls.
2003-11-28 23:25:28 +00:00
Ilia Alshanetsky
e1bdc33d18
More memory leak fixes for stream contexts.
2003-11-28 18:33:14 +00:00
Wez Furlong
28277f1d00
fix #26001 ; serialize crashes when accessing an overloaded
...
object that has no properties (NULL hashtable).
2003-11-28 15:42:58 +00:00
Ilia Alshanetsky
e898ae955e
Added image_type_to_extension() function.
2003-11-27 22:03:35 +00:00
Wez Furlong
43698d6dbb
initialize this one to be safe
2003-11-27 17:37:35 +00:00
Ilia Alshanetsky
cd482c502c
Removed dead code.
2003-11-27 01:08:42 +00:00
Sebastian Bergmann
8dd6cded76
'Fix' for bison 1.875.
2003-11-25 15:36:38 +00:00
Ilia Alshanetsky
d1a04493bb
Make sure zend stuff is built first.
2003-11-24 18:23:36 +00:00
Ilia Alshanetsky
c722ab91ee
Fixed bug #26355 (flock() doesn't initialize the wouldblock argument)
2003-11-24 01:42:43 +00:00
Ilia Alshanetsky
b03d3fa5b7
Added php_strip_whitespace() and php_check_syntax() functions.
2003-11-24 01:17:27 +00:00
Hartmut Holzgraefe
ead7c2388d
debug mode no longer needed
2003-11-20 19:01:33 +00:00
Andi Gutmans
fea31127ec
- Fix Windows build
2003-11-20 09:14:51 +00:00
Sara Golemon
0101c27823
New function: headers_list(). Ennumerate headers sent to SAPI engine
2003-11-19 21:10:33 +00:00
Hartmut Holzgraefe
7eb2471565
XSchema stuff finally done right ... (at least i hope so ...)
2003-11-19 19:55:13 +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
2b7b909e16
Fixed bug #26285 (escapeshellarg() uses wrong quotes on windows).
2003-11-19 15:34:30 +00:00
Hartmut Holzgraefe
45a07a546f
the military time zone offsets where pointing in the wrong direction
2003-11-18 06:46:07 +00:00
Hartmut Holzgraefe
f4d669d712
make strtotime() understand the datetime format used with XML Schema
2003-11-18 06:45:01 +00:00
Ilia Alshanetsky
2a58fb80e7
Fixed Bug #25694 (round() and number_format() give inconsistent results).
2003-11-18 02:50:41 +00:00
Ilia Alshanetsky
c53b53f926
Rename nanosleep() to time_nanosleep().
2003-11-14 22:55:54 +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
127ed194b7
Added configure check for nanosleep() availability.
2003-11-12 23:43:46 +00:00
Marcus Boerger
81d1a19d0b
Bugfix #26216 : ("getimagesize(): stream does not support seeking" when
...
using remote files)
2003-11-12 22:51:22 +00:00
Ilia Alshanetsky
3691ab699c
Added nanosleep(), in addition to allowing setting of very short states.
...
This function is signal safe.
2003-11-12 22:02:37 +00:00
Jay Smith
544fe688c5
Plugged a small memleak when errstr isn't efree()'d.
2003-11-12 22:01:02 +00:00
Ilia Alshanetsky
770a111a43
Fixed bug #26198 (strtotime() handling of M/F Y date format).
2003-11-12 02:55:03 +00:00
Ilia Alshanetsky
7fe481c9d0
Fixed bug #26176 (Fixed handling of numeric keys in INI files).
2003-11-10 04:12:38 +00:00
Marcus Boerger
220e41a421
Move typedef to where it is needed now.
2003-11-07 09:26:18 +00:00
Marcus Boerger
ccb6311406
Make php_stat() available for extensions.
2003-11-07 09:16:16 +00:00
Moriyoshi Koizumi
bb6f3a115e
Fixed bug #24394 (serializing cross-referenced objects causes segfault)
2003-11-04 16:08:10 +00:00
Derick Rethans
3ab8d263b8
- Always store the URI path in the streams structure, and expose it with
...
stream_get_meta_data().
2003-11-03 14:12:46 +00:00
Ilia Alshanetsky
ab7ee13670
Added substr_compare().
2003-10-30 00:49:33 +00:00
Moriyoshi Koizumi
e6feb47f00
Some clean-ups
2003-10-29 22:25:57 +00:00
Moriyoshi Koizumi
cca80292fe
This check's always necessary.
2003-10-29 21:50:15 +00:00
Moriyoshi Koizumi
28369f6e86
Add test case for bug #26003
2003-10-29 19:45:38 +00:00
Moriyoshi Koizumi
13f16d5690
MFB(r-1.109.2.12): A possible fix for bug #26026
2003-10-29 18:48:37 +00:00
Sara Golemon
70f4a0c9ec
Allow userspace filters to use wildcards
2003-10-29 00:19:57 +00:00
Sara Golemon
735b24a727
Allow userfilter instantiation to programmatically fail by returning false.
...
Equivalent of Cspace filter "failure" by returning NULL.
2003-10-28 23:56:57 +00:00
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
Ilia Alshanetsky
e2caa6eaf9
String formatting stuff.
2003-09-22 04:18:24 +00:00
Sascha Schumann
36ac7a5bb0
MFB Avoid zero-length keys which result in a spinning process
2003-09-20 16:10:49 +00:00
Ilia Alshanetsky
0917a7f62f
Fixed bug #25583 (Incorrect handling of paths starting with / on win32
...
inside glob() function).
2003-09-20 02:51:20 +00:00
Ilia Alshanetsky
67a070c151
Fixed bug #25530 (checkdate incorrectly handles floats)
2003-09-15 00:07:51 +00:00
Jay Smith
6c6fd76bac
Fixed bug #25494 (array_merge allowing "false" as argument (silent when
...
non-array is passed))
# 4.3 throws E_NOTICEs, 5 errors out on non-array args as per Ilia's
# suggestion.
2003-09-11 17:40:18 +00:00
Ilia Alshanetsky
f3f3b772b2
Cleanup r1.76 patch
2003-09-11 04:46:10 +00:00
Ilia Alshanetsky
dfe3f32ec6
Cleanup previous patch.
2003-09-10 01:07:01 +00:00
Ilia Alshanetsky
29e829fdcf
Fixed bug #14049 (realpath() w/ZTS returns invalid results for non-existent
...
paths)
2003-09-10 00:22:10 +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
5e40faa1d6
- Fixed bug #25211 (image.c compile failure with AIX)
2003-09-09 19:25:55 +00:00
Ilia Alshanetsky
80fb9496b3
Re-enable sendmail binary check, now with parameter detection.
2003-09-08 20:15:35 +00:00
foobar
5a7d97fab7
typo + proto fix
2003-09-07 00:00:00 +00:00