Commit Graph

6003 Commits

Author SHA1 Message Date
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Arnaud Le Blanc
c6e1b8bc67 MFH: Added stream_cast() and stream_set_options() to user-space stream
wrappers, allowing stream_select(), stream_set_blocking(),
stream_set_timeout() and stream_set_write_buffer() to work with user-space
stream wrappers.
Will document.
2008-11-15 12:52:13 +00:00
Arnaud Le Blanc
3b9fce6246 MFH: Fix proto line 2008-11-14 06:00:48 +00:00
Stanislav Malyshev
2a5079e64c [DOC] Add option for error_log to send directly to SAPI logger 2008-11-13 18:48:25 +00:00
Arnaud Le Blanc
8c4151ad72 Added header_remove() (chsc at peytz dotdk, Arnaud)
[DOC] proto void header_remove([string header_name])
      Removes an HTTP header previously set using header()
      The header_name parameter is optionnal, all headers are
      removed if it is not set

[SAPIs] The header_handler callback in sapi_module_struct has
           been changed, it now take a new argument.

           When it is set to SAPI_HEADER_DELETE, sapi_header->header is
           the name of an header, header_handler has to delete it.

           When it is set to SAPI_HEADER_DELETE_ALL, header_handler has
           to delete all headers.

           When sapi_header_op_enum is SAPI_HEADER_ADD or _REPLACE,
           sapi_header->header is in the form "Name: value", header_handler
           has to add or replace the given header.

           In all cases, header_handler must not free sapi_header or
           sapi_header->header. SAPI_HEADER_ADD must be returned if the
           header has been added or replaced, or 0 in other cases.
2008-11-13 10:14:04 +00:00
Arnaud Le Blanc
06119f4748 MFH: Added stream_context_get_params() 2008-11-13 05:47:47 +00:00
Arnaud Le Blanc
e13a4238e5 MFH: Fixed stream_get_contents() when using $maxlength and socket is not
closed. indeyets@php.net on #46049.
2008-11-11 01:55:51 +00:00
Arnaud Le Blanc
f6345133b3 MFH: Fixed bug #44818 (php://memory writeable when opened read only) 2008-11-11 00:44:55 +00:00
Arnaud Le Blanc
2276e85f13 MFH: Added parse_ini_string() function (grange at lemonde dot fr, Arnaud)
[DOC] new function parse_ini_string()
      proto array parse_ini_string(string ini_string
          [, bool process_sections [, int scanner_mode]])
      Same as parse_ini_file() except that it takes a string instead of a
      filename.
2008-11-05 21:35:02 +00:00
Kalle Sommer Nielsen
9b3ab1c67a MFH: New tests for syslog 2008-11-05 09:58:51 +00:00
Arnaud Le Blanc
9b0d76d585 Open STDIN and php://stdin streams with the relevant
wrapper when the file descriptor is a socket (inetd, etc)
Fixes bug #43731
2008-11-04 21:05:31 +00:00
Felipe Pena
358ecee529 - Fixed tests 2008-11-04 17:50:30 +00:00
Arnaud Le Blanc
d441b5db5b MFH: Fixed stream_get_line() to behave as documented on non-blocking
streams
2008-11-04 17:05:55 +00:00
Arnaud Le Blanc
55ccadecbe MDH: Avoids fclose() from complaining that stream_socket_pair() streams
have not been closed
2008-11-04 16:46:03 +00:00
Marcus Boerger
7126de4912 - Next step in namespaces, using / as namespace separator. 2008-11-04 15:58:55 +00:00
Arnaud Le Blanc
55e7b35e6b MFH: Fixed bug #46024 (stream_select() doesn't return the correct number) 2008-11-04 00:42:41 +00:00
Arnaud Le Blanc
7fc9c9e429 cleanup 2008-11-03 23:34:26 +00:00
Arnaud Le Blanc
8e220d99df MFH: Fixed bug #44607 (stream_get_line unable to correctly identify the
"ending" in the stream content)
2008-11-03 23:29:17 +00:00
Arnaud Le Blanc
de29f4161f MFH: Fixed bug #45303 (Opening php:// wrapper in append mode results
in a warning)
2008-11-03 16:58:53 +00:00
Arnaud Le Blanc
0a2bfc7968 MFH: Fixed bug #43353 (wrong detection of 'data' wrapper causes notice) 2008-11-03 15:47:31 +00:00
Felipe Pena
7e25733927 - MFH: Fixed bug #42855 (dns_get_record() doesn't return all text from TXT record)
patch by: misc at e2007 dot cynergi dot com
2008-11-03 11:35:11 +00:00
Arnaud Le Blanc
b3d0514b6f Fixed bug #44575 (parse_ini_file comment # line problems)
[DOC] parse_ini_file(): comments starting with # are deprecated in PHP 5.3
      (comments starting with ; should be used instead)
