Commit Graph

22387 Commits

Author SHA1 Message Date
Johannes Schlüter
1ece804688 MFH: Fix mysql_fetch_* and tests after param parsing changes 2008-12-01 21:20:47 +00:00
Iain Lewis
91ce2d5963 Adding tests for array_multisort 2008-12-01 16:42:13 +00:00
Felipe Pena
8d161f97cd - MFH: Fixed memory leak 2008-12-01 12:27:35 +00:00
Ant Phillips
ee934d356b Exif tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-01 12:25:21 +00:00
Ant Phillips
5eaaf3843f DOM tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-01 11:30:10 +00:00
Dmitry Stogov
1a3f557b1a Fixed bug #43069 (SoapClient causes 505 HTTP Version not supported error message) 2008-12-01 09:49:58 +00:00
Pierre Joye
bc192e183d - c/p fix, correct description 2008-12-01 00:02:37 +00:00
Pierre Joye
f16120e883 - MFB: Enable fix fo #42862 (IMAP toolkit crash: rfc822.c legacy routine buffer overflow) on windows (we use the latest imap) 2008-11-30 23:59:39 +00:00
Ilia Alshanetsky
fdc286abee Fixed bug #46711 (cURL curl_setopt leaks memory in foreach loops). 2008-11-30 17:30:50 +00:00
Hannes Magnusson
97f64c3957 Fix arginfo 2008-11-30 00:23:06 +00:00
Hannes Magnusson
ad672f1a93 MFH: Fix proto 2008-11-30 00:12:29 +00:00
Felipe Pena
63f6f500a7 - Fixed tests 2008-11-29 22:45:48 +00:00
Sebastian Bergmann
2f49305bc8 MFH: Fix #46718: ReflectionProperty::setValue() and ReflectionProperty::setAccessible(). 2008-11-29 15:58:54 +00:00
Stanislav Malyshev
f1056a827c MFB: init BG(page_uid) and BG(page_gid) 2008-11-29 00:44:33 +00:00
Johannes Schlüter
a022cd1d5e MFH: Change to zend_parse_parameters 2008-11-28 20:38:20 +00:00
Johannes Schlüter
cfc3bfdabb MFH: New param parsing for ext/mysql 2008-11-28 20:23:49 +00:00
Zoe Slattery
f5e46d5b15 Committing include files required for tests. Tests and bug reports to follow. 2008-11-28 17:40:14 +00:00
Felipe Pena
9983e2689a - MFH: Fixed memory leaks in createFunction and createAggregate methods 2008-11-28 15:37:02 +00:00
Johannes Schlüter
836dd82c8e MFH: No infinite loop in case the connection broke 2008-11-28 14:38:03 +00:00
Dmitry Stogov
9190796120 Fixed bug #41534 (SoapClient over HTTPS fails to reestablish connection) 2008-11-28 14:20:58 +00:00
Pierre Joye
ea5dd34c77 - MFH: fix build 2008-11-27 21:58:38 +00:00
Scott MacVicar
9c11d5e138 MFH Move mhash extension registration code into the hash module startup. This allows extension_loaded('mhash'); to work. 2008-11-27 21:11:55 +00:00
Scott MacVicar
ceabdbb483 MFH Add asprintf, use regular system malloc and free and add checks in configure.in for the functions 2008-11-27 19:45:27 +00:00
Dmitry Stogov
7d4fd3fd38 Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:01:23 +00:00
Ilia Alshanetsky
d741138a46 Fixed bug #46696 (cURL fails in upload files with specified content-type) 2008-11-27 17:00:04 +00:00
Ant Phillips
12e27a7014 Directory tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-11-27 14:50:28 +00:00
Dmitry Stogov
725640d82b Fixed bug #44882 (SOAP extension object decoding bug) 2008-11-27 14:49:56 +00:00
Ant Phillips
587363da3c Latest and greatest versions of these session tests - checked on 5.2.X snap on Windows, Linux and Linux 64 bit. 2008-11-27 14:39:33 +00:00
Ant Phillips
45e14cea18 Latest and greatest versions of these session tests - checked on 5.3 snap on Windows, Linux and Linux 64 bit. 2008-11-27 13:50:28 +00:00
Dmitry Stogov
f80d26e68a Fixed bug #46427 (SoapClient() stumbles over its "stream_context" parameter) 2008-11-27 11:25:40 +00:00
Scott MacVicar
b388624d7d MFH Update libsqlite to 3.6.6.2 2008-11-27 08:46:13 +00:00
Felipe Pena
d5bb19938d - MFH: New parameter parsing API 2008-11-27 02:17:22 +00:00
Antony Dovgal
a9132bb75f fix test 2008-11-26 11:30:48 +00:00
Ant Phillips
f689708192 File system tests: checked on PHP 5.3 (Windows, Linux and Linux 64 bit). 2008-11-26 10:10:19 +00:00
Arnaud Le Blanc
dffdb48c3b MFH: Fixed bug #46673 (stream_lock call with wrong paramater) 2008-11-26 04:19:20 +00:00
Arnaud Le Blanc
c5c9fd8b07 MFH: Missed file from commit for #44181 & #44182 2008-11-26 04:08:19 +00:00
Arnaud Le Blanc
18794addbd MFH: Added ENT_IGNORE as a compatibility flag for htmlentities() and
htmlspecialchars() to skip multibyte sequences intead of returning an
empty string (as iconv's //IGNORE). These functions will still never
return an invalid or incomplete multibyte sequence.
Fixes #43896
2008-11-26 03:00:06 +00:00
Arnaud Le Blanc
a05edaf2bd MFB 5.2 2008-11-26 02:43:16 +00:00
Arnaud Le Blanc
5b4a154a59 MFH: Fixed bug #42473 (ob_start php://output and headers) 2008-11-26 01:20:31 +00:00
Arnaud Le Blanc
6a6289a90d MFH: Fixed bugs #44181 & #44182 (extract() and references)
(robin_fernandes at uk dot ibm dot com)
2008-11-26 00:59:41 +00:00
Ilia Alshanetsky
87f1f82677 Upgraded bundled sqlite to version 3.6.6.1 2008-11-25 23:50:42 +00:00
Stanislav Malyshev
b2cd1a717a fix tests for array/object BC 2008-11-25 22:13:44 +00:00
Ilia Alshanetsky
24e7e62307 Fixed bug #46626 (mb_convert_case does not handle apostrophe correctly) 2008-11-24 21:23:03 +00:00
Arnaud Le Blanc
c3f0c8dd3c MFH 2008-11-24 19:17:34 +00:00
Stanislav Malyshev
45572a498a restore BC for arrays
[DOC] natsort, natcasesort, usort, uasort, uksort, array_flip, array_unique
still won't work with objects
2008-11-24 18:12:17 +00:00
Sanjay Mantoor
db0376cf94 Fixed testcsae inputs so that test runs faster 2008-11-24 11:10:02 +00:00
Felipe Pena
65cfb01eaa - MFH: New parameter parsing API 2008-11-23 20:01:21 +00:00
Scott MacVicar
74ee87a631 MFH Patch file for sqlite3 amalgamation so things don't get missed. 2008-11-22 15:44:21 +00:00
David Coallier
16de7fbd16 - MFH
- Bug #46615
- Return the count - 1 when invoking SplHeap->key()
- Adjusted the tests
2008-11-22 14:19:47 +00:00
Pierre Joye
b2e419ef40 - Fix windows build
please keep the fixes while merging the new versions.
   if the updates do not contain the fixes, create a little todo list so it is
   not forgotten (wiki)
2008-11-22 13:41:21 +00:00
Scott MacVicar
7ba273e3b5 MFH Error handler isn't properly restored when using fetchObject() with SQLite 2008-11-22 11:48:42 +00:00
Scott MacVicar
2d73897856 MFH Update libsqlite to 3.6.6 2008-11-22 11:06:04 +00:00
Scott MacVicar
3a93ef37c4 MFH Warnings from libmagic should be notices rather than sent to stderr, this fixes a test on Windows 2008-11-22 10:29:05 +00:00
Felipe Pena
01dec97a90 - Missing SKIPIF :( 2008-11-21 22:55:58 +00:00
Felipe Pena
a9455b5be6 - MFH: Fixed memory leak in readline_callback_handler_remove() 2008-11-21 22:27:02 +00:00
Felipe Pena
a7dc862b6d - New tests 2008-11-21 21:44:11 +00:00
Felipe Pena
bf90950756 - Fix test 2008-11-21 21:03:35 +00:00
Felipe Pena
8d85566ebe - New tests 2008-11-21 21:00:47 +00:00
Felipe Pena
b4150fdc3f - MFH: Fixed bug #46578 (strip_tags() does not honor end-of-comment when it encounters a single quote) 2008-11-21 19:16:50 +00:00
Jani Taskinen
80d5100309 MFH 2008-11-21 16:41:04 +00:00
Iain Lewis
28c1803bcf Adding some tests for array_product 2008-11-21 13:00:01 +00:00
Sanjay Mantoor
223c2d002e New testcases for gmmktime function 2008-11-21 06:22:58 +00:00
Felipe Pena
8b00dc3f9e - Changed split() to preg_split() 2008-11-20 23:11:25 +00:00
Felipe Pena
da067890db - MFH: Fixed memory leaks in readline_completion_function() 2008-11-20 22:25:37 +00:00
Andrey Hristov
d43b7b022f MFH:
Windows fixes for mysqlnd
Less warnings + PHPAPI for mysqlnd_poll
2008-11-20 17:21:36 +00:00
Mark Karpeles
75b07963e3 - MFH: ext/wddx: classes providing __sleep() are stored without properties (fixed)
- ext/wddx: fixed wddx_add_vars() ignoring first var in php 5.3
2008-11-20 15:55:00 +00:00
Felipe Pena
8258b703c5 - MFH: Fixed memory leak in wddx_add_vars() 2008-11-20 14:48:41 +00:00
Mark Karpeles
995deb9aef - MFH: #46496, wddx_serialize treats input as ISO-8859-1 (Mark Karpeles) 2008-11-20 14:14:05 +00:00
Felipe Pena
277c3e4172 - Fixed tests 2008-11-20 13:31:34 +00:00
Felipe Pena
83a6215dcc - Fixed test 2008-11-20 13:27:00 +00:00
Pierre Joye
2295b682a4 - MFH: declarations must be.. 1st 2008-11-20 10:22:55 +00:00
Arnaud Le Blanc
756aef0607 CS 2008-11-19 17:53:47 +00:00
Andrey Hristov
e62f5f8f03 MFH:
Fix a small bug that mysqlnd::next_result didn't care about an error in a
multi-statement. In an inner layer the error has been already set, thus it
needed better massage on the top level.
2008-11-19 17:45:43 +00:00
Felipe Pena
83c0eb69ad - Fixed tests 2008-11-19 16:58:28 +00:00
Arnaud Le Blanc
a46300ec06 Improved ArrayObject performance (made spl_hash_verify_pos() an O(1)
and removed some spl_array_get_hash_table() calls). Fixes #46039
2008-11-19 14:41:40 +00:00
Felipe Pena
2ea37c7780 - Fixed tests 2008-11-19 11:41:47 +00:00
Pierre Joye
60742c414d - new naming and allow libcurl static build 2008-11-19 09:28:13 +00:00
Etienne Kneuss
3919b16f04 MFH: Fix #46241 (stacked error_handlers, error_handling in general) 2008-11-19 02:00:53 +00:00
Andrey Hristov
3343619b9a MFH: Fix Windows build, pure C compiler 2008-11-18 18:02:44 +00:00
Felipe Pena
1881091e0f - Deprecate ereg 2008-11-18 17:55:07 +00:00
Andrey Hristov
825034cea5 MFH:
Asynchronous queries for mysqli, when mysqlnd is enabled.
Includes 4 tests for mysqli_poll
2008-11-18 17:02:18 +00:00
Ant Phillips
4126370491 Reflection tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-11-18 15:36:48 +00:00
Pierre Joye
c213742fe2 - MFH: declaration has to be first... 2008-11-18 14:27:09 +00:00
Pierre Joye
d316c3e0d1 - MFB: fix title 2008-11-18 02:03:38 +00:00
Pierre Joye
d543e3d987 - #41033, enable signing with DSA keys 2008-11-18 01:56:12 +00:00
Scott MacVicar
4525c2d41e Missed test for previous commit 2008-11-17 21:54:47 +00:00
Scott MacVicar
1858b25407 MFH Add openssl_random_pseudo_bytes() in order to expose access to a PRG, this wraps around whatever the OS provides.
- OpenBSD uses arc4random()
- Windows uses the Windows Crypto API
- FreeBSD, Linux, etc use /dev/random or /dev/urandom if available
[DOC]
2008-11-17 21:54:25 +00:00
Scott MacVicar
cd3f5c1fa7 MFH Fix #46033 - Segfault when instantiating SQLite3stmt and SQLite3Result directly. 2008-11-17 19:34:03 +00:00
Scott MacVicar
0fab3f5b68 MFH Sync libsqlite to 3.6.5 2008-11-17 17:13:55 +00:00
Ant Phillips
0b79202140 Commit tests for ext/reflection 2008-11-17 12:26:43 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Pierre Joye
df3dc8d974 - MFB: skip if pcntl is not present 2008-11-16 23:22:43 +00:00
Pierre Joye
569a48922e - MFH: #46127, php_openssl_tcp_sockop_accept forgets to set context on accepted stream 2008-11-16 23:14:12 +00:00
Ilia Alshanetsky
4907faecd1 Fixed memory leak inside readline_callback_handler_install() function 2008-11-16 18:00:50 +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
Hannes Magnusson
dd9e9f26e2 MFH: Interfaces extend other interfaces, not implement 2008-11-14 19:22:43 +00:00
Sanjay Mantoor
ccef11d68f New testcases for gmdate function 2008-11-14 09:16:00 +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
Ilia Alshanetsky
9c9b5b3925 Fixed a bug inside dba_replace() that could cause file truncation with
invalid keys
2008-11-13 18:21:40 +00:00
Felipe Pena
c29ebd8a23 - MFH: Better fix 2008-11-13 18:14:50 +00:00
Pierre Joye
c8103324bf - MFH: declaration goes first... 2008-11-13 14:40:06 +00:00
Felipe Pena
494dbdb1c1 - MFH: Fixed invalid reads 2008-11-13 13:08:12 +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
Felipe Pena
39b1f65aab - Fixed tests 2008-11-13 01:49:51 +00:00
Felipe Pena
a94cd6d54f - MFH: Fixed a macro redefinition on BSD for different purpose 2008-11-12 23:38:02 +00:00
Felipe Pena
3c121bf15f - MFH: Removed unused variables 2008-11-12 17:26:36 +00:00
Felipe Pena
cd0a8efe41 - Fix test 2008-11-12 17:16:51 +00:00
Pierre Joye
b9853c4ff0 - MFH:
- #14962, makes extractTo 2nd argument really optional
 - replace ZEND_ENGINE_2_1 by PHP_ZIP_USE_OO
2008-11-12 11:41:21 +00:00
Felipe Pena
a2556b1f1c - MFH: New parameter parsing API 2008-11-11 17:54:43 +00:00
Felipe Pena
02050bc6f5 - New tests 2008-11-11 17:54:11 +00:00
Felipe Pena
9178503610 MFH:
- Added ZEND_FETCH_RESOURCE2_NO_RETURN() (a version of ZEND_FETCH_RESOURCE2 but without the ZEND_VERIFY_RESOURCE() which contains RETURN_FALSE)
- Fixed bug #46543 (ibase_trans() memory leaks when using wrong parameters)
2008-11-11 13:28:22 +00:00
Pierre Joye
5fc86e0213 - MFH: fix build with all curl versions, even very old (thx Felipe for having found all versions info) 2008-11-11 12:26:04 +00:00
Jani Taskinen
5493b4b7d1 fix build 2008-11-11 11:56:01 +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
Pierre Joye
dcdf00bdfc - MFH: make the curl phpinfo more verbose 2008-11-10 22:59:28 +00:00
Felipe Pena
493b0589e8 - Make expected result compatible with recent Firebird version 2008-11-10 22:33:53 +00:00
Andrey Hristov
abf612ba59 MFH: Remove unneeded cast 2008-11-10 20:06:23 +00:00
Ilia Alshanetsky
757087553b MFH: Fixed compiler warnings 2008-11-10 19:04:05 +00:00
David Coallier
9334bbd650 - After readying Johannes's mail, the conclusion that a "smarter" system
to find out if the return_value had the correct number of elements was
  definitely needed. Simply added a difference to both dbh and stmt to
  make sure that the error info always has 3 elements.

- Bug #44154 (pdo->errorInfo doesn't always return three elements)
- Now pdo->errorInfo() AND stmt->errorInfo() return three elements.

- [DOC] Make sure that not only the pdo->errorInfo() is returning 3 elms, but
  also the PDOStatement object
2008-11-10 18:47:28 +00:00
David Coallier
55ad0efd17 - Make test conform to the error reporting that always returns
three elements. Adjusted all bugs and tests that were using
  errorInfo() and errorCode() (dbh & stmt)
2008-11-10 18:44:04 +00:00
Felipe Pena
1460f722e3 - New tests 2008-11-10 18:02:56 +00:00
David Coallier
d781f9d67f - Hrphm, sorry about that, forgot the array value. Now the test runs fine 2008-11-10 12:49:51 +00:00
David Coallier
d2c1047241 - Adjusted test to make sure it reflects the behavior of the method 2008-11-10 12:40:23 +00:00
Timm Friebe
15adc0ddaf - Added test for optional parameter "new" to sybase_connect() 2008-11-10 11:00:48 +00:00
Timm Friebe
12abaadf84 - Added optional parameter "new" to sybase_connect
# [DOC] If a second call is made to sybase_connect() with the same arguments
# no new link will be established, but instead, the link identifier of the
# already opened link will be returned. The new parameter modifies this
# behavior and makes sybase_connect() always open a new link, even if
# sybase_connect() was called before with the same parameters.
2008-11-10 10:59:44 +00:00
Sanjay Mantoor
eb2e561bfe New testcases for date_sunset function 2008-11-10 07:12:00 +00:00
Arnaud Le Blanc
2756c75304 MFH 2008-11-10 06:30:16 +00:00
Arnaud Le Blanc
cf7ad21ce5 MFH: Added the oldset parameter to pcntl_sigprocmask().
Already documented.
2008-11-10 05:57:18 +00:00
Sanjay Mantoor
42325f9d48 New testcases for date_sunrise function 2008-11-10 05:52:20 +00:00
Timm Friebe
39bd93bc62 - Fixed sybase_close() to actually close connections
# Broken during parameter parsing refactoring lately, OK in PHP_5_2
2008-11-09 11:39:14 +00:00
Timm Friebe
4b96eea15f - Initial release 2008-11-09 11:38:17 +00:00
Timm Friebe
66f5639327 - Initial release 2008-11-09 10:57:09 +00:00
Timm Friebe
7dc8109ff3 - Initial release 2008-11-09 10:44:03 +00:00
Timm Friebe
2268bf47e3 - Added test for sybase_free_result() without full fetch 2008-11-09 10:29:52 +00:00
Timm Friebe
963aa85764 - Initial release
# Tests sybase_unbuffered_query() together with sybase_free_result()
2008-11-09 10:26:31 +00:00
Felipe Pena
d5ad77167a - MFH: Added connection checking on SKIPIF 2008-11-08 15:39:01 +00:00
Timm Friebe
ec17daec29 - Adjusted tests to reality
# We select 123456789.12345679, we should have this returned and not
# something 123456789.123457 (rounded)
2008-11-08 13:32:29 +00:00
Timm Friebe
8089d14c9a - Fixed problems with segmentation faults when using unbuffered queries
# Double-freeing results caused these
2008-11-08 13:22:14 +00:00
Timm Friebe
9224d4cc6c - Made this test independent of date format 2008-11-08 13:21:30 +00:00
Timm Friebe
65c5b135d5 - Initial release 2008-11-08 13:21:01 +00:00
Timm Friebe
b99923a434 - QA: Unified error messages in php_sybase_query() 2008-11-08 12:24:52 +00:00
Timm Friebe
927804e288 - Changed while loop in php_sybase_fetch_result_row() to also read rows with
retcode == CS_ROW_FAIL.
# Reported by Detlef Neumerkel and Frank Irnich of Sybase
2008-11-08 12:05:46 +00:00
Timm Friebe
87ad2dd067 - Changed source to read host, user and password from environment
# E.g. nmake test TESTS=ext/sybase_ct PHP_SYBASE_HOST=db PHP_SYBASE_USER=sa PHP_SYBASE_PASS=***
2008-11-08 11:47:35 +00:00
Timm Friebe
847e9922d1 - Made this test independent of field types in master..sysprocesses
# char on ASE 11, varchar on ASE 15
2008-11-08 11:46:06 +00:00
Timm Friebe
d40014873f - Fixed expected warning messages
# Changed during migration to parameter parsing API
2008-11-08 11:45:03 +00:00
Felipe Pena
a4390f3e46 MFH:
- Fixed bug #46521 (Curl ZTS OpenSSL, error in config.m4 fragment)
  Noticed by: jd at cpanel dot net
2008-11-07 21:14:46 +00:00
Alexey Zakhlestin
deb420ee63 new parameter-parsing API 2008-11-07 12:39:11 +00:00