Commit Graph

20696 Commits

Author SHA1 Message Date
Felipe Pena
bc8a62f4b1 MFB: Fixed Bug #44191 (preg_grep messes up array index) 2008-02-20 22:12:17 +00:00
Felipe Pena
d427b55b1a New test 2008-02-20 21:57:05 +00:00
Andrey Hristov
702bc3b345 Fix test. Now passes. 2008-02-20 18:27:53 +00:00
Ilia Alshanetsky
d3158cdc15 Fixed a possible crash with syslog logging on ZTS builds 2008-02-20 15:27:30 +00:00
Andrey Hristov
7d0cee8c80 Fix memory leak 2008-02-20 15:18:17 +00:00
Josie Messa
21324e9a69 - New tests for current() function 2008-02-20 14:20:31 +00:00
Ilia Alshanetsky
3101edfd18 Fixed bug #44171 (Invalid FETCH_COLUMN index does not raise an error) 2008-02-20 03:11:43 +00:00
Christopher Jones
23a43bb260 Update for PECL release 2008-02-19 19:04:03 +00:00
Andrey Hristov
4ade01852c Fix a failing test 2008-02-19 17:21:50 +00:00
Josie Messa
f4dc0f293d - New tests for each() function 2008-02-19 17:02:27 +00:00
Andrey Hristov
4dd2425184 Fix compile warning 2008-02-19 15:38:58 +00:00
Andrey Hristov
ff23e5c875 Fix test 2008-02-19 15:36:38 +00:00
Felipe Pena
eaed933e57 New test 2008-02-19 14:53:04 +00:00
Nuno Lopes
083f474a47 some BDs (e.g. firebird) dont support text, so replace it with varchar(255). 2008-02-19 14:46:20 +00:00
Felipe Pena
6e712e05ab MFB: Fixed Bug #44159 (Crash: $pdo->setAttribute(PDO::STATEMENT_ATTR_CLASS, NULL)) 2008-02-19 12:13:20 +00:00
Josie Messa
23e18f966b - New tests for natcasesort() function 2008-02-19 10:53:10 +00:00
Etienne Kneuss
09a928b9c4 MFH: Add debug_info handler to SplDoublyLinkedList/Stack/Queue to make them var_dump friendly 2008-02-19 00:04:20 +00:00
Dmitry Stogov
ecc9778dc8 Made code opcode-cache friendly. (It is disallowed to change code during execution) 2008-02-18 14:30:44 +00:00
Ilia Alshanetsky
fe9f641658 Fixed a possible crash 2008-02-18 13:28:48 +00:00
Derick Rethans
22392affef - MFH: fixed typoes. 2008-02-17 18:17:45 +00:00
Felipe Pena
41c95c7d15 Fix the fix 2008-02-17 01:11:04 +00:00
Felipe Pena
8d914d4bcd Fix test 2008-02-17 01:03:19 +00:00
Felipe Pena
f3b2a87691 Fix test 2008-02-16 16:35:39 +00:00
Rui Hirokawa
bedb308902 fixed #43998 Two error messages returned for incorrect encoding for mb_strto[upper|lower] 2008-02-16 12:01:43 +00:00
Rui Hirokawa
ad400f1144 fixed #43994 mb_ereg 'successfully' matching incorrectly. 2008-02-16 11:46:03 +00:00
Rui Hirokawa
179b370957 fixed #43841 mb_strrpos offset is byte count for negative values. 2008-02-16 10:43:57 +00:00
Rui Hirokawa
c00121c5a8 fixed bug #43840 mb_strpos bounds check is byte count rather than a character count. 2008-02-16 08:58:00 +00:00
Rui Hirokawa
e67c124e61 removed unnecessary space. 2008-02-16 08:32:26 +00:00
Rui Hirokawa
852bf6e55a 'auto' encoding was not initialized correctly per request basis. 2008-02-16 08:21:39 +00:00
Christopher Jones
47c7035ea6 MFB: Test existing LOB error messages 2008-02-16 03:01:53 +00:00
Christopher Jones
07a79208b6 Streamlined code and incorporated review comments. Respect oci8.ping_interval when oci_pconnect called multiple times in a script. Changed OCIServerVersion to OCIPing (http://pecl.php.net/bugs/bug.php?id=11976) 2008-02-16 01:20:22 +00:00
Christopher Jones
2f62d300f7 MHB: Bug #44113 (New collection creation can fail with OCI-22303) 2008-02-15 23:24:45 +00:00
Josie Messa
73004ae4b0 - New tests for rsort() function 2008-02-15 16:06:38 +00:00
Derick Rethans
d161f4ec88 - Fixed speling. 2008-02-15 12:48:13 +00:00
Derick Rethans
a764d75d08 - Add the ReflectionProperty::setAccesible() method that allows non-public
property's values to be read through ::getValue().
#- [DOC]
2008-02-15 12:38:53 +00:00
Antony Dovgal
2fb4ea9c4f MFH 2008-02-15 09:35:53 +00:00
Antony Dovgal
0970b9f5e9 MFH: recursion protection in count() 2008-02-15 09:33:09 +00:00
Antony Dovgal
0c01626f1c MFH 2008-02-15 09:20:25 +00:00
Dmitry Stogov
7b6238c61f Fixed bug #43507 (SOAPFault HTTP Status 500 - would like to be able to set the HTTP Status) 2008-02-15 06:51:12 +00:00
Josie Messa
0430464b11 - New tests for count() function 2008-02-14 16:49:58 +00:00
Ilia Alshanetsky
e2c5bdae51 Fixed test on 64bit machines 2008-02-14 16:29:45 +00:00
Andrey Hristov
28e7d996df Another fix 2008-02-14 15:20:49 +00:00
Andrey Hristov
7e0be017df Fix memory errors< 2008-02-14 14:50:21 +00:00
Josie Messa
d972e43b1d - New tests for array_values() function 2008-02-14 14:22:43 +00:00
Felipe Pena
aefe056911 MFB: Fixed Bug #42838 (Wrong results in array_diff_uassoc) 2008-02-14 14:08:22 +00:00
Felipe Pena
fcb243f6e7 New test 2008-02-14 13:50:36 +00:00
Andrey Hristov
2d9d22395f Update mysqlnd - fix bg_store 2008-02-14 12:49:30 +00:00
Josie Messa
786746cb07 - New tests for array_slice() function 2008-02-14 11:17:36 +00:00
Dmitry Stogov
4de1e20fbb Fixed memory leak 2008-02-14 08:46:25 +00:00
Ilia Alshanetsky
e6e162bc8e New calendar parsing API 2008-02-13 23:50:35 +00:00
Derick Rethans
3edbc7b0b3 - MFH: Add some missing elements from the return value. 2008-02-13 21:53:12 +00:00
Etienne Kneuss
12bd169f24 MFH: Fix inconcistencies between substr and substr_compare 2008-02-13 17:02:16 +00:00
Josie Messa
a74685ea0d - New tests for array_shift() function 2008-02-13 16:42:17 +00:00
Josie Messa
f32e65988c - New tests for array_push() function 2008-02-13 16:12:48 +00:00
Josie Messa
4546084866 - committing tests for array_merge() function 2008-02-13 14:20:58 +00:00
Josie Messa
6b522fdd50 - committing tests for array_key_exists() function 2008-02-13 13:16:21 +00:00
Marcus Boerger
1d98b27235 - MFH Make this behave like in <= 5.2.5 and test for it 2008-02-13 12:05:34 +00:00
Greg Beaver
9feb21f5f1 MFH: fix potential memleak due to destruction of filterparams zval 2008-02-12 23:28:05 +00:00
Andrey Hristov
49172e3c4b Fix windows build - VC doesn't like nested macros 2008-02-12 22:05:34 +00:00
Johannes Schlüter
2c079e328b - MFH: Make clear what's going on and avoid overwriting parameters 2008-02-12 20:43:42 +00:00
Johannes Schlüter
d211430aa7 MFH: - Fix build with TSRM and mysqlnd 2008-02-12 20:19:21 +00:00
Hannes Magnusson
59498c8c5a Fix test 2008-02-12 20:05:29 +00:00
Josie Messa
b46602c028 - committing array_change_key_case variation tests 2008-02-12 17:44:50 +00:00
Antony Dovgal
a47e15d8b5 MFH 2008-02-12 10:54:54 +00:00
Andrey Hristov
c95c7c7d3f Fix typo 2008-02-12 10:51:39 +00:00
Felipe Pena
ce197075b0 Fixed Bug #44094 (SEGFAULT when using mysql_connect()) 2008-02-12 10:11:55 +00:00
Dmitry Stogov
82b31e01ae Added NOWDOC 2008-02-12 09:28:01 +00:00
Zoe Slattery
5932b49990 Fixing 44092 2008-02-12 07:15:40 +00:00
Felipe Pena
ea3a6ed11f array_slice() - Fixed behavior when NULL is given in third parameter (BC) 2008-02-12 01:31:12 +00:00
Felipe Pena
d4dbddd2be New test 2008-02-12 01:19:48 +00:00
Stanislav Malyshev
ad7e2f8712 HNY 2008-02-12 00:45:14 +00:00
Stanislav Malyshev
3ffa0df5e7 add T_DIR 2008-02-12 00:42:20 +00:00
Stanislav Malyshev
fd597dce1b [DOC] Add compile-time __DIR__ constant which implements dirname(__FILE__) 2008-02-12 00:21:15 +00:00
Andrey Hristov
cf07e941f1 cvs sync 2008-02-11 16:44:48 +00:00
Etienne Kneuss
80861c001e MFH: Provide ctod/dtor with TSRM 2008-02-11 16:39:20 +00:00
Ilia Alshanetsky
70e913bdad Fixed test on 64bit machines 2008-02-11 16:02:46 +00:00
Andrey Hristov
55b1f666d7 new 6.0 flag 2008-02-11 14:48:04 +00:00
Etienne Kneuss
901cb5a454 MFH: cosmetics 2008-02-11 13:59:23 +00:00
Antony Dovgal
038696fed1 MFH 2008-02-11 13:34:41 +00:00
Johannes Schlüter
5054799bd2 MFH: The exact message differs on different systems 2008-02-10 23:37:03 +00:00
Ilia Alshanetsky
a28b1f6d3a Possible fix for bug #43861 2008-02-10 14:49:23 +00:00
Johannes Schlüter
824b19a4d8 MFH: Fix build on Solaris 2008-02-09 21:59:17 +00:00
Dmitry Stogov
3ea9c13c4b Improved md5() implementation (Solar Designer) 2008-02-08 09:11:17 +00:00
Jani Taskinen
7e00a410b3 fix test 2008-02-07 13:44:50 +00:00
Jani Taskinen
3493b0734d MFH 2008-02-07 12:15:53 +00:00
Ilia Alshanetsky
87eb2a9ec3 New param parsing API 2008-02-07 02:08:45 +00:00
Marcus Boerger
b7b41a6612 - MFH Fix missing check and tests 2008-02-06 20:40:19 +00:00
Jani Taskinen
de499c965f MFH 2008-02-06 19:13:56 +00:00
Jani Taskinen
d2b77f5cf3 MFH:- Fixed bug in handling arrays which caused the original array being modified too. 2008-02-06 19:06:58 +00:00
Andrey Hristov
c2a5e180c7 Fix a test 2008-02-06 15:34:35 +00:00
Andrey Hristov
9790d7bfe8 MFH: Fix a compatibility bug and a failing test 2008-02-06 14:12:32 +00:00
Andrey Hristov
72c97a14e5 MFH: Fix test 2008-02-06 13:01:58 +00:00
Andrey Hristov
1caa85a682 Pconnect working with mysqli_real_connect(). To less failing tests. 2008-02-06 11:34:44 +00:00
Zoe Slattery
a6fe8d8ca7 Fixing 32 bit specific 2008-02-06 09:36:58 +00:00
Zoe Slattery
a111cabedc Tests for assorted Maths functions 2008-02-06 08:44:24 +00:00
Marcus Boerger
f23526528e - MFH Add new test 2008-02-05 19:08:42 +00:00
Ilia Alshanetsky
6e9ef8e316 Fixed bug #44046 (crash inside array_slice() function with an invalid
by-ref offset).
2008-02-05 15:58:27 +00:00
Robert Nicholson
178839f667 - fix arsort_variation3.phpt which was missing its EXPECT section 2008-02-05 11:19:17 +00:00
Marcus Boerger
95262f8ac3 - MFH Really last flag change (got confused with code) 2008-02-04 21:37:47 +00:00
Jani Taskinen
8a70a554d6 MFH: - Fixed bugs #43915, #43923 and #44019, a tiny performance issue fixed too 2008-02-04 20:45:20 +00:00
Marcus Boerger
dc8bfcaade - MFH Update docu 2008-02-04 20:40:47 +00:00
Marcus Boerger
8f6a6a800e - MFH Fix/add folding markers 2008-02-04 19:40:49 +00:00
Marcus Boerger
81a5389af7 - MFH Really fix flag handling 2008-02-04 19:33:10 +00:00
Marcus Boerger
b7a04d786f - MFH Fix #44018 (RecursiveDirectoryIterator options inconsistancy) 2008-02-04 18:46:13 +00:00
Andrey Hristov
2b6e11b555 Simplify unique string generation and plug a leak. 2008-02-04 17:55:06 +00:00
Andrey Hristov
2d5e8a1e55 Fix a leak, memory warning and failing test case. 2008-02-04 17:33:46 +00:00
Marcus Boerger
a547c556b6 - MFH Fix default flag value in contructor 2008-02-04 17:19:07 +00:00
Marcus Boerger
36caad5628 - MFH Fix messages and tests 2008-02-04 17:07:07 +00:00
Marcus Boerger
fdf95a00dc - CS/WS 2008-02-04 16:48:06 +00:00
Sebastian Bergmann
00586196de MFH: Add missing Reflection API metadata for DOM classes. 2008-02-04 15:22:59 +00:00
Robert Nicholson
a9418da4fc - added some new tests for arsort 2008-02-04 00:05:24 +00:00
Ilia Alshanetsky
c466f232bc Fixed bug #44028 (crash inside stream_socket_enable_crypto() when enabling
encryption without crypto type)
2008-02-03 16:14:16 +00:00
Marcus Boerger
f3d7570197 - MFH Rename it again
[DOC]
- MFH Add config_get_hash()
2008-02-03 14:45:00 +00:00
Marcus Boerger
fa94dabd97 - MFH Rename dump_config_hash() to get_config_hash() as it doesn't dump 2008-02-03 14:35:59 +00:00
Felipe Pena
e2c7b27130 Fixed reference problem (variable were converted) 2008-02-03 14:30:25 +00:00
Derick Rethans
a61e5f897c - MFH: Support "first/last day of <month>" style texts. 2008-02-03 14:15:07 +00:00
Marcus Boerger
b628fc219a - MFH Synch directory changes
[DOC]
# Class FilesystemIterator was introduced to have a better DirectoryIterator
# without having to change DirectoryIterator or RecursiveDirectoryIterator.
# On top of FilterIterator the new GlobIterator was introduced. This one allows
# to implement Countable(). But a glob stream flattens all structure, so it
# cannot be derived from RedursiveIterator. With the new structure all children
# of FilesystemIterator have nearly the same behavior. Just their capabilities
# are a bit different. Check out new inheritance tree on SplFileInfo:
#
# [marcus@frodo PHP_5_3]$ php ext/spl/examples/class_tree.php SplFileInfo
# make: `sapi/cli/php' is up to date.
# SplFileInfo
# |-DirectoryIterator (Iterator)
# | \-FilesystemIterator
# |   |-GlobIterator (Countable)
# |   \-RecursiveDirectoryIterator (RecursiveIterator)
# |     \-Phar (ArrayAccess, Countable)
# |-PharFileInfo
# \-SplFileObject (RecursiveIterator, SeekableIterator)
#   \-SplTempFileObject
2008-02-02 23:09:38 +00:00
Marcus Boerger
cd2953db57 - MFH Show interfaces 2008-02-02 21:02:25 +00:00
Derick Rethans
3121962808 - MFH: Make timezone_open() work again. 2008-02-02 17:25:54 +00:00
Marcus Boerger
1cc463b88a - Fix tests 2008-02-02 15:19:06 +00:00
Marcus Boerger
02b13cdd8a - Fix the expectations. Tests still fails because of something else. 2008-02-02 14:37:29 +00:00
Marcus Boerger
f3c1a9fa02 - It appears HEAD needs to be MFB'ed and this needs another fix now 2008-02-02 14:03:13 +00:00
Marcus Boerger
14b087192c - MFH Use new parameter parsing API 2008-02-02 13:58:31 +00:00
Marcus Boerger
30eb2dcabf - MFH Fix tests 2008-02-02 13:33:41 +00:00
Rasmus Lerdorf
0530f9e327 Countable requires SPL 2008-02-02 09:53:44 +00:00
Felipe Pena
ad476edcee Fix the fix 2008-02-02 04:03:03 +00:00
Felipe Pena
1e294b1d37 Fix tests (new error message) 2008-02-02 03:20:51 +00:00
Felipe Pena
5b0a79cfba Fix tests (new error message) 2008-02-02 03:15:46 +00:00
Felipe Pena
e88c5b082b Fix tests (new error message) 2008-02-02 03:00:57 +00:00
Felipe Pena
d34f0a08f8 Fix tests (new error message) 2008-02-02 02:45:44 +00:00
Felipe Pena
8241db1b21 Fix tests (new error message) 2008-02-02 02:36:08 +00:00
Felipe Pena
0588ddce2a Fix tests (new error message) 2008-02-02 02:29:27 +00:00
Rasmus Lerdorf
c075476810 Another batch of fixed tests 2008-02-02 01:51:17 +00:00
Felipe Pena
17e1a396c1 Ops, fix the fix 2008-02-02 01:48:29 +00:00
Felipe Pena
315f534c02 Fix tests (new error message) 2008-02-02 01:40:45 +00:00
Rasmus Lerdorf
54e98bbb97 Fix a few more tests 2008-02-02 01:31:18 +00:00
Rasmus Lerdorf
1ee260b121 Fix test and convert to UNIX line endings 2008-02-02 01:01:04 +00:00
Rasmus Lerdorf
b9954bef45 Fix some tests 2008-02-02 00:29:17 +00:00
Marcus Boerger
7cced8f520 - Fix build, thanks Christian Rodriguez for noticing
# I wonder why the other machine didn't catch this
2008-02-01 23:46:36 +00:00
Antony Dovgal
b4b0816578 fix test, add 64bit version 2008-02-01 23:19:16 +00:00
Marcus Boerger
e8a8acdf39 [DOC]
- Fix callable/static mess, the following will now all result in a E_STRICT
  . binding a dynamic function as a static callback
  . static call of a dynamic function
  . is_callable() on a static binding to a dynamic function