2008-11-02 23:36:10 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felipe Pena
8f12025b21 - MFH: Added str_getcsv() 2008-11-02 18:24:34 +00:00
Felipe Pena
16bce25da2 - Fixed memory leak when using offset out of range. (php_stream_copy_to_mem returns 0, but the empty string is alloced) 2008-10-30 15:53:18 +00:00
Felipe Pena
1eb552a712 - Fix the fix
- Improved test
2008-10-30 14:34:25 +00:00
Felipe Pena
bfa5404e90 - MFH: Fixed bug #46426 (3rd parameter offset of stream_get_contents not works for "0") 2008-10-30 10:09:22 +00:00
Ilia Alshanetsky
22f3c8b05b Fixed bug #42294 (Unified solution for round() based on C99 round)
[DOC] New implementation of round() to work-around inconsistencies for win32
and 64 bit platforms.

This solution is very roughly based on BSD's implmentation of round(), which
itself is an implementation of C99 standard. We take the absolute value of number
we want to round time the 10 to the power of the number of decimal spaces we are
rounding to. The resulting value is rounded up and the pre-rounded value is
subtracted from it. If the difference is greater then 0.5000000001 we round up,
otherwise we round down.
2008-10-29 20:03:34 +00:00
Sanjay Mantoor
b73113d644 New testcases for array_intersect_uassoc function 2008-10-28 10:24:41 +00:00
Felipe Pena
5d804d163a - MFH: Fixed bug #46388 (stream_notification_callback inside of object destroys object variables) 2008-10-26 13:25:06 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Felipe Pena
ff8246ff6e - MFH: Removed unnecessary check for array (#46273, noticed by serovov at gmail dot com) 2008-10-24 10:28:29 +00:00
Sanjay Mantoor
5a37a48082 New PHP testcases for array_diff_ukey function 2008-10-22 05:53:36 +00:00
Arnaud Le Blanc
d69dfa4b9f MFH: initialize optional vars 2008-10-21 22:08:38 +00:00
Alexey Zakhlestin
575ba83c0b skip tests on systems without fnmatch() function (f.e.: old darwin) 2008-10-21 13:38:18 +00:00
Alexey Zakhlestin
a7730c9c8c these tests work just fine on macos-x 2008-10-21 12:45:35 +00:00
Kalle Sommer Nielsen
9de7506f8e Use PHP_DEP_FE instead of throwing an E_DEPRECATED manually inside define_syslog_variables() (Thanks Hannes!) 2008-10-16 23:19:13 +00:00
Felipe Pena
c0c9fb9def - Revert 2008-10-16 13:00:27 +00:00
Alexey Zakhlestin
e06765b9c5 Fixed compilation warnings: tsrm_ls is not used here (anymore?) 2008-10-16 11:59:37 +00:00
Kalle Sommer Nielsen
12bd1eae9f [DOC] Deprecate define_syslog_variables() in 5.3 2008-10-15 18:41:57 +00:00
Arnaud Le Blanc
8ad19e1801 MFH: Fixed #46164 (stream_filter_remove() closes the stream) 2008-10-05 01:40:19 +00:00
Mikko Koppanen
e3c65a369f Adds signal handling around popen/pclose in mail.c.
Related information on bugs #8992 and #14032
Original patch by D. Parthey
2008-10-03 13:32:41 +00:00
Antony Dovgal
97e667d250 MFH: use HashPosition to prevent race condition in multithreaded env 2008-10-02 08:46:16 +00:00
Scott MacVicar
f37e905b8c MFH: Fix bug #46209 - Remove license condition that is no longer required. 2008-10-01 11:03:15 +00:00
Sanjay Mantoor
55039a95fd New testcases for array_diff_uassoc() function 2008-09-26 11:53:48 +00:00
Nuno Lopes
8a77e55566 clean some dead code (with static analysis help) 2008-09-23 15:18:26 +00:00
Antony Dovgal
86660c69b7 MFH 2008-09-16 14:36:27 +00:00
Antony Dovgal
bbbb0f1ae5 fix test 2008-09-16 13:41:34 +00:00
Dmitry Stogov
1474d9dfad Fixed bug #43053 (Regression: some numbers shown in scientific notation). (int-e at gmx dot de)
some 64bit test files may need to be fixed
2008-09-15 11:47:16 +00:00
Felipe Pena
b861898fc7 - MFH: Fixed unexpected zval changes 2008-09-12 01:14:14 +00:00
Lars Strojny
fc9c3a17c6 MFH: prev()-tests by Iain Lewis <ilewis@uk.ibm.com> 2008-09-11 18:21:37 +00:00
Sanjay Mantoor
49eba8cb23 Fixed expected output 2008-09-11 11:21:53 +00:00
Sanjay Mantoor
313728200d New testcases for array_intersect_key() function 2008-09-11 10:48:12 +00:00
Stanislav Malyshev
530ffde4fd add some windows-style INI entries to tests 2008-09-11 00:34:48 +00:00
Felipe Pena
0c745885ca - Fixed some wrong format parameters 2008-09-08 01:33:08 +00:00
Felix De Vliegher
d411698211 Tests for get_browser() 2008-09-06 23:20:15 +00:00
Pierre Joye
5ec35396e0 - MFH: #45985, touch on opened file raises a warning 2008-09-04 08:05:27 +00:00
Jani Taskinen
80f8ad97fb MFH:- Fixed bug #45956 (parse_ini_file() does not return false with syntax errors in parsed file) 2008-08-31 00:19:50 +00:00
Jani Taskinen
59aac03d5b update credits 2008-08-31 00:02:31 +00:00
Jani Taskinen
5bdff73b26 MFH: - Move tests to the correct dir 2008-08-30 23:22:27 +00:00
Dmitry Stogov
78d28494ca Fixed bug #45706 (Unserialization of classes derived from ArrayIterator fails) 2008-08-29 14:59:20 +00:00
Antony Dovgal
740ba5ac0a MFH: fix get_browser() (broken in the process of param API conversion) 2008-08-29 14:14:09 +00:00
Felipe Pena
b8541928cb - Fixed tests 2008-08-29 14:10:38 +00:00
Felipe Pena
42feeddd40 MFH:
- Removed the undocumented object support in the leftover array functions [DOC]
  (natcasesort, natsort, array_walk, array_walk_recursive, array_unique, array_key_exists)
- Changed HASH_OF() to Z_ARRVAL_P()
- Fixed bug #45937 (array_walk and array_walk_recursive can alter private/protected object variable)
2008-08-29 03:05:43 +00:00
Felipe Pena
9dda408624 - New test 2008-08-25 19:38:37 +00:00
Pierre Joye
d161d4b3b3 - and the last part of the fix, inline on win 2008-08-25 14:37:07 +00:00
Jani Taskinen
3b714ee113 MFH: fix build on win32 2008-08-25 14:10:38 +00:00
Jani Taskinen
505ad55773 MFH 2008-08-25 13:42:55 +00:00
Jani Taskinen
f1e4ae0867 MFH 2008-08-25 12:15:05 +00:00
Pierre Joye
566a02af26 - MFH: fix build 2008-08-23 21:08:09 +00:00
Pierre Joye
37a37d8743 - MFB: fix build (common inline definition will be done later) 2008-08-23 20:42:18 +00:00
Pierre Joye
8b952208ec - keep inet_aton declaration on non windows (what inet_aton has to do with flock?) 2008-08-23 20:21:08 +00:00
Pierre Joye
2620304003 - MFH:
- drop bindlib usage on windows
 - inet_pton, inet_ntop and inet_aton are always available (VC9 uses the CRT implementation, VC6 our own)
2008-08-23 19:22:10 +00:00
Arnaud Le Blanc
569ea28207 MFH: Fix build on solaris 2008-08-23 13:57:19 +00:00
Pierre Joye
a7d2377ce4 - MFH: use date.timezone ini setting 2008-08-21 18:36:56 +00:00
Pierre Joye
a9b8b3698b - MFH: use date.timezone ini setting instead of ENV 2008-08-21 18:33:21 +00:00
Pierre Joye
8c6ea95dc3 - MFH: fix test on windows 2008-08-21 18:25:13 +00:00
Marcus Boerger
41282aa813 - MFH Fix 64bit issue 2008-08-21 16:55:45 +00:00
Pierre Joye
db31f78801 - MFH: different parser message on windows 2008-08-21 13:05:10 +00:00
Pierre Joye
050e5579f8 - MFH: "fix" crash on windows 2008-08-21 12:38:47 +00:00
Pierre Joye
a6b21d3c98 - new API
- MFH: use 'C' on win
2008-08-21 12:25:07 +00:00
Pierre Joye
527e3a339c - MFH: don't skip if windows matches 2008-08-21 12:13:50 +00:00
Pierre Joye
979d3abbd8 - new params parsing API
- use "C" instead of ""
2008-08-21 12:05:30 +00:00
Dmitry Stogov
7d26893d6d Adder error code into error message 2008-08-21 11:27:57 +00:00
Pierre Joye
8d45abb514 - MFH: skip 007 on non windows platform and add a win specific version (file not found instead of filename too long) 2008-08-21 11:01:55 +00:00
Pierre Joye
9d7904932f - MFH: make it portable and clean on in the clean section, session file may still be open (can't be deleted) 2008-08-21 10:30:49 +00:00
Pierre Joye
f1ebec34d9 - MFH: make it portable 2008-08-21 09:43:51 +00:00
Antony Dovgal
a30c01d698 revert for now 2008-08-21 08:37:19 +00:00
Pierre Joye
bb62bf8234 - +skip 2008-08-21 08:30:51 +00:00
Pierre Joye
72482c4f7d - skip on windows (setlocale can even crash on win+VC6...) 2008-08-21 08:27:04 +00:00
Antony Dovgal
898f19975c fix build 2008-08-21 07:38:16 +00:00
Pierre Joye
50066470cd - MFH: work around vc6 bug 2008-08-20 22:23:16 +00:00
Lars Strojny
50fa64885e Reverting local change 2008-08-20 21:26:04 +00:00
Lars Strojny
080157870f MFH: Allow mixed $initial (patch by Christian Seiler) 2008-08-20 20:35:40 +00:00
Pierre Joye
818c4d75c8 - strncpy returns the byte copied not error code or 0 2008-08-20 13:27:10 +00:00
Pierre Joye
2cde8f416a - new args parsing API and correct LOCALE definition (why utf-8 when only ascii is tested) 2008-08-20 13:09:39 +00:00
Antony Dovgal
e7a28edcba fix warning 2008-08-20 09:01:24 +00:00
Antony Dovgal
9453a9213c MFH: fix memleak in browscap code (noticed by Gopal) 2008-08-19 15:16:33 +00:00
Antony Dovgal
881d80382b MFH: shutdown crypt correctly and fix memleak in ZTS mode 2008-08-19 15:14:46 +00:00
Pierre Joye
80d020011c - don't use /tmp as tmpdir and avoid endless loop when fopen or tmpnam failed 2008-08-18 21:24:52 +00:00
Pierre Joye
04c09fac0f - MFH: new parameter API error 2008-08-18 18:10:50 +00:00
Jani Taskinen
e2451b6825 MFH: fix include 2008-08-18 10:49:59 +00:00
Dmitry Stogov
5ade84afe4 Fixed bug #45835 (include and symlinks) 2008-08-18 10:28:17 +00:00
Dmitry Stogov
7523bb7fc2 Reverted wrong "fix" 2008-08-18 09:21:15 +00:00
Pierre Joye
85309f686a - MFH: this change was not part of the env patch 2008-08-18 07:50:10 +00:00
Pierre Joye
7d1cd6a94b - unix is too young (<1970), make the test portable 2008-08-18 07:19:39 +00:00
Pierre Joye
a87a90873c - [DOC] MFH: make putenv behaves like unix putenv on Windows:
.  FOO=1234 => set FOO to 1234
 .  FOO= => set FOO to an empty string
 .  FOO= => unset FOO
 . Use Set/GetEnvironmnent variable only
2008-08-18 07:11:00 +00:00
Arnaud Le Blanc
e104699a5d MFH: Fix tests (closes #45841) 2008-08-18 04:45:49 +00:00
Moriyoshi Koizumi
0699894884 - MFH: beware of signedness 2008-08-18 03:26:21 +00:00
Felipe Pena
252d7d76a8 - MFH: New parameter parsing API 2008-08-17 22:14:14 +00:00
Arnaud Le Blanc
dee3bb2371 MFH: Allow underscore at start of labels as underscore has no meaning here
(fixes #44842)
2008-08-17 21:55:26 +00:00
Pierre Joye
3dd3da7c72 - MFH: add %a for Compiler/Architecture 2008-08-17 16:44:13 +00:00
Pierre Joye
61c4fee6b0 - [DOC] MFH: improve fix for #43261 for % and " 2008-08-17 15:23:45 +00:00
Pierre Joye
59bed16665 - MFH: typo and inline doc fix 2008-08-17 14:32:41 +00:00
Pierre Joye
b5e6d487d1 - MFH: fix test (portable), use . as basedir and create the tmp dir in the test directory 2008-08-17 13:07:39 +00:00
Pierre Joye
88b2019477 - fix or improve tests
- add dump of the array_diff for compare_stats
2008-08-17 11:04:16 +00:00
Felipe Pena
0dbc79339c - New parameter parsing API (zend_get_parameters_array_ex--)
- Fixed tests
2008-08-16 21:32:41 +00:00
Pierre Joye
56035785a5 - MFH: remove confusion for non windows/linux users 2008-08-16 13:28:12 +00:00
Hannes Magnusson
59463c54ce Fix arginfo
# Yes Jani, it is correct in HEAD :)
2008-08-16 11:11:46 +00:00
Hannes Magnusson
eea3226d58 MFH: [DOC] Added stream_context_set_default() function. (Davey Shafik) 2008-08-16 10:57:56 +00:00
Pierre Joye
bb4eacb773 - wrong file commited (and fix test, thx Tony for the head up) 2008-08-16 10:54:17 +00:00
Pierre Joye
5bf4d72487 - MFH: make it portable without loosing pertinent data 2008-08-15 19:33:56 +00:00
Pierre Joye
32546c9390 - MFH: make it portable without loosing pertinent data 2008-08-15 19:26:37 +00:00
Pierre Joye
9bdfe83e0c -MFH:
- fix test
 - add debug build mode (crt outputs callback for invalid parameters)
2008-08-15 19:01:42 +00:00
Pierre Joye
e4e8f33716 - fix test 2008-08-15 17:00:27 +00:00
Pierre Joye
6d41937081 - MFH: New parameter parsing API > new warning 2008-08-15 16:51:23 +00:00
Dmitry Stogov
628bc1f927 Fixed possible infinity loop in tests 2008-08-15 09:27:27 +00:00
Jani Taskinen
d07b7fbf70 MFH: fix tests 2008-08-14 23:44:29 +00:00
Jani Taskinen
803f3011c6 MFH 2008-08-14 23:29:13 +00:00
Jani Taskinen
0b4e014888 - Fix test: Do not leave your crap behind! 2008-08-14 23:25:44 +00:00
Jani Taskinen
ec8318b438 MFH: fix test 2008-08-14 20:33:35 +00:00
Jani Taskinen
e2571e66a5 - Something moved out -> update credits! 2008-08-14 19:21:39 +00:00
Antony Dovgal
a61c0c8414 MFH: add quoted_printable_encode() 2008-08-14 10:12:21 +00:00
Antony Dovgal
9e7d254f68 fix build
compile before commit?
2008-08-14 09:41:16 +00:00
Antony Dovgal
a2059930aa fix folding 2008-08-14 09:29:22 +00:00
Kalle Sommer Nielsen
b27d8ccda7 MFH: Fix arginfo for nl2br 2008-08-14 09:27:33 +00:00
Kalle Sommer Nielsen
fcf11ba65e MFH: Implemented feature request #34381 (nl2br() should have an option for XHTML/HTML compatible BR element) 2008-08-14 02:56:23 +00:00
Jani Taskinen
e5e6f553a2 MFH 2008-08-13 00:53:28 +00:00
Felipe Pena
9f3cb0ecb3 - Fixed test 2008-08-12 19:53:50 +00:00
Felipe Pena
318efa7f10 - New parameter parsing API (for fscanf) 2008-08-12 19:38:54 +00:00
Pierre Joye
eae2c5390d - MFH: update test after php's portable realpath change (filename/ is not valid anymore) 2008-08-12 13:05:17 +00:00
Pierre Joye
01dca9a7f4 - MFH: not supported on windpws 2008-08-12 11:56:09 +00:00
Josie Messa
ce5c43a1ed - Committing new array_diff_key tests for Sanjay Mantoor 2008-08-12 11:01:59 +00:00
Arnaud Le Blanc
a12b6846e5 MFH: clear stat cache in chroot() 2008-08-11 23:14:36 +00:00
Arnaud Le Blanc
6e20eba4f4 MFH: Fixed #45181 (chdir() should clear relative entries in stat cache) 2008-08-11 22:38:31 +00:00
Arnaud Le Blanc
de24949cce MFH: Check the relevant path for open_basedir in symlink() 2008-08-11 15:30:44 +00:00
Pierre Joye
4d47ccb963 - MFH: skip on windows, chgrp not supported 2008-08-11 13:30:06 +00:00
Pierre Joye
7023ed85d7 - [DOC] MFH: detect if dest is a dir (if the given stream layer supports stat)
and fails
 . remove win32 specific test. The errors are not the same
2008-08-11 13:11:31 +00:00
Pierre Joye
b9536062a8 - remove and add again as text not binary 2/2 2008-08-11 12:20:42 +00:00
Pierre Joye
a37c895917 - remove and add again as text not binary 1/2 2008-08-11 12:20:24 +00:00
Pierre Joye
a291e00be6 - MFH: make it platform independent (/ vs \) 2008-08-11 11:52:10 +00:00
Felipe Pena
ef2489f6e7 - MFH: New parameter parsing API (for *printf()) 2008-08-10 21:49:01 +00:00
Pierre Joye
1804a397e6 - debugbreak may not be desired (harmless in release mode :) 2008-08-10 21:42:48 +00:00
Pierre Joye
9b14a298a1 - MFH: fix the VC6 fix or strncpy_s (md5 crypt failed with VC9 as it used strncpy wrongly) 2008-08-10 21:34:26 +00:00
Felipe Pena
f2fc267e3a - MFH: New parameter parsing API (for min() and max()) 2008-08-10 17:50:44 +00:00
Pierre Joye
c269ad9173 - MFH: fix string len 2008-08-10 14:15:53 +00:00
Arnaud Le Blanc
71e50de4fc MFH: Fixed bug #45581 (htmlspecialchars() double encoding &#x hex items) 2008-08-10 13:26:13 +00:00
Arnaud Le Blanc
4cf7d9bf6f MFH: Fixed test 2008-08-10 12:05:00 +00:00
Arnaud Le Blanc
f1917e104b MFH:
Do not expand $target in symlink(). This made it impossible to symlink to a
symlink. This also caused the target to be wrongly expanded relatively to
the CWD when target was not an absolute path.
2008-08-10 11:54:41 +00:00
Antony Dovgal
d9e29376f8 disable the test on AIX 2008-08-09 22:35:24 +00:00
Antony Dovgal
a00ca091eb fix typo 2008-08-09 21:02:38 +00:00
Hannes Magnusson
b5ace4565f MFH: Fix build on FreeBSD4.11 (bug#45757) 2008-08-08 08:20:27 +00:00
Felix De Vliegher
c94f8b4a1c Basic and error tests for stream_filter_remove() 2008-08-07 22:31:10 +00:00
Nuno Lopes
a8ec29310f upgrade to PCRE (i.e. get ride of ereg usage) 2008-08-07 12:50:17 +00:00
Arnaud Le Blanc
c93fbf629b MFH:
Added clear_realpath_cache and filename parameters to clearstatcache() (Jani,
Arnaud)
[DOC] clearstatcache() now defaults to not affect the realpath cache.
clearstatcache() now takes two optionnal parameters, clear_realpath_cache to
clear the realpath cache (defaults to false), and filename to clear only the
given filename from the cache.
2008-08-07 09:25:33 +00:00
Antony Dovgal
53a957e5f8 MFH: fix bug #45712 ($something == NaN returns true with 5.3, false with 5.2.*) 2008-08-07 08:36:24 +00:00
Johannes Schlüter
5e06d51ea2 - litespeed was merged from HEAD 2008-08-06 02:37:17 +00:00
Stanislav Malyshev
4bd1aec2f9 fix memnstr bug, by Laurent Gaffie 2008-08-05 20:14:27 +00:00
Jani Taskinen
a032e1a514 MFH:- Add test for bug #45712 2008-08-05 12:36:47 +00:00
Arnaud Le Blanc
cb9dad9d1a MFH: Fixed test 2008-08-05 10:10:39 +00:00
Jani Taskinen
b17dc14f18 MFH: nuketh C++ comments 2008-08-03 12:15:55 +00:00
Arnaud Le Blanc
5eb7ed7316 Allow urlencode()d filer names in php://filter 2008-08-02 06:35:41 +00:00
Felipe Pena
e304515ddb - MFH: Added parameter TSRMLS_DC in zend_is_callable() 2008-08-02 04:46:07 +00:00
Johannes Schlüter
b9f7b21ec1 MFH (DOC] Add array_replace/array_replace_recursive (Mett Wilmas) 2008-07-31 20:18:17 +00:00
Olivier Hill
d247a23188 Fix regression issue 2008-07-31 14:20:40 +00:00
Pierre Joye
acd17a85dc - MFH: missing in the previous crypt commit (shutdown frees the locking mechanism) 2008-07-29 17:28:41 +00:00
Arnaud Le Blanc
738346fd92 MFH: Fixed previous fix 2008-07-29 13:57:43 +00:00
Scott MacVicar
e30b104148 Fix build where __const is already defined like OS X. 2008-07-29 01:20:28 +00:00
Arnaud Le Blanc
0f9026daf9 MFH: When automatically redirecting an HTTP request, use the GET method when the
original method was not HEAD or GET (fixes #45540)
#
# The RFC says that in case of 3xx code, "The action required MAY be
# carried out [...] *only if the method used in the second request is GET or
# HEAD*".
#
# This may not break anything as actually POST requests replying
# with a Location header never worked as the redirecting request was sent using
# the POST method, but without Entity-Body (and without Content-Length header,
# which caused the server to reply with a "411 Length Required" or to treat
# the request as GET).
#
2008-07-28 19:08:02 +00:00
Elizabeth Marie Smith
49aa0feaae Secure versions of string functions don't exist for VC6 2008-07-28 16:43:51 +00:00
Pierre Joye
d4b0beb322 - MFH: vc6 is picky about brackets when used with a defined type... 2008-07-28 16:33:17 +00:00
Pierre Joye
1e820eca02 -MFH:
- #45430, windows implementation of crypt is not TS
 - add Blowfish (using implementation from Solar Designer <solar at openwal dot com>) and extended DES support
 - Make crypt features portable:
   - if no crypt_r, php's implemetation is used (all algo and TS), php can't be used with unsafe crypt anymore
   - if one algo is missing, php's implemetation is used
   - Windows always use php's implementation
 - removed old code in windows/
2008-07-28 11:50:35 +00:00
Jani Taskinen
0bc9577588 update credits 2008-07-26 22:19:41 +00:00
Dmitry Stogov
af05ce0af6 Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B" 2008-07-26 13:14:04 +00:00
Jani Taskinen
bdf5b7bdba Update credits 2008-07-25 09:13:24 +00:00
Michael Wallner
15da8367c4 - Changed HTTP stream wrapper to accept any code between and including
200 to 399 as successful. (patch by Noah Fontes)
2008-07-25 08:27:37 +00:00
Felipe Pena
0fbe6a0c14 - MFH: Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments. 2008-07-24 19:52:24 +00:00
Felipe Pena
44f1ef210d - MFH: New parameter parsing API 2008-07-24 12:49:11 +00:00
Dmitry Stogov
feb8580166 LSB parent/self forwarding 2008-07-24 09:42:18 +00:00
Felipe Pena
a1ce847cd5 - MFH: Improved parameter handling 2008-07-24 03:07:22 +00:00
Lars Strojny
6579ba27a6 array_intersect_ukey tests by Sanjay Mantoor 2008-07-23 20:37:23 +00:00
Felipe Pena
0bbed66ede - MFH: New parameter parsing API 2008-07-23 19:34:35 +00:00
Felipe Pena
a2cc7ec96a - MFH: Fixed bug #45605 (array_uintersect_assoc gives incorrect error message) 2008-07-23 16:28:46 +00:00
Jani Taskinen
12c066136b MFH: Fix test (bug #44985) 2008-07-23 14:15:19 +00:00
Antony Dovgal
28a22396d4 MFH: invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE 2008-07-23 11:25:14 +00:00
Antony Dovgal
16ace1828e fix test 2008-07-23 10:26:45 +00:00
Antony Dovgal
c4b8d7149f fix test 2008-07-23 09:29:21 +00:00
Arnaud Le Blanc
f11ae4d440 MFH: Fix test: use canonical name to avoid problems with domain search path 2008-07-23 08:27:17 +00:00
Scott MacVicar
8d3bfaa01f Fix windows build error. 2008-07-22 21:53:53 +00:00
Scott MacVicar
d8d69652dd MFH: Add test for escapeshellcmd and restore previous behaviour with stripping % on Windows. 2008-07-22 16:21:16 +00:00