Ulf Wendel
a2577bb946
Enabling test as requested by the skipif comment... it does pass when slightly modified.
2009-07-06 15:52:48 +00:00
Ulf Wendel
4df1f0d912
Fixing mysqlnd version test to run some four previously skipped tests. There is no proper way to check the mysqlnd version. The best one can do is adapt the tests to what PHP 5.3 and PHP 6.0 return today.
2009-07-06 15:43:59 +00:00
Ulf Wendel
ec603a0c41
Adapting (old) tests to current PHP 6 semantics - s/unicode.semantics test/version_compare
2009-07-06 15:07:31 +00:00
Ulf Wendel
97e129a44e
Adding --CLEAN-- sections to all ext/mysqli tests
2009-07-06 14:36:52 +00:00
Ilia Alshanetsky
0ecff0b45c
MFB: Fixed bug #48718 (FILTER_VALIDATE_EMAIL does not allow numbers in
...
domain components).
2009-07-05 16:08:15 +00:00
Zoe Slattery
9e23aa5064
fix test
2009-07-05 14:45:14 +00:00
Felipe Pena
19808909da
- Added missing methods' arginfo (for void params)
...
- Fixed arginfos:
- MultipleIterator::__construct
- MultipleIterator::setFlags (Thanks Philip!)
- SplFixedArray::__construct
2009-07-04 20:28:16 +00:00
Antony Dovgal
1adf52fe88
merge from 5_3
2009-07-03 14:03:00 +00:00
Ulf Wendel
17eab779a3
... to play with large data sets. Currently its only 10MB in size to keep the test runtime short. However, its easy to increase, if you want to test large data sets
2009-07-03 12:13:57 +00:00
Patrick Allaert
92fcfc02d1
Tests for ext/ldap from PHPBelgium TestFest
2009-07-03 09:20:50 +00:00
Ulf Wendel
3c81e71e5a
Global s/ini_get('unicode.semantics')/version check/ . Early PHP 6 times are gone. I hope unicode logic will not change any more
2009-07-03 08:42:25 +00:00
Ulf Wendel
90436bdb58
Fixing borked test, again new run-tests.php has found it... Fails with HEAD, passes with 5.3
2009-07-03 08:23:57 +00:00
Ulf Wendel
1bbff4f7db
Fixing borked test - thanks again new run-tests.php tool (and team).
2009-07-03 07:49:47 +00:00
Felipe Pena
e66a56b10c
- Missing files
2009-07-03 00:09:47 +00:00
Felipe Pena
5feed0f14f
- New tests (DutchUG testfest)
2009-07-03 00:04:54 +00:00
Stanislav Malyshev
e9d738b129
bugfix
2009-07-02 22:37:03 +00:00
Ilia Alshanetsky
e9304d08b8
MFB: Fixed bug #48733 (CURLOPT_WRITEHEADER|CURLOPT_FILE|CURLOPT_STDERR warns
...
on files that have been opened with r+).
2009-07-02 13:42:24 +00:00
Ulf Wendel
2d884dd1e1
Adding CLEAN sections, fixing some SKIPIF sections. Cool new run-tests.php, Zoe (and other) - its a great help to detect stinky SKIPIF and CLEAN
2009-07-02 10:04:25 +00:00
Ulf Wendel
2bca33e0d7
Test for bug #48754
2009-07-02 07:42:34 +00:00
Stanislav Malyshev
5f4abc67ba
cleanup Locale::lookup
2009-07-02 00:47:11 +00:00
Felipe Pena
c905944087
- New tests (NorwayUG testfest)
2009-07-02 00:01:20 +00:00
Stanislav Malyshev
09ca614d5e
typo
2009-07-01 20:27:13 +00:00
Kalle Sommer Nielsen
a49bb5425f
Fix test on Windows
2009-07-01 20:26:37 +00:00
Stanislav Malyshev
965c6baf9a
update API files
2009-07-01 20:26:13 +00:00
Stanislav Malyshev
4f809a3a30
fix proto
2009-07-01 20:18:03 +00:00
Kalle Sommer Nielsen
3aae5bc9a1
Fixed #45280 (Reflection of instantiated COM classes causes PHP to crash) (Paul Richards, Kalle)
2009-07-01 18:44:16 +00:00
Kalle Sommer Nielsen
fddd5d940c
Fixed memory leak if zero parameters are passed, Thanks Felipe
2009-07-01 17:42:48 +00:00
Kalle Sommer Nielsen
8f3fb7ec31
Fixed bug #48757 (ReflectionFunction::invoke() parameter issues)
2009-07-01 17:37:42 +00:00
Ulf Wendel
726a4816e4
Changing tests to run with both PHP 6 and PHP 5.3 to make future MFH easier. Basically three changes over all files: a) s/unicode(/%unicode|string% b) s/[u/[%u|b% c) s/unicode.semantics/version_compare
2009-07-01 15:31:32 +00:00
Johannes Schlüter
7f6fa981b3
MFB52: Fix include path
2009-07-01 14:13:07 +00:00
Ulf Wendel
71ca6b83ce
Adding XFAIL for some tests which expect the zval cache of mysqlnd to be on. It has been disabled for the PHP 5.3.0 release. Adding INI sections to ensure that statistics are collected. Adding tests that check if statistics collection can be disabled
2009-07-01 12:51:40 +00:00
Felipe Pena
f06342f3b5
- Fixed previous fix
2009-07-01 12:06:27 +00:00
Felipe Pena
86514c4102
- Fixed memory leak
2009-07-01 12:04:05 +00:00
Felipe Pena
9d6c4888bc
- Fixed tests
2009-07-01 12:02:45 +00:00
Felipe Pena
9c916aa98c
- Fixed tests
2009-07-01 02:32:10 +00:00
Felipe Pena
51b78f6306
- New tests (SaoPaulo UG testfest)
2009-07-01 00:51:26 +00:00
Derick Rethans
7ef811e1df
- Fixed bug #47351 (Memory leak in DateTime).
2009-06-30 16:15:43 +00:00
Scott MacVicar
593fe2abeb
Fix tests for bug #48284 - adler32 is in the wrong order.
2009-06-30 12:50:16 +00:00
Scott MacVicar
c264f92f29
Fix bug #48284 - adler32 is in the wrong order. Changed to match what zlib produces.
2009-06-30 12:49:54 +00:00
andy wharmby
b77d7c801a
Basic test for max() on 64 bit platforms. Tested on Linux 64 bit
2009-06-29 07:52:26 +00:00
andy wharmby
dd3adbaa20
Fix tests
2009-06-29 07:45:14 +00:00
andy wharmby
6513ceb4dc
Basic tests for sleep() and usleep(). Tested on Windows, Linux and Linux 64 bit
2009-06-29 07:31:15 +00:00
Scott MacVicar
c0f8dd9987
Update libsqlite to 3.6.16
2009-06-28 22:58:49 +00:00
Patrick Allaert
6c174c42e0
forgotten some credits :)
2009-06-28 22:40:38 +00:00
Patrick Allaert
b1ccae82f9
unicode support in ext/ldap
2009-06-28 22:38:23 +00:00
Felipe Pena
6abff59291
- Fixed bug #48709 (metaphone and 'wh')
2009-06-28 18:41:20 +00:00
Pierre Joye
76a395e73d
- fix build
2009-06-28 12:41:51 +00:00
Felipe Pena
eeb997d888
- Fixed bug #48658 (Change in behaviour of parse_str on php 6.0)
2009-06-28 02:36:19 +00:00
Felipe Pena
ba13c4e764
- Fixed bug #48539 (pdo_dblib fails to connect, throws empty PDOException "SQLSTATE[] (null)")
2009-06-28 02:02:09 +00:00
Pierre Joye
8e83d9e8b8
- fix regression introduced by the fix for #48518 (Ilia, Rasmus)
2009-06-27 21:20:25 +00:00
Pierre Joye
4c82b63e44
- add license
2009-06-26 07:25:38 +00:00
Johannes Schlüter
0da1b677b3
Add test
2009-06-25 15:04:14 +00:00
Felipe Pena
a27158a76c
- Fixed bug #48696 (ldap_read() segfaults with invalid parameters)
2009-06-25 14:48:53 +00:00
Ilia Alshanetsky
ac88f10ea0
Fixed bug #48678 (DateInterval segfaults when unserialising)
2009-06-25 12:41:41 +00:00
Scott MacVicar
0dc0af527b
Fix bug #48679 - Crash in SQLite with count on an unbuffered query set
2009-06-25 00:04:07 +00:00
Greg Beaver
5010fec2f0
fix Bug #48681 : openssl signature verification for tar archives broken in ext/phar, merge small fixes to phar.phar generation from PHP_5_3
2009-06-24 22:19:47 +00:00
Felipe Pena
d5cb9c95b4
- Fixed memleak when depth arg is less than zero
2009-06-24 17:39:36 +00:00
Pierre Joye
f4aa4c3272
- MF53: license for libgd
2009-06-24 11:47:46 +00:00
Dmitry Stogov
2cdd26b0b7
Fixed bug #48643 (String functions memory issue)
2009-06-24 08:53:44 +00:00
andy wharmby
a6967d58e2
Fix test
2009-06-23 23:00:54 +00:00
andy wharmby
7d60127c1e
New and fixed html tests. Tested in Windows, Linux and Linux 64.
2009-06-23 22:45:30 +00:00
andy wharmby
0dfd8754a6
New basic parse_str() tests. Tested on Windows,Linux and Lnux 64 bit. Some tests fail on PHP 6 (tagged with XFAIL) due to bug 48658
2009-06-23 22:39:42 +00:00
Gwynne Raskind
4817cf6b78
add S_IRWXU and friends as defined POSIX constants
2009-06-23 21:11:12 +00:00
Johannes Schlüter
6255234a6d
Fix build problem (Kalle)
2009-06-23 18:14:03 +00:00
David Soria Parra
565e6bdbdf
Fix bug #48644 mysqlnd does not compile with '--enable-mysqlnd-threading'
2009-06-23 14:14:32 +00:00
Johannes Schlüter
ed4b37eb39
The experimental warning sohuld be in the configure output...
2009-06-23 13:19:22 +00:00
Johannes Schlüter
8279c03681
The json header should be installed so other exts can use it
2009-06-23 13:09:20 +00:00
Hannes Magnusson
fb35a562ef
Fix arginfo for libxml_disable_entity_loader() and
...
libxml_use_internal_errors()
2009-06-23 12:27:36 +00:00
Rob Richards
b408366658
add libxml_disable_entity_loader function
2009-06-23 10:49:00 +00:00
Kalle Sommer Nielsen
535e251612
Move these defines to config.w32.h
2009-06-23 06:55:45 +00:00
Pierre Joye
aa382805f6
- MF53: #48619 , imap_search ALL segfaults
2009-06-22 20:35:46 +00:00
Christian Seiler
b5ffb2d9af
- Fixed spl_autoload_functions/spl_autoload_unregister wrt. closures and
...
invokables.
2009-06-22 18:14:14 +00:00
Ilia Alshanetsky
8a5511cfc8
MFB: Fixed bug #48636 (Error compiling of ext/date on netware).
2009-06-22 13:43:06 +00:00
Scott MacVicar
ef76d96812
Specific test for bug #48276
2009-06-21 22:30:37 +00:00
Scott MacVicar
5345eec0b8
Fix bug #48276 - year is a long long so we need %lld so big endian systems print the correct value.
2009-06-21 22:18:53 +00:00
Hannes Magnusson
d19b44b95d
MFB: Fix proto and arginfo
2009-06-21 20:41:51 +00:00
Ilia Alshanetsky
ca74bf9e44
MFB: Fixed bug #48620 (X-PHP-Originating-Script assumes no trailing CRLF in
...
existing headers)
2009-06-21 15:30:23 +00:00
Takeshi Abe
8990a91fd7
fixed bug #48555 (ImageFTBBox() differs from previous versions for texts with new lines)
2009-06-21 05:59:25 +00:00
Kalle Sommer Nielsen
663600b41d
Fixed arginfo for array_map, patch by Matthew Fonda <matthewfonda@gmail.com>
2009-06-20 06:05:26 +00:00
Kalle Sommer Nielsen
6442cfaaf6
Fix memleak
2009-06-19 22:12:20 +00:00
andy wharmby
e4ef8e925a
Fix test; remove spurious code
2009-06-18 21:53:14 +00:00
andy wharmby
a2dd5c26cd
Basic tests for strftime(). Tested on Windows (all tests skip), Linux and Liinux 64 bit
2009-06-18 21:14:14 +00:00
Greg Beaver
c816d49384
fix EXPECT section of test
2009-06-18 18:12:10 +00:00
Derick Rethans
826378be43
- Updated to version 2009.10 (2009j)
2009-06-18 09:02:43 +00:00
Zoe Slattery
fe6e83b3aa
Tests from Berlin test fest
2009-06-18 07:25:55 +00:00
Andrey Hristov
64046529f0
Fix two problems:
...
- The value of mysqli_get_client_info() has been changed recently and did
not include "mysqlnd" anymore thus the test suite was thinking the build
is always libmysql. This did not kept the suite from running pconn tests
- Going back to the libc allocator because the memory arena could be on a
persistent connections. If the build is not debug there will be no error
but the memory will be freed and in the second use of this pconn freed
memory will be used - not good! For now the arena doesn't take an argument
whether it should allocate persistently or not, thus persistent is safe
for now.
Johannes gave his +1 to commit this.
2009-06-17 16:21:34 +00:00
Felipe Pena
a26dc7bd50
- Fixed bug #48578 (Can't build 5.3 on FBSD 4.11) (Rasmus)
2009-06-17 16:19:48 +00:00
Scott MacVicar
1217eab950
Update test to test a few more cases and another for calling prev() on a blank DLL.
2009-06-17 13:15:39 +00:00
Scott MacVicar
88994ce758
Add SplDoublyLinkedList::prev(), no point in having a DLL that only goes one way
2009-06-17 12:57:38 +00:00
Hannes Magnusson
ae9ba9cd60
fix skipf
2009-06-17 10:18:42 +00:00
Felipe Pena
ccfdb9b9ad
- Fixed tests
2009-06-16 19:49:04 +00:00
andy wharmby
62b2bc8d55
New strcoll error test. Tested on Windows, Linux and Linux 64.
2009-06-16 19:39:37 +00:00
Andrey Hristov
56b1c8fe39
C-comments should be used
2009-06-16 17:59:19 +00:00
Pierre Joye
a6b40a6e88
- MF53: fix readlink in TS SAPI
2009-06-16 16:53:56 +00:00
Felipe Pena
8654130af4
- Fixed build (removed trailing comma) patch by Seiji Masugata <s.masugata at digicom.dnp.co.jp>
2009-06-16 14:29:18 +00:00
Andrey Hristov
7289831fe0
Memory usage optimisation. mysqlnd is not libmysql. mysqlnd does use the
...
Zend allocator, which means that is easier to hit memory_limit if you
have big stored (buffered) result sets. Before with libmysql you won't
hit memory_limit because libmysql uses libc's allocator and nothing is
checked. Now, with mysqlnd the situation is stricter and it is easier to
hit memory_limit. We try to optimize for big result sets. If a result set
is larger than 10 rows we will start freeing some data to keep memory usage
after 10 rows constant. This will help in the cases where a buffered result
set is scrolled forward only and just only once, or mysqlnd will need to
decode data from the network buffers again - yes, it is a trade-off between
CPU time and memory size. The best for big result sets is of course using
unbuffered queries - for comparison : 3 Million rows with buffered take
at least 180MB, with buffered you will stay at 3MB, and unbuffered will be
just 7-8% slower.
2009-06-16 13:06:45 +00:00
andy wharmby
9faad585d4
Fix typo in test
2009-06-16 11:37:11 +00:00
Andrey Hristov
5d3ea92ee9
Hardwire function call instead of using callbacks. We don't actually need
...
callbacks, it was done for making 2 functions static, not to pollute the
global functions space but that had its price of 8 bytes overheat per
allocation, which is just too much. Also making the app member 32b instead
of 64b, which should save additional 4 byte, to the total of 12 byte per
allocation of a row buffer.
2009-06-16 09:15:09 +00:00
andy wharmby
a1fdddce49
New class related tests. Tested on Windows, Linux and Linux 64. Tests written by Iain Lewis
2009-06-16 08:59:56 +00:00
Andrey Hristov
9ac36809f0
Use Zend's allocator instead of libc's and also don't try to work on
...
zvals that are NULLs.
2009-06-16 07:53:03 +00:00