# [marcus@frodo PHP_5_3]$ php -a -d error_reporting=8191
# make: `sapi/cli/php' is up to date.
# Interactive shell
#
# php > class t{ function f() { echo "Funny\n"; } }
# php > $c = array("t","f");
# php > call_user_func($c);
#
# Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method t::f() cannot be called statically in php shell code on line 1
# Funny
# php > var_dump(is_callable($c));
#
# Strict Standards: Non-static method t::f() cannot be called statically in php shell code on line 1
# bool(true)
# php > t::f();
#
# Strict Standards: Non-static method t::f() should not be called statically in php shell code on line 1
# Funny
# php >
2008-02-01 21:27:55 +00:00
Zoe Slattery
84be2df52a A few new tests for math functions - Note the "constants" test will fail on Windows - Bug 42143. 2008-02-01 17:21:18 +00:00
Robert Nicholson
a7de596df2 - a few more gd tests (committed on behalf of andy wharmby) 2008-02-01 16:33:17 +00:00
Josie Messa
51fe79c055 - Committing new tests for MBString extension.
More details can be found here: http://news.php.net/php.qa/62382
2008-02-01 15:29:59 +00:00
Felipe Pena
8c76a00f93 New tests and fix tests (new error message) 2008-02-01 13:41:19 +00:00
Felipe Pena
79cfa91a43 MFH: New parameter 'before_needle' 2008-02-01 12:28:44 +00:00
Christopher Jones
680cf8e994 MFH: New test for old, suspended bug 2008-01-31 22:03:23 +00:00
Rob Richards
d1459b8554 MFH: fix bug #42369 (Implicit conversion to string leaks memory)
add test
2008-01-31 21:58:57 +00:00
Rasmus Lerdorf
7b307cc256 Typo 2008-01-31 21:36:40 +00:00
Rasmus Lerdorf
9687442341 These two tests both need a timezone 2008-01-31 21:03:32 +00:00
Ilia Alshanetsky
353d1ea039 PDO is hardly experimental 2008-01-31 20:50:27 +00:00
Christopher Jones
96e9484907 Update test environement description. Typos 2008-01-31 20:21:27 +00:00
Nuno Lopes
c10e57b11e try to fix build with gcc 4: take #2 2008-01-31 18:46:03 +00:00
Rasmus Lerdorf
3275f1b057 There are plenty of other non-Windows operating systems 2008-01-31 18:31:54 +00:00
Nuno Lopes
5fce0e51fd try to fix build with gcc 4: take #1 2008-01-31 18:30:42 +00:00
Marcus Boerger
9b3eb44f79 - fix flag handling in is_callable() 2008-01-31 11:21:15 +00:00
Marcus Boerger
55b17871a4 - MFH Fix test 2008-01-31 07:44:01 +00:00
Elizabeth Marie Smith
78a9df9004 Fix windows build 2008-01-31 02:35:44 +00:00
Christopher Jones
87dcb8df8e Merge DRCP & FAN support. PHP6 sync will happen later 2008-01-31 01:33:30 +00:00
Marcus Boerger
116539a5d1 - WS 2008-01-30 23:45:12 +00:00
Marcus Boerger
ef9453546e - Sub path may be NULL 2008-01-30 23:08:13 +00:00
Marcus Boerger
0b71904acc - Fixed glob:// stream handling in (Recursive)DirectoryIterator. 2008-01-30 20:31:07 +00:00
Ilia Alshanetsky
92ebb2e282 Fixed bug #43981 (gmp_div_r() does not preserve the sign of 1st argument) 2008-01-30 18:25:51 +00:00
Zoe Slattery
1e29793386 Removing superfluous --INI-- section 2008-01-30 17:50:38 +00:00
Felipe Pena
544f6dfd49 Fix test 2008-01-30 16:06:44 +00:00
Rob Richards
8a64e9de36 MFH: fix bug #41562 (SimpleXML memory issue) 2008-01-30 15:28:46 +00:00
Felipe Pena
6a2f085f1e Fix test 2008-01-30 14:49:20 +00:00
Felipe Pena
2c90b7127c Revert 2008-01-30 14:45:20 +00:00
Felipe Pena
b9df996a3b Fix the fix (isInstance - order of parameters) 2008-01-30 13:42:01 +00:00
Antony Dovgal
ca44081e6b fix ZTS build 2008-01-30 12:50:59 +00:00
Felipe Pena
7ef18ce15d Fix tests 2008-01-30 11:43:10 +00:00
Felipe Pena
8452585fc8 Fixed Bug#43926 (isInstance() isn't equivalent to instanceof operator) 2008-01-30 10:27:28 +00:00
Dmitry Stogov
240fa244c3 Improved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:41:12 +00:00
Rasmus Lerdorf
71efa394a6 fix typo 2008-01-30 08:52:17 +00:00
Dmitry Stogov
1a41611372 ZTS fix 2008-01-30 08:10:17 +00:00
Sebastian Bergmann
0c749ab10a MFH: Fix arginfo. 2008-01-30 06:48:13 +00:00
Stanislav Malyshev
b4443f35ff fix #43941: invalid utf-8 not accepted 2008-01-30 03:17:57 +00:00
Rasmus Lerdorf
9ae934d5c4 Fixed bug #43957 (utf8_decode() bogus conversion of partial multibyte UTF8 char) 2008-01-29 23:21:11 +00:00
Rob Richards
d7622b8ecf MFH: fix win32 build 2008-01-29 22:06:43 +00:00
Stanislav Malyshev
223a53fdeb rm cruft 2008-01-29 22:03:01 +00:00
Sebastian Bergmann
9d86113b20 MFH: Fix arginfo and prototype. 2008-01-29 21:21:20 +00:00
Nuno Lopes
3f7b92c06c upgrade to PCRE 7.6.
#changes to code are minimal. this fixes a security bug
2008-01-29 20:18:02 +00:00
Derick Rethans
99c56139c7 - That should have been ||. 2008-01-29 20:14:18 +00:00
Derick Rethans
81f2dc39bd - Make whitespace the same as in HEAD. 2008-01-29 20:12:53 +00:00
Derick Rethans
6878464e06 - MFH: Fixed bug #43960 (strtotime() returns timestamp in the future when given
a bogus string).
2008-01-29 20:10:24 +00:00
Andrey Hristov
829831f5ba Fix the build, add a missing file 2008-01-29 18:11:46 +00:00
Sebastian Bergmann
c08da2a66d MFH: Add Reflection API metadata for DOMXPath. 2008-01-29 15:55:23 +00:00
Sebastian Bergmann
8b87b2b12b MFH: Add Reflection API metadata for DOMNode. 2008-01-29 15:23:18 +00:00
Dmitry Stogov
a55d235fef missing spaces 2008-01-29 12:25:25 +00:00
Andrey Hristov
00877eff13 Moved initialization code into a function. 2008-01-29 11:59:53 +00:00
Dmitry Stogov
382f1dddfa Fixed bug #43505 (Assign by reference bug) 2008-01-29 10:45:07 +00:00
Dmitry Stogov
58433c9b11 Fixed bug #43918 (Segmentation fault in garbage collector) 2008-01-29 09:59:42 +00:00
Robert Nicholson
1d6ac15b3d - MFH compact_variation1.phpt - fix for bug #29044 2008-01-29 08:50:43 +00:00
Sebastian Bergmann
98527ad549 MFH: Add Reflection API metadata for XSLTProcessor. 2008-01-29 07:51:43 +00:00
Ilia Alshanetsky
3eb387155a Simplify code 2008-01-29 01:17:30 +00:00
Antony Dovgal
183ed5b686 MFH: fix #43596 (array_slice(): $length arg ignored when it is 0) 2008-01-29 00:39:46 +00:00
Andrey Hristov
d95c29d7f6 Moving extension specific code to php_mysqlnd.c as the old rule is. 2008-01-28 23:23:08 +00:00
Antony Dovgal
89273e1482 add test 2008-01-28 23:07:45 +00:00
Antony Dovgal
37a607c7f8 fix #43927 (koi8r is missing from html_entity_decode())
patch by andy at demos dot su
2008-01-28 23:07:12 +00:00
Andrey Hristov
2033c1b7f2 some config.w32 fixes
moved mysqlnd's block allocator to a separate file and also now
it's part of the connection, no MT problems.
2008-01-28 22:50:06 +00:00
Marcus Boerger
e9914e9d06 - MFH Make SplObjectStorage implement ArrayAccess
[DOC]
2008-01-28 22:48:15 +00:00
Derick Rethans
a1180690a4 - MFH: Added two optional parameters to timezone_transitions_get() /
DateTimeZone::getTranstions() to limit the range of transitions being
  returned.
2008-01-28 21:12:41 +00:00
Derick Rethans
afd01152f4 - Fixed test case. 2008-01-28 21:00:14 +00:00
Derick Rethans
19f6fcce87 - Add missing folding tags. 2008-01-28 20:35:17 +00:00
Derick Rethans
ffbe501ad2 - MFH: Added date_timestamp_get() / DateTime::getTimestamp() to retrieve the
Unix timestamp belonging to a date object.
2008-01-28 20:30:51 +00:00
Andrey Hristov
7932ccba6d More optimizations - less MM calls
Clearly separated fetching (physical reading) from decoding phases (data
interpretation). Threaded fetching added but disabled as needs more work for
Windows. For Linux needs some touches to add pthreads if this is enabled,
probably with a compile-time switch.
The code reorganisation makes it easy to add also async API, similar to
cURL's one.
2008-01-28 18:25:50 +00:00
Nuno Lopes
47e009d392 remove unused PHP_MYSQL_API macro 2008-01-28 11:16:00 +00:00
Derick Rethans
4b7f5f9630 - MFH: Fixed parsing of timezones 2008-01-27 22:16:48 +00:00
Marcus Boerger
a339867860 MFH:
[DOC] Add ability to store associative infor with objects in SplObjectStorage
- Add second parameter to SplObjectStorage::attach()
- Add SplObjectStorage::setInfo()
- Add SplObjectStorage::getInfo()
2008-01-27 18:07:20 +00:00
Derick Rethans
dc04a42e5c - MFH: Update proto 2008-01-27 17:44:29 +00:00
Derick Rethans
216d0cb0ff - MFH: Added support for selectively listing timezone identifiers through
timezone_identifiers_list() / DateTimezone::listIdentifiers().
2008-01-27 17:29:14 +00:00
Nuno Lopes
89d271a7b0 fix test 2008-01-27 17:01:11 +00:00
Ilia Alshanetsky
ec70cb71f4 WS 2008-01-27 17:00:37 +00:00
Nuno Lopes
500ee29e6c be more strict in the skipif 2008-01-27 16:54:22 +00:00
Nuno Lopes
d16f4cad0a fix a bunch of SKIPIF (check for non available locales) 2008-01-27 16:45:43 +00:00
Rob Richards
2e58beee96 MFH: add missing export 2008-01-27 16:33:01 +00:00
Marcus Boerger
5081a15490 - Minor rearrange and fix potential issue with double adding 2008-01-27 15:23:14 +00:00
Marcus Boerger
6b778b0def - MFH revert over constfying 2008-01-27 15:04:41 +00:00
Etienne Kneuss
bfe7a47b15 MFH: Typo 2008-01-27 14:08:06 +00:00
Etienne Kneuss
36305912e9 MFH: -Pointer doesn't move if we're moving forward and shifting at the same time
-Userland implementation
-Doxygen doc
2008-01-27 13:59:51 +00:00
Etienne Kneuss
6a7074c837 MFH: Iterator implementation in SplDoublyLinkedList, SplStack, SplQueue 2008-01-26 23:04:43 +00:00
Nuno Lopes
65e86e459a more const kewywording
remove spl_functions_none var (wast used anywhere
2008-01-25 20:29:48 +00:00
Nuno Lopes
00e7f90796 const more 216 bytes (on a 32-bits host) 2008-01-25 20:20:07 +00:00
Nuno Lopes
d962918299 const'ify more 372 bytes 2008-01-25 20:11:53 +00:00
Nuno Lopes
678e919635 const'ify more 768 bytes 2008-01-25 20:04:10 +00:00
Nuno Lopes
b89396b11e move about 3K of data to the const area. also reduce memory usage (~ -266 bytes :P) 2008-01-25 19:57:57 +00:00
Nuno Lopes
2c1a5c0248 spread some static keywords 2008-01-25 19:38:26 +00:00
Scott MacVicar
23e3baf62d Fix html_entity_decode when converting numeric html entities, the numeric values for the extended characters don't correspond to that of windows-1251 and cp866. 2008-01-25 18:10:45 +00:00
Rob Richards
3e69124430 backport functionality to call user functions within XPath
add test
2008-01-25 16:13:04 +00:00
Rob Richards
b65adbb4fb MFH: fix win32 compile 2008-01-25 15:54:58 +00:00
Rob Richards
90f168deae MFH: fix zts build 2008-01-25 15:52:48 +00:00
Antony Dovgal
2907ae9d73 MFH: endless loop (and stack overflow) protection in compact() 2008-01-25 13:42:36 +00:00
Ilia Alshanetsky
1a7b75eb11 Adjust new chr() param handling to address chr("") calls 2008-01-25 01:31:10 +00:00
Robert Nicholson
be2ae4e76f - Add a basic test for array_shuffle() 2008-01-25 00:32:22 +00:00
Robert Nicholson
3b8256dce4 - add some basic tests for array diff and intersection functions 2008-01-25 00:13:49 +00:00
Antony Dovgal
39b585001a MFH 2008-01-24 23:02:07 +00:00
Robert Nicholson
c09d8d931f - New tests for compact() 2008-01-24 14:51:20 +00:00
Rob Richards
abc8920bb6 MFH: fix zts build 2008-01-24 14:09:36 +00:00
Andrey Hristov
c52b63ea1d Merge with internal version 2008-01-23 19:11:28 +00:00
Antony Dovgal
67c8d8d95e MFH: fix #43559 (array_merge_recursive() doesn't behave as expected with duplicate NULL values)
patch by Felipe
2008-01-23 12:09:52 +00:00
Antony Dovgal
d008f576b0 use expectF 2008-01-23 09:55:53 +00:00
Antony Dovgal
ff183efe61 fix test 2008-01-23 09:54:38 +00:00
Antony Dovgal
a5505302e4 fix leak appearing when appending data to unnamed attribute 2008-01-23 09:52:57 +00:00
Ilia Alshanetsky
9f35febdf1 Fixed bug #43912 (Interbase column names are truncated to 31 characters) 2008-01-23 01:22:24 +00:00
Marcus Boerger
10a0f20652 - MFH Bugfix #37076 (SimpleXML ignores .=). (felipe, marcus) 2008-01-22 20:42:22 +00:00
Etienne Kneuss
de2bb0f497 MFH: Typos (Dan Scott)
ctor inside the structure. dtor/ctor used on push/pop for better potential interoperability
2008-01-22 19:55:31 +00:00
Antony Dovgal
8d2ad5c12b add new test 2008-01-22 15:42:36 +00:00
Ilia Alshanetsky
2be1ae5415 use new param parsing API 2008-01-22 01:34:24 +00:00
Etienne Kneuss
7366d48c04 MFH: Add doxygen docs for SplDoublyLinkedList, SplStack, SplQueue 2008-01-21 21:55:55 +00:00
Ilia Alshanetsky
73d031a390 Optimize wddx boolean encoding 2008-01-20 15:33:24 +00:00