Commit Graph

40964 Commits

Author SHA1 Message Date
Antony Dovgal
147967fd66 fix test 2008-03-19 14:00:47 +00:00
Felipe Pena
2f777042a0 Fixed error message (%s -> %v) 2008-03-19 14:00:46 +00:00
Antony Dovgal
6089f98338 fix typo 2008-03-19 12:44:05 +00:00
Antony Dovgal
da036996be make use of zend_atol() 2008-03-19 12:40:48 +00:00
Antony Dovgal
500e17c5c1 add zend_atol() and use it instead of zend_atoi() where applicable 2008-03-19 12:40:20 +00:00
Antony Dovgal
4ce259fc1a fix test 2008-03-19 12:36:00 +00:00
Felipe Pena
f0c4283f47 MFB: Fixed bug #43614 (incorrect processing of numerical string keys of array in arbitrary serialized data) 2008-03-19 03:12:39 +00:00
eee826d115 ChangeLog update 2008-03-19 01:31:36 +00:00
Ilia Alshanetsky
8c039bd8cc MFB: Bug #44445 (email validator does not handle domains starting/ending
with a -)
2008-03-18 23:32:56 +00:00
Andrey Hristov
86cc5d9325 MFB : fix the build 2008-03-18 17:32:03 +00:00
Andrey Hristov
e53f44b9bd MFB - Bug #44352 mysqli_connect_error() false negative for host errors 2008-03-18 16:58:43 +00:00
Robin Fernandes
da591e8eca Adding more tests for serialize() and unserialize(). 2008-03-18 15:12:42 +00:00
Dmitry Stogov
d390956ccb Removed hack (we don't need to modify class name).
(the problem is covered by Zend/tests/ns_056.phpt)
2008-03-18 11:37:15 +00:00
Dmitry Stogov
ea9305c543 Implemented concept of "delayed early binding" that allows opcode caches to perform class declaration (early and/or run-time binding) in exactly the same order as vanila php.
The following pseudo-code explains how it should be used in opcode cache.

function cache_compile_file($filename) {
        if (!is_cached($filename)) {
                ...
                orig_compiler_options = CG(compiler_optins);
                CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES |
                                        ZEND_COMPILE_DELAYED_BINDING;
                $op_array = orig_compile_file($filename);
                CG(compiler_options) = orig_copiler_options;
                ...
        } else {
                $op_array = restore_from_cache($filename);
        }
        zend_do_delayed_early_binding($op_array);
}
2008-03-18 08:36:49 +00:00
Dmitry Stogov
a0378d3514 Fixed test 2008-03-18 06:44:54 +00:00
99e6fc1463 ChangeLog update 2008-03-18 01:31:32 +00:00
Felipe Pena
2c7b9a55cb Fix build 2008-03-18 00:37:35 +00:00
Stanislav Malyshev
8a6c836497 fix integer overflow in lenght calculation 2008-03-17 23:07:55 +00:00
Ilia Alshanetsky
8b32865ffc MFB: Properly address incomplete multibyte chars inside escapeshellcmd() 2008-03-17 23:02:35 +00:00
Nuno Lopes
dfb8b00838 MFB: detect duplicate sections 2008-03-17 17:20:27 +00:00
Antony Dovgal
a8127d612d fix test 2008-03-17 15:35:25 +00:00
Gwynne Raskind
c9fb0a42fa Fix bug #44443 (cvsclean fails on Darwin 9) 2008-03-17 15:21:58 +00:00
Antony Dovgal
be6f9c2bb5 return empty string of correct type if __toString() returned invalid value 2008-03-17 15:05:28 +00:00
Antony Dovgal
42120518c1 fix tests 2008-03-17 14:59:16 +00:00
Antony Dovgal
abbd1e8ece fix #39127i (Old-style constructor fallbacks produce strange results) 2008-03-17 14:53:43 +00:00
Antony Dovgal
9d255b6f2f fix test 2008-03-17 14:05:32 +00:00
Josie Messa
149fe30489 - new tests for ctype functions 2008-03-17 09:54:36 +00:00
Antony Dovgal
044f39293b fix 5_3 ZTS build 2008-03-17 08:55:56 +00:00
5e613d51c4 ChangeLog update 2008-03-17 01:31:43 +00:00
Marcus Boerger
a1cbab9142 - Rewrite scanner to be based on re2c instead of flex
The full patch is available as:
  http://php.net/~helly/php-re2c-5.3-20080316.diff.txt
  This is against php-re2c repository version 98
  An older patch against version 97 is available under:
  http://php.net/~helly/php-re2c-97-20080316.diff.txt
2008-03-16 21:06:54 +00:00
Ilia Alshanetsky
6cbde65afa MFB: Remove unused variable 2008-03-16 15:15:47 +00:00
Derick Rethans
ee6f62b1cb - Updated to version 2008.1 (2008a) 2008-03-16 07:20:17 +00:00
e958005998 ChangeLog update 2008-03-16 01:31:38 +00:00
Felipe Pena
af9b1c3376 MFB: Fixed bug #44440 (st_blocks undefined under BeOS) 2008-03-15 10:34:12 +00:00
27aa725005 ChangeLog update 2008-03-15 01:33:00 +00:00
Lukas Smith
ad97f0b357 updated due to the creation of the primary testers mailinglist 2008-03-14 21:52:09 +00:00
Dmitry Stogov
90e570be3b Improve GC to support garbage created in destructors during objects utilization 2008-03-14 18:37:17 +00:00
Felipe Pena
6779560ec5 Fix build (ZTS) 2008-03-14 17:57:44 +00:00
Derick Rethans
56ba1cf8fa - Allow datetime objects to be serialized and woken up.
- Implemented __set_state().
2008-03-14 16:18:25 +00:00
Dmitry Stogov
3fe5fcaabc Removed commented code and unnecessary inline function 2008-03-14 13:35:54 +00:00
Dmitry Stogov
2b82e0d78a Fixed GC bug 2008-03-14 13:21:21 +00:00
Antony Dovgal
6ec12a4794 check if return value of write() is -1 and abort upload in this case setting the correct error status 2008-03-14 13:10:22 +00:00
7ae78a86c6 ChangeLog update 2008-03-14 01:31:35 +00:00
Marcus Boerger
3264a25717 - Fix possible memory corruption 2008-03-13 19:45:22 +00:00
Marcus Boerger
58f7de98f4 - Fix build 2008-03-13 19:43:14 +00:00
Ilia Alshanetsky
12c56d0764 MFB: MFB: Fixed bug #43677 (Inconsistent behaviour of include_path set with
php_value).
2008-03-13 16:01:46 +00:00
Derick Rethans
cc07cc0bd9 - MF53: Fixed bug #44257 (timelib_tz_lookup_table must use float for
gmtoffset).
2008-03-13 16:00:18 +00:00
Derick Rethans
c7703dec10 - MF53: Added support for parsing date/time strings returned by MS SQL with strtotime(). 2008-03-13 15:54:53 +00:00
Dmitry Stogov
ab77e14ad2 Disable path resolution for filenames with stream wrappers
More careful check for relative pathes (./xxx and ../xxx)
2008-03-13 14:10:08 +00:00
Antony Dovgal
983ff657ba fix zts build 2008-03-13 09:57:49 +00:00