Commit Graph

42350 Commits

Author SHA1 Message Date
Scott MacVicar
3e58e86d01 MFH Add SplDoublyLinkedList::prev() and fix a memory leak when the iterator pointer isn't at the end 2009-06-17 13:27:09 +00:00
Robin Fernandes
73cd7e83ee Additional class related tests. 2009-06-17 10:38:25 +00:00
Hannes Magnusson
d535dec2e0 fix skipif 2009-06-17 10:18:17 +00:00
Hannes Magnusson
9900d2097c fix skipif 2009-06-17 10:14:25 +00:00
Pierre Joye
02fe289540 - fix test 2009-06-17 10:10:19 +00:00
Pierre Joye
f399abb610 - missing --SKIPIF-- header 2009-06-17 10:08:01 +00:00
Rasmus Lerdorf
a7cc9e7274 Need the gcc version check here too 2009-06-17 08:55:23 +00:00
Pierre Joye
2e08b57ee6 - fix build when IO_REPARSE_TAG_SYMLINK is not defined (works with 2k+) 2009-06-16 21:54:12 +00:00
Felipe Pena
ef55a8a663 - Fixed tests 2009-06-16 19:49:55 +00:00
andy wharmby
d7072fa367 New strcoll error test. Tested on Windows, Linux and Linux 64. 2009-06-16 19:39:39 +00:00
Andrey Hristov
30800a79b9 MFH: C-comments 2009-06-16 18:00:00 +00:00
Pierre Joye
5a3efd5b78 - fix readlink in TS SAPI 2009-06-16 16:50:13 +00:00
Rasmus Lerdorf
f90425316a Tweak to make this compile with gcc2 2009-06-16 16:10:15 +00:00
Felipe Pena
f9bb99055e - MFH: Fixed build (removed trailing comma) patch by Seiji Masugata <s.masugata at digicom.dnp.co.jp> 2009-06-16 14:33:33 +00:00
Andrey Hristov
10ee06ca48 MFH:
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:07:14 +00:00
Ilia Alshanetsky
34842709d6 Fixed test 2009-06-16 12:40:59 +00:00
andy wharmby
c731b2287f Fix typo in test 2009-06-16 11:37:13 +00:00
Pierre Joye
b4cf9d80d4 - fix title 2009-06-16 10:37:59 +00:00
Pierre Joye
1a69c562bd - fix title 2009-06-16 10:37:30 +00:00
Andrey Hristov
27270621cb MFH:
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:38 +00:00
andy wharmby
f0f302fe7f New class related tests. Tested on Windows, Linux and Linux 64. Tests written by Iain Lewis 2009-06-16 08:59:39 +00:00
Andrey Hristov
a2acaa7fcd MFH:
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:35 +00:00
Felipe Pena
c353601a3f - MFH: Fixed bug #48562 (Reference recursion causes segfault when used in wddx_serialize_vars()) 2009-06-16 02:54:26 +00:00
Pierre Joye
8e76db4aa7 - revert last commit, should not have been applied 2009-06-16 00:17:56 +00:00
Pierre Joye
a5302d870d - #47767, include_once does not resolve windows symlinks or junctions 2009-06-16 00:13:56 +00:00
Pierre Joye
18d5751a9e - Windows ACL cache support, update existing tests and add a new one 2009-06-16 00:07:05 +00:00
Felipe Pena
da9b80e309 - Drop unused code 2009-06-15 17:56:08 +00:00
andy wharmby
fcbfe08d60 New test for bitwise operators. Tested on Linux 64 bit 2009-06-15 17:38:44 +00:00
andy wharmby
d8ce08a24b Move tests to correct directory 2009-06-15 17:34:40 +00:00
Felipe Pena
aa8811982e - MFH: Fixed bug #48557 (Numeric string keys in Apache Hashmaps are not cast to integers) patch by David Zülke <david.zuelke at bitextender.com> 2009-06-15 17:31:02 +00:00
Patrick Allaert
f78a0b585c MFH: Fixing #48441 (ldap_search() with sizelimit/timelimit/deref options makes those options persistent) 2009-06-15 15:18:31 +00:00
Pierre Joye
c06884c960 - add TODO about int definition cleanup 2009-06-15 15:08:12 +00:00
Patrick Allaert
91a8fd7f7e MFH: Refactoring that will help fixing #48441 2009-06-15 15:04:11 +00:00
Pierre Joye
60223d6a6d - #48535, file_exists returns false when impersonate is used 2009-06-15 15:01:01 +00:00
Pierre Joye
2db291e728 - MFH: simplify, use correct type and silent warnings 2009-06-15 14:47:15 +00:00
Scott MacVicar
fdfc7d05e7 BFN 2009-06-15 13:41:42 +00:00
Scott MacVicar
532674945c MFH sync SQLite 3.6.15 2009-06-15 13:23:59 +00:00
Ilia Alshanetsky
bb55de47cd Simplify original fix for bug #33475 2009-06-15 12:37:37 +00:00
andy wharmby
4a110443df New POSIX extension tests from Berlin UG TestFest 2009. 2009-06-15 12:14:55 +00:00
Pierre Joye
e52e1fab4c - silent warning 2009-06-15 08:32:38 +00:00
Philip Olson
380dededf4 Synced with the wiki 2009-06-14 19:15:57 +00:00
Philip Olson
7593f572ea Remove unused file (see file UPGRADING for the 5.2->5.3 guide) 2009-06-14 17:56:07 +00:00
andy wharmby
3fd133bcf3 Backport ob test to php 5.2 and 53. 2009-06-14 16:47:11 +00:00
andy wharmby
1888c718cb New foreach tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-14 14:17:43 +00:00
andy wharmby
ceca4f3615 Basic tests for function_exists() and get_defined_functions(). Tested on Windows, Linux and Linux 64 bit. 2009-06-14 13:49:16 +00:00
Ilia Alshanetsky
1c8d05069e MFB: Fixed bug #48512 (DOMDocument::validate() fails with both a E_NOTICE
and E_WARN if no DTD)
2009-06-14 13:13:35 +00:00
andy wharmby
a6735b8b24 New json extension tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-14 12:08:27 +00:00
Greg Beaver
8fc5746d0e remove missing erealloc entry that will go in php 5.2 NEWS 2009-06-13 17:34:21 +00:00
Greg Beaver
79d05eac0d fix Bug #48541: spl_autoload_register only registers first closure, then leaks the others. Fix missing erealloc in fix for bug #40091 (PHP_5_3 only) 2009-06-13 17:30:50 +00:00
Greg Beaver
df07072f7c fix criminally unclear NEWS entry by me 2009-06-13 16:43:04 +00:00