Sara Golemon
51b9a0f269
Make php_stream_copy_to_mem() unicode aware and
...
update userspace function file_get_contents().
Note: fgc()'s second parameter (use_include_path) has been changed
to be a bitmask "flags" parameter instead.
For the most commonly used values (TRUE, 1) this will continue functioning
as expected since the value of FILE_USE_INCLUDE_PATH is (coincidentally) 1.
The impact to other values should be noted in the migration6 guide.
This change makes it possible to allow fgc() to return binary file
contents (default) or unicode transcoded contents (using FILE_TEXT flag).
2006-03-30 00:22:51 +00:00
Sara Golemon
1c97a0d78c
Update php_stream_passthru() to handle unicode data.
...
This updates userspace functions fpassthru() and readfile()
UG(output_encoding) is used by php_stream_passthru() to translate
unicode stream contents back to an outputable character set.
Note: readfile()'s second parameter (use_include_path) has been changed
to be a bitmask "flags" parameter instead.
For the most commonly used values (TRUE, 1) this will continue functioning
as expected since the value of FILE_USE_INCLUDE_PATH is (coincidentally) 1.
The impact to other values should be noted in the migration6 guide.
This change makes it possible to allow readfile() to output binary file
contents (default) or unicode transcoded contents (using FILE_TEXT flag).
2006-03-29 22:52:24 +00:00
Andrei Zmievski
d57e79782e
Bug!
2006-03-29 05:56:06 +00:00
Sara Golemon
30a2bd1d11
Another (and hopefully last) major streams commit.
...
This moves unicode conversion to the filter layer
(rather than at the lower streams layer)
unicode_filter.c has been moved from ext/unicode to main/streams
as it's an integral part of the streams unicode conversion process.
There are now three ways to set encoding on a stream:
(1) By context
$ctx = stream_context_create(NULL,array('encoding'=>'latin1'));
$fp = fopen('somefile', 'r+t', false, $ctx);
(2) By stream_encoding()
$fp = fopen('somefile', 'r+');
stream_encoding($fp, 'latin1');
(3) By filter
$fp = fopen('somefile', 'r+');
stream_filter_append($fp, 'unicode.from.latin1', STREAM_FILTER_READ);
stream_filter_append($fp, 'unicode.to.latin1', STREAM_FILTER_WRITE);
Note: Methods 1 and 2 are convenience wrappers around method 3.
2006-03-29 01:20:43 +00:00
Ilia Alshanetsky
75c7f810ea
MFB51: Check 2nd parameter of tempnam() against path components.
2006-03-27 23:41:05 +00:00
Andrei Zmievski
e85495f6f1
Fix UErrorCode check.
2006-03-27 23:05:38 +00:00
Andrei Zmievski
d761aa7eb2
Typo.
2006-03-27 22:16:53 +00:00
Andrei Zmievski
626be75d6c
Make a UTODO note.
2006-03-27 21:19:12 +00:00
Andrei Zmievski
a8c291f8fe
Proto updates.
2006-03-27 19:24:18 +00:00
Dmitry Stogov
d1d9ce8fed
Test for strtr() with non-ascii encoding
2006-03-27 14:37:14 +00:00
Dmitry Stogov
9d9adb2f35
Unicode support
2006-03-27 14:19:18 +00:00
Dmitry Stogov
c744d73d04
Unicode support
2006-03-27 13:37:47 +00:00
Dmitry Stogov
06cfa710b4
Fixed testFixed testFixed testFixed testFixed testFixed testFixed testFixed testFixed test
2006-03-27 10:15:02 +00:00
Dmitry Stogov
bdfa3b1d36
Fixed ZTS build
2006-03-27 06:02:42 +00:00
Ilia Alshanetsky
3bf02bde43
MFB51: Fixed bug #36857 (Added support for partial content fetching to the
...
HTTP streams wrapper).
2006-03-26 17:12:26 +00:00
Derick Rethans
ad6a972de3
- Implemented basic collation support. For some reason "new Collator" gives segfaults when the object's collation resource is used.
...
- The following example shows what is implemented:
<?php
$orig = $strings = array(
'côte',
'cote',
'côté',
'coté',
'fluÃe',
'flüÃe',
);
echo "German phonebook:\n";
$c = collator_create( "de@collation=phonebook" );
foreach($c->sort($strings) as $string) {
echo $string, "\n";
}
echo $c->getAttribute(Collator::FRENCH_COLLATION) == Collator::ON
? "With" : "Without", " french accent sorting order\n";
echo "\nFrench with options:\n";
$c = collator_create( "fr" );
$c->setAttribute(Collator::CASE_FIRST, Collator::UPPER_FIRST);
$c->setAttribute(Collator::CASE_LEVEL, Collator::ON);
$c->setStrength(Collator::SECONDARY);
foreach($c->sort($strings) as $string) {
echo $string, "\n";
}
echo $c->getAttribute(Collator::FRENCH_COLLATION) == Collator::ON
? "With" : "Without", " french accent sorting order\n";
?>
2006-03-26 11:06:24 +00:00
Sara Golemon
a64789a452
Expand stream_context_create() to allow specifying params
...
as well as options. Ignore the internal name change of the first arg.
The first arg is still for options, the second arg is for actual params.
2006-03-26 04:40:11 +00:00
Derick Rethans
3df5f17231
- Commit intermediate work so that I can hack on it on some plane.
2006-03-26 02:15:47 +00:00
Sara Golemon
f67ed7f3d4
Allow bidirectional encoding option via single context param
2006-03-24 22:27:13 +00:00
Sara Golemon
dfc827d108
Fix stream_get_line():
...
Checking type isn't nearly as important as checking nullness...
2006-03-24 21:37:42 +00:00
Sara Golemon
0b2b16e6c7
Update fgetss() for unicode
2006-03-24 21:32:39 +00:00
Sara Golemon
880dd406f2
Add php_stream_get_record_unicde() API call.
...
Update stream_get_line() userspace function to handle unicode streams.
2006-03-24 19:22:24 +00:00
Ilia Alshanetsky
96afde2af7
MFB51:
...
Added myself to PDO and PDO_MySQL credits
Added Wez to PDO_MySQL credits
Added Tony to Q&A team credits
Regenerated the credits file
2006-03-23 18:39:12 +00:00
Antony Dovgal
932c5d9e0e
MF51: prevent segfault when exception is thrown from Countable::count()
2006-03-22 22:06:08 +00:00
Antony Dovgal
a4c6a19335
use set_time_limit(), this test takes forever on AIX
2006-03-22 19:27:28 +00:00
Derick Rethans
3056defb26
- Moved strtotitle to ext/standard and implemented the fallback case to
...
non-unicode with ucwords. There is also an implementation for unicode ucwords
but that returns different results then strtotitle as it uppercases the
first character of every word, and doesn't *titlecase* a word. The test case
shows that.
2006-03-22 10:20:20 +00:00
Ilia Alshanetsky
f7875f813c
MFB51: Fixed bug #36689 (Removed arbitrary limit on the length of syslog
...
messages).
2006-03-21 00:59:41 +00:00
Antony Dovgal
c2eabef473
shutdown syslog module before freeing basic_globals
2006-03-20 23:33:07 +00:00
Antony Dovgal
6901e09492
MF51: fix #36808 (syslog ident becomes garbage between requests)
2006-03-20 23:07:31 +00:00
Antony Dovgal
1df7e13f48
fix #36741 (userstreams testcase have off-by-one error on fseek())
2006-03-20 22:08:59 +00:00
Antony Dovgal
ba1ac82bc9
don't leak memory even though the code is not stable yet
2006-03-20 20:09:20 +00:00
Antony Dovgal
9557d44ed8
fix buffer overrun
2006-03-20 14:10:23 +00:00
Antony Dovgal
2c750d7f84
make the code a bit cleaner - no need for two different checks that are doing effectively the same
2006-03-19 22:12:39 +00:00
Marcus Boerger
792e4d9f4d
- Fix TSRM
2006-03-17 23:14:55 +00:00
Andrei Zmievski
25b95e4250
Make is_string() return TRUE for both Unicode and binary strings.
2006-03-17 23:00:20 +00:00
Andrei Zmievski
a75b8f5f35
Fix compiler errors by using NULL_ZSTR where zstr is expected.
...
# I guess we need to use NULL_ZSTR instead of NULL when passing NULL to
# functions that expect zstr parameter.
2006-03-17 22:52:55 +00:00
Andrei Zmievski
6b165251db
Calculate the size of the tmp[] buffer directly at compile time.
2006-03-17 22:51:20 +00:00
Derick Rethans
c6b425432a
- Actually make this is_binary() too.
2006-03-17 14:53:57 +00:00
Derick Rethans
2ffc93140d
- Fixed bug in ucfirst() implementation. If the tmp_len = 0 then it will not
...
write the uppercased character to the buffer, but only returns the length of
the uppercased letter as per
http://icu.sourceforge.net/apiref/icu4c/ustring_8h.html#a50 .
- Updated is_string():
If Unicode semantics is turned on, return "true" for Unicode strings only.
If Unicode semantics is turned off, return "true" for native strings only.
- Added is_binary() function that returns "true" for native strings only.
- Added first implementation of upgraded strtr function. It works except if
combining sequences or surrogates are used in the non-array method of calling
this function.
2006-03-17 14:29:05 +00:00
Dmitry Stogov
86780519d4
Disabled dl(). Now it is enabled only when a SAPI layer registers it explicitly. Only CLI, CGI and EMBED do this.
2006-03-16 16:53:10 +00:00
Dmitry Stogov
9d7ca01c8b
Dropped allow_call_time_pass_reference, the error is maden E_STRICT.
2006-03-16 11:32:00 +00:00
Derick Rethans
c76917a773
- Fixed two memory issues:
...
- In the first one we were calculating the tmp_len wrong which made the
u_strFromUTF32() function try to convert too many code points.
- The second issue was a bit more subtle as the "what" string wasn't
duplicated but still modified. This string is passed as data to the
function and this kind of data the engine tries to free when the function
ends. Because we were re-allocating the data the original memory location
was already freed resulting in a double free error when the engine tries to
free the argument as it was passed to the function.
2006-03-15 12:20:49 +00:00
Derick Rethans
52bec1ea36
- Reduce space in serialization. The first 128 bytes will now use just the
...
character and everything above will use \uXXXX. It seems that unserialize
doesn't work at all yet on the U: element so that I added to my to-do list.
2006-03-15 09:50:47 +00:00
Sara Golemon
df77705572
Switch (zstr) casts to use ZSTR() macro.
2006-03-15 00:28:57 +00:00
Sara Golemon
b576354982
More stream updates.
...
fgets() will work now as will anything which calls one of the
_php_stream_get_line() family of functions.
The one exception here is when the legacy defines are used on a unicode
stream. At the moment they'll simply return NULL, I'll update these
to do sloppy conversion in a bit.
'make (u)test' still doesn't work, but it's a different doesn't work.
2006-03-14 21:15:05 +00:00
Antony Dovgal
49ec971d85
add brackets and clarity
2006-03-14 15:14:59 +00:00
Ilia Alshanetsky
24d06926d4
MFB51: Fixed offset/length parameter validation in substr_compare() function.
2006-03-14 14:55:27 +00:00
Derick Rethans
f7bfe18307
This makes file_put_contents() work for:
...
<?php
declare(encoding="latin1");
$a = "1234å67890";
file_put_contents( "/tmp/testuc.1", $a);
file_put_contents( "/tmp/testuc.2", (string) $a);
$context = stream_context_create();
stream_context_set_params($context, array( "output_encoding" => "latin1" ) );
file_put_contents( "/tmp/testuc.3", $a, FILE_TEXT, $context);
file_put_contents( "/tmp/testuc.4", (string) $a, FILE_TEXT, $context);
?>
But it still throws a warning on ".3". It's a small design issue that I
didn't want to touch right now.
2006-03-13 15:01:44 +00:00
Ilia Alshanetsky
fef63cd5e5
MFB51: Added overflow checks to wordwrap() function.
2006-03-13 14:37:32 +00:00
Sara Golemon
48798021b5
Refactor streams layer for PHP6.
...
Don't be frightened by the size of this commit.
A significant portion of it is restoring the read buffer semantics back
to what PHP4/5 use. (Or a close aproximation thereof).
See main/streams/streams.c and ext/standard/file.c for a set of
UTODO comments covering work yet to be done.
2006-03-13 04:40:11 +00:00
Dmitry Stogov
cebd9e8f30
Fixed debug_zval_dump() to support private and protected members
2006-03-10 08:43:14 +00:00
Michael Wallner
9656a34cbc
MFB: Fix bug #36656 (http_build_query generates invalid URIs due to use of square brackets)
2006-03-08 22:04:48 +00:00
Ilia Alshanetsky
27e175eef0
So long safe_mode mode.
...
Also removed the magic_quotes configure option, no longer relevant since
the magic is gone :-).
2006-03-08 14:41:45 +00:00
Pierre Joye
bb1ec86f9d
- remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase
...
(calling ini_set('magic_....') returns 0|false
- get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false
- set_magic_quotes_runtime raises an E_CORE_ERROR
2006-03-08 00:43:32 +00:00
Andrei Zmievski
da831e6e0c
Fix protos to use 'string' for parameters that can be either binary or
...
unicode.
2006-03-06 21:49:21 +00:00
Ilia Alshanetsky
edd7d2a1df
Fixed bug #36630 (umask not reset at the end of the request).
...
# This needs to be MFHed, but since it requires an API break it has to wait
# until the next minor release.
2006-03-06 14:27:45 +00:00
Derick Rethans
72c9d907d3
- And not here either...
2006-03-05 19:02:11 +00:00
Dmitry Stogov
b86007f0e1
ZTS fix
2006-03-03 08:50:25 +00:00
Andrei Zmievski
c5f6efe367
Fix ucwords() to use full case mapping.
...
# Note that this is different from i18n_strtotitle() which uses
# locale-aware word break iterator. The difference is seen here:
#
# $a = "pouvez-vous";
# var_dump(ucwords($a));
# var_dump(i18n_strtotitle($a));
#
# Outputs:
#
# unicode(11) "Pouvez-vous"
# unicode(11) "Pouvez-Vous"
#
2006-03-02 23:12:33 +00:00
Andrei Zmievski
1751241203
- Update protos for Unicode-upgraded functions
...
- Also fix ucfirst() to use full case mapping, so that ß (sharp s)
maps to 'SS' for example
2006-03-02 20:37:07 +00:00
Dmitry Stogov
c366cc6d1a
Nuke int32_t (everywhere except streams layer) and signed/unsigned warnings
2006-03-02 13:12:45 +00:00
Rob Richards
06a4265712
64-bit fixes - ("make test" now works again on these platforms)
2006-03-01 11:19:35 +00:00
Ilia Alshanetsky
d31641e2d8
Parsers for previous patch
2006-02-28 14:46:29 +00:00
Ilia Alshanetsky
1a3bb9f4bd
MFB51: Fixed bug #36459 (Incorrect adding PHPSESSID to links, which
...
contains \r\n).
2006-02-28 14:45:52 +00:00
Dmitry Stogov
e3b7f3fd0d
Unicode support: MS Visual C compatibility
2006-02-26 11:57:14 +00:00
Rasmus Lerdorf
f16846e685
Binary safety patch from Moriyoshi
2006-02-25 21:30:32 +00:00
Ilia Alshanetsky
a9b90524d5
MFB51: Fixed bug #35900 (stream_select() should warning when tv_sec is
...
negative).
2006-02-23 18:28:37 +00:00
Brian France
2eb346cce0
fixed bug #35594 for all systems. "optind = 0" doesn't work on FreeBSD, but "optind = 1" seems to work on all systems (bug #36091 )
2006-02-23 03:48:30 +00:00
Dmitry Stogov
5237a40717
Unicode support: fixed serialization of "Serializable"
2006-02-22 14:20:54 +00:00
Dmitry Stogov
ba8069e77e
Unicode support: fixed serealization of "Serializable" and "IncompleteClass"
2006-02-22 13:47:40 +00:00
Dmitry Stogov
84f0adff86
Unicode support: fixed GLOBALS protection
2006-02-22 13:10:32 +00:00
Dmitry Stogov
b029407078
fixed test file
2006-02-22 12:24:02 +00:00
Dmitry Stogov
36002f16c3
Fixed test file
2006-02-22 12:22:07 +00:00
Dmitry Stogov
0f1209ab3d
Portable unicode string API:
...
- use the same type (int) for zval.value.usr.len and zval.value.str.len
- use union "zstr" as char*/UChar* mixture instead of void*
- Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
- nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Ilia Alshanetsky
fca6eecbe9
MFB51: Fixed bug #36458 (sleep() accepts negative values).
2006-02-21 15:32:34 +00:00
Dmitry Stogov
6e6a84129c
Incorrect usage of Z_TYPE() macro
2006-02-20 17:14:18 +00:00
Dmitry Stogov
5fb11bc86e
Fixed memory corruption
2006-02-20 09:38:47 +00:00
Ilia Alshanetsky
a605fd39c4
More safe_mode nuking
2006-02-19 18:20:51 +00:00
Ilia Alshanetsky
c6ba5765be
Nuke safe_mode
2006-02-19 18:19:33 +00:00
Andi Gutmans
1efe984d08
- Get rid of using ENFORCE_SAFE_MODE.
2006-02-19 04:29:42 +00:00
Andi Gutmans
ac1e7362b3
- More safe_mode nuking
2006-02-19 03:07:39 +00:00
Andi Gutmans
e94e25e621
Start nuking safe_mode. Still a lot of work to do...
2006-02-19 00:55:22 +00:00
Antony Dovgal
77b7b56ab0
improve usleep(): use new param parsing API, check for negative values
...
(related to #36410 )
2006-02-16 10:13:23 +00:00
Dmitry Stogov
09ca61c125
Made server wide switch for unicode on/off (according to PDM).
2006-02-13 10:23:59 +00:00
Ilia Alshanetsky
2fb6ce838b
MFB51: Fixed bug #36351 (parse_url() does not parse numeric paths properly).
2006-02-12 16:40:34 +00:00
Pierre Joye
154bb7c6a7
- MFB:
...
- 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:48:18 +00:00
Andrei Zmievski
f0a9b2d51b
MFB.
2006-02-07 17:54:52 +00:00
Pierre Joye
6a158cf60d
- MFB: #36306 , crc32() result differs on 32-bit and 64-bit platforms
2006-02-07 00:24:56 +00:00
Antony Dovgal
96543b01ad
initialize variables and reduce the number of warnings
2006-02-06 11:28:20 +00:00
Antony Dovgal
8416426488
fix #36242 (Possible memory corruption in stream_select())
2006-02-01 10:31:26 +00:00
Frank M. Kromann
921498e38b
MFB51 Export symbols that will allow building WDDX as shared object
2006-01-28 06:18:18 +00:00
Pierre Joye
d10b1290b2
- #36185 str_rot13(NULL) crash
2006-01-28 00:13:13 +00:00
Ilia Alshanetsky
b031ac3fe4
MFB51: Fixed bug #36148 (unpack("H*hex", $data) is adding an extra
...
character to the end of the string).
2006-01-26 15:48:15 +00:00
Andrei Zmievski
e7752216f4
Use zend_codepoint_to_uchar() macro.
2006-01-25 00:02:23 +00:00
Andrei Zmievski
0fe1845267
eurealloc() should not be used with UBYTES()
2006-01-24 23:09:43 +00:00
Ilia Alshanetsky
dd68ac4c8c
MFB51: Allow get_headers() to return header information even for non-200
...
responses.
2006-01-20 01:40:48 +00:00
Antony Dovgal
04ad1d1462
fix test
2006-01-19 21:27:15 +00:00
Antony Dovgal
c83190514f
couple of pedantic fixes: "static" should be first
2006-01-18 23:55:27 +00:00
Ilia Alshanetsky
f0b0e2cd19
MFB51: Make get_headers() use the default context.
2006-01-18 14:05:28 +00:00
Dmitry Stogov
227295a4f1
Unicode stuff is changed according to decision maden on PDM.
...
Now IS_BINRAY data type is removed and IS_STRING starts behave as IS_BINARY in unicode mode. IS_STRING is incompatible with IS_UNICODE, so ALL functions should be improved to support unicode mode.
2006-01-17 12:18:53 +00:00
Antony Dovgal
38b7befa2e
fix typo
2006-01-16 20:41:00 +00:00
Marcus Boerger
2fe859febb
- Fixed bug #36011
2006-01-14 15:22:19 +00:00
Antony Dovgal
b5fd1c0ec3
add missing ifdefs
2006-01-13 13:04:01 +00:00
Pierre Joye
d7772d5203
- MFB: add php_mkdir_ex
2006-01-13 04:10:32 +00:00
Marcus Boerger
679fa69575
- Add stream filter 'consumed' which can restore the stream position when
...
a stream was read or written through a size changing filter.
2006-01-12 19:23:24 +00:00
Hartmut Holzgraefe
f1ffdfdbb3
typo fix
2006-01-12 15:37:56 +00:00
Ilia Alshanetsky
d2397a9301
MFB51: Fixed bug #35916 (Duplicate calls to stream_bucket_append() lead to
...
a crash).
2006-01-10 16:14:45 +00:00
Antony Dovgal
2e43670647
fix memory corruption (HEAD only)
2006-01-10 10:51:39 +00:00
Ilia Alshanetsky
0618bc66e8
MFB51: Fixed test
2006-01-10 03:18:52 +00:00
Antony Dovgal
0b9213d82b
fix tests
2006-01-06 21:21:09 +00:00
Antony Dovgal
16be5ff45b
fix typo
2006-01-05 20:49:28 +00:00
Andrey Hristov
9be53ac7a5
cast and fix a warning
2006-01-04 22:42:17 +00:00
Rob Richards
13048a3cb5
fix win build
2006-01-04 17:34:44 +00:00
Derick Rethans
648e20c1b6
- New implementation of the sunset algorithm. Fixes bugs #33789 , #33671 , #32820
...
and #30937 .
#- Didn't add it to news yet, as we'll merge this to PHP 5.1.x (just need to
# wait for Ilia to approve it for 5.1.2).
2006-01-04 12:57:04 +00:00
Derick Rethans
223aa7294d
- Added the lchown() and lchgrp() functions which change permissions and group
...
permissions on symbolic links.
#- We'll also add this to PHP 5.1.3? or PHP 5.2, so I didn't add it to NEWS.
2006-01-04 12:22:23 +00:00
foobar
399f8ae675
fix build
2006-01-01 17:28:25 +00:00
foobar
251c5173fd
bump year and license version
2006-01-01 13:10:10 +00:00
Ilia Alshanetsky
821e0586df
MFB51: Fixed bug #35817 (unpack() does not decode odd number of hexadecimal
...
values)
2005-12-28 20:56:22 +00:00
Antony Dovgal
64d9c70e4c
tweak the fix
2005-12-27 23:27:02 +00:00
Antony Dovgal
38722a19c1
add test for #35821
2005-12-27 22:35:18 +00:00
Antony Dovgal
41973d8969
MF51: fix #35821 (array_map() segfaults when exception is throwed from the callback)
2005-12-27 22:33:40 +00:00
Antony Dovgal
fbe210b8b5
add new test
2005-12-26 15:15:10 +00:00
Antony Dovgal
1c7661a301
MFB: fix #35781 (stream_filter_append() can cause segfault)
2005-12-23 15:05:42 +00:00
Antony Dovgal
ddf87742ec
change -o to || to be more portable
2005-12-22 11:02:51 +00:00
Antony Dovgal
8f5f3d8408
MFB: add test for #35740
2005-12-20 09:52:05 +00:00
foobar
f5318a9530
touch with re2c 0.9.11
2005-12-18 19:54:50 +00:00
Marcus Boerger
25052ff3af
- MFB
2005-12-16 23:21:38 +00:00
Marcus Boerger
927016e154
- MFB Fix zend_is_callable() usage
2005-12-16 22:26:43 +00:00
Antony Dovgal
c9ae9cd47e
MF51: fix #35713 (getopt() returns array with numeric strings when passed options like '-1')
...
TODO:
make getopt() unicode aware
2005-12-16 20:50:38 +00:00
Antony Dovgal
f39eed623d
MF51: fix test, add new one
2005-12-16 15:52:54 +00:00
Antony Dovgal
90b95eeb23
fix #35690 (pack() tries to allocate huge memory block when packing float values to strings)
2005-12-15 22:14:25 +00:00
Antony Dovgal
41fad0ad77
fix spelling and #35665
2005-12-14 00:54:04 +00:00
Ilia Alshanetsky
a13a4487a4
MFB51: Fixed bug #35629 (crash in http:// wrapper on multiple redirects).
2005-12-12 05:04:43 +00:00
Antony Dovgal
749c6e3016
fix #35617
...
no need to separate zvals twice
2005-12-09 22:26:39 +00:00
Antony Dovgal
b0a7b43a55
MF51: fix wrong macro usage
2005-12-09 18:53:54 +00:00
Dmitry Stogov
7810872573
Support for 64-bit platforms
2005-12-09 13:41:06 +00:00
Ilia Alshanetsky
331b7d7b27
MFB51: Fixed bug #35594 (Multiple calls to getopt() may result in a crash).
2005-12-08 03:25:42 +00:00
Ilia Alshanetsky
34701f23eb
MFB51: Fixed bug #34359 (Possible crash inside fopen http wrapper).
2005-12-08 02:53:34 +00:00
Dmitry Stogov
ce89a8831e
Fixed tests
2005-12-07 15:19:30 +00:00
Dmitry Stogov
25d6294650
Fixed test
2005-12-07 14:32:42 +00:00
Dmitry Stogov
5bb71a7871
Fixed sleep() magic method with private and protected members
2005-12-07 09:41:22 +00:00
Sara Golemon
d34df75ee1
Block potential segfault.
...
Context option type not checked for "user_agent","header", and "content"
2005-12-06 19:13:27 +00:00
foobar
0ac2b74b0b
- Nuke php3 legacy
2005-12-05 22:53:34 +00:00
foobar
c297b31a52
- Nuke php3 legacy
2005-12-05 22:21:12 +00:00
Ilia Alshanetsky
9e9a8eb837
MBF51: load proper header file
2005-12-05 04:23:17 +00:00
Ilia Alshanetsky
5e2bdfcfcc
MFB51: Added tests for new parse_url() and http_build_query() functionality.
2005-12-04 17:58:53 +00:00
Dmitry Stogov
feaa2501d0
Fixed bug #34729 (Crash in ZTS mode under Apache)
2005-12-01 11:49:51 +00:00
Ilia Alshanetsky
667a9b9bce
MFB51: Fixed bug #35425 (idate() function ignores timezone settings).
2005-11-29 20:27:21 +00:00
Ilia Alshanetsky
7f66777bbf
MFB51: Fixed bug #35427 (str_word_count() handles '-' incorrectly).
2005-11-29 16:14:47 +00:00
Dmitry Stogov
4192685b64
Fixed bug #35393 (changing static protected members from outside the class, one more reference issue)
2005-11-28 14:33:44 +00:00