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