Commit Graph

3759 Commits

Author SHA1 Message Date
Andi Gutmans
82b4d74fd4 - Disable zend_mm for 5.0.0 2004-07-05 17:06:41 +00:00
beb3674b7a ChangeLog update 2004-07-04 00:32:20 +00:00
Andi Gutmans
c3e9cd9c91 - Should fix mem leak with ZEND_MM. I made this change a while ago and
- rolled it back but I don't remember why. Please test!
2004-07-03 00:16:39 +00:00
ae5301c5d5 ChangeLog update 2004-07-02 00:32:17 +00:00
Ilia Alshanetsky
2ba0608e48 Do not use alloca() where it can be easily abused by the users.
# This probably should go into reflection code as well.
2004-07-01 16:28:32 +00:00
f125cb60cc ChangeLog update 2004-06-26 00:32:25 +00:00
Wez Furlong
5aa568254a export zend stream functions for zend extensions under windows 2004-06-25 12:55:11 +00:00
2f94546824 ChangeLog update 2004-06-25 00:32:18 +00:00
Sara Golemon
a4032b68c6 Ease off on severity of new error (Using Resources as array offsets) 2004-06-24 16:35:34 +00:00
ca14c9b1af ChangeLog update 2004-06-24 00:32:21 +00:00
Sara Golemon
56b153390b BugFix #28879 Inconsistent behavior between explicit and implicit array creation.
Changes:

Throw E_WARNING "Illegal offset type" when explicitly creating
array elements with objects, arrays, or resorces as indexes.
This matches implicit creation w/ obj/arr indices.

Throw E_WARNING "Resource ID#%ld used as offset, casting to integer (%ld)"
when implicitly creating array with resource as index. (BC)
2004-06-23 23:20:44 +00:00
0e6607aa51 ChangeLog update 2004-06-20 00:32:22 +00:00
Sebastian Bergmann
f0903895c1 Reflection_* -> Reflection*. Patch by Timm Friebe. 2004-06-19 16:52:04 +00:00
8586e6505f ChangeLog update 2004-06-19 00:32:22 +00:00
Sara Golemon
2f7c5d30b5 Another typo in converting array index doubles to long. 2004-06-18 18:33:46 +00:00
George Schlossnagle
6d182a8456 fix for 28213.
class_name and call_type should be reinitialized on every loop iter.
2004-06-18 17:34:58 +00:00
cf8a8a3189 ChangeLog update 2004-06-18 00:32:27 +00:00
Sara Golemon
96a8b63865 String length in parse_parameters should be int 2004-06-17 18:23:47 +00:00
c9908cf81d ChangeLog update 2004-06-16 00:32:45 +00:00
Marcus Boerger
4fec06587b #28789: ReflectionProperty getValue() fails on public static members 2004-06-15 20:39:49 +00:00
313c153274 ChangeLog update 2004-06-15 00:32:13 +00:00
Marcus Boerger
afc5a6145c Need {} here 2004-06-14 19:09:42 +00:00
d0c4b3d3ec ChangeLog update 2004-06-11 00:34:13 +00:00
Marcus Boerger
4da11644de - Require a single white-space char after /** to start a doc comment that
way we prevent /*** from becoming a doc comment (as requested Derick).
2004-06-10 13:38:31 +00:00
Marcus Boerger
c756609658 Add missing declaration 2004-06-10 12:32:09 +00:00
Marcus Boerger
eb0cb6f6ed Small code layout change 2004-06-10 12:11:16 +00:00
Marcus Boerger
eefdd0ea49 Do not require NEWLINE at start of doccomment 2004-06-10 11:40:34 +00:00
Marcus Boerger
e8e4ff0aa1 Bugfix #28699: Reflection api bugs 2004-06-10 11:28:29 +00:00
622f7679f7 ChangeLog update 2004-06-10 00:32:42 +00:00
Marcus Boerger
4213153365 Fix Bug #28694 ReflectionExtension::getFunctions() crashes PHP 2004-06-09 19:25:42 +00:00
3fc91aff97 ChangeLog update 2004-06-08 00:32:15 +00:00
Andi Gutmans
0bdbbd379e - Go back to -dev (Shouldn't need another RC) 2004-06-07 18:57:34 +00:00
Andi Gutmans
6f47156228 - Roll RC3 2004-06-07 14:23:45 +00:00
1b80f44cf1 ChangeLog update 2004-06-07 00:32:20 +00:00
Stefan Esser
fb5cb59035 Fixed Zend Function Destructor to use correct TSRM handle. 2004-06-06 08:37:12 +00:00
ff5fca9aa0 ChangeLog update 2004-06-06 00:33:20 +00:00
Marcus Boerger
a6276a2414 Fix #28641: Instance of Interface 2004-06-05 14:59:21 +00:00
89ee6b45ad ChangeLog update 2004-06-04 00:34:01 +00:00
Andi Gutmans
02032ccf9f - Prepare for RC3RC2 2004-06-03 08:17:15 +00:00
40b17e6c5c ChangeLog update 2004-06-03 03:03:17 +00:00
Andi Gutmans
f7ca8821b2 - Don't use ZEND_MM in Windows 2004-06-02 15:05:10 +00:00
Stanislav Malyshev
176f6d8e6e fix incdec - make value's refcount non-zero when passing to
write_property - otherwise __set caller cleanup could kill it.
2004-06-02 12:48:19 +00:00
c59be44de1 ChangeLog update 2004-06-02 00:32:03 +00:00
Andi Gutmans
2e19f82a7f - If user error handler returns "false" then we relay to the built in error
handler
2004-06-01 11:45:46 +00:00
95910aa26c ChangeLog update 2004-06-01 00:32:37 +00:00
Marcus Boerger
9b8eee74d9 Refcount must not be set separatley again. 2004-05-31 21:49:52 +00:00
Marcus Boerger
20b60f49d9 Add missing initialization 2004-05-31 21:46:00 +00:00
Marcus Boerger
21315c08b7 Add missing initialization 2004-05-31 21:43:43 +00:00
Marcus Boerger
374ac86e33 #28589: Segfault in Reflection API 2004-05-31 21:38:01 +00:00
ba2b5623c3 ChangeLog update 2004-05-29 00:32:22 +00:00
Andrei Zmievski
915a990330 Allow user-defined error handlers to indicate whether default error
handler should be re-invoked, by returning true or false.
2004-05-28 17:28:33 +00:00
Marcus Boerger
0ef420a71e Prevent possible problems with illegal properties 2004-05-28 08:55:10 +00:00
Derick Rethans
877ecb3c81 - Make the default mask for user defined error handlers include ALL errors,
including E_STRICT.
2004-05-28 08:08:56 +00:00
7489718769 ChangeLog update 2004-05-28 00:31:45 +00:00
Andi Gutmans
e51105c6a6 - Back to RC3-dev until we roll final 2004-05-27 15:03:46 +00:00
Andi Gutmans
bca3e30484 - Fix problem with exceptions returning from include(). (Dmitry) 2004-05-27 11:59:58 +00:00
Andi Gutmans
5a9d648f1f - RC3RC1 2004-05-27 11:39:35 +00:00
e3e7ef94a5 ChangeLog update 2004-05-27 00:32:10 +00:00
Wez Furlong
6f5c0992a3 Fix leak on systems where alloca isn't really alloca. 2004-05-26 22:19:44 +00:00
Andrei Zmievski
81efd46186 Avoid unnecessary and silly copying of constant name when registering. 2004-05-26 21:01:37 +00:00
Andi Gutmans
97dee3a8c2 - Fix memory manager problem 2004-05-26 20:55:16 +00:00
Sebastian Bergmann
2fbfcd7482 Update Reflection API class names. Whitespace fixes. 2004-05-26 07:00:39 +00:00
c50a4252cd ChangeLog update 2004-05-26 00:33:37 +00:00
Andi Gutmans
2917ff1e7d - Nuke unused decleration 2004-05-25 14:19:19 +00:00
Andi Gutmans
02884a08f5 - More fixes 2004-05-25 10:09:46 +00:00
Andi Gutmans
6704ab4b35 - Make fix compile. 2004-05-25 09:25:22 +00:00
Andi Gutmans
db90fc4c90 - Fix memory leak in mem cache in conjunction with Zend MM. How come no one
- noticed this? :)
2004-05-25 08:33:11 +00:00
9926a97e26 ChangeLog update 2004-05-24 00:32:46 +00:00
Andi Gutmans
0b0c5d3fac - Fix problem with object being destroyed more than once 2004-05-23 20:33:09 +00:00
Andi Gutmans
ef9878647d - Fix the following script (it crashed):
<?php
   class ErrorHandler {
     function __construct() {
       set_error_handler(array(&$this, 'handle'));
     }

     function __destruct() {
       restore_error_handler();
     }

     function handle($code, $msg, $file, $line, $locals) {
     }
   }

   new ErrorHandler();
?>
2004-05-23 20:27:32 +00:00
3d9c47eed0 ChangeLog update 2004-05-21 00:39:44 +00:00
Wez Furlong
3ec72d3ed9 Revert; obviously I missed the function at the bottom of the file... 2004-05-20 17:59:27 +00:00
Wez Furlong
892ec5f535 Export this, so extensions may throw their own exception objects that
they have already instantiated.
2004-05-20 17:41:09 +00:00
bd29f379e7 ChangeLog update 2004-05-19 00:34:15 +00:00
Marcus Boerger
c8e72410be - Need to operate on module pointer in hash table 2004-05-18 21:19:15 +00:00
Wez Furlong
d80297b251 Fix bug #28438: win32 build fails in non-zts mode 2004-05-18 20:14:54 +00:00
Stanislav Malyshev
da26db3054 Z_TYPE_P is for zvals 2004-05-18 16:13:57 +00:00
Wez Furlong
b949bfe651 Register according to the type specified by the module.
(Helps to fix dl() bug)
2004-05-18 15:26:13 +00:00
4d7b0e114d ChangeLog update 2004-05-18 00:35:47 +00:00
Sara Golemon
b094db390e Bugfix#28404 When type is double we need to access dval, not lval 2004-05-18 00:04:22 +00:00
Andrei Zmievski
427561446f Revert the .ini vars patch. Will have to try again next Christmas
apparently.
2004-05-17 20:09:37 +00:00
Andrei Zmievski
26eaab7641 Fix the apparent bug (; at the end of parse rule block). 2004-05-17 17:12:07 +00:00
Wez Furlong
3a4f33e31f As discussed with Andi, add this helper API for setting the object pointer from
within the constructor.

Please read the comment for notes about how to use it; in general, you don't
need it, so don't use it.
2004-05-17 11:27:16 +00:00
72d12fb320 ChangeLog update 2004-05-15 00:36:05 +00:00
Andrei Zmievski
e97f733515 Adding ability to refer to existing .ini variables from within .ini
files. Example:

open_basedir = ${open_basedir} ":/new/dir"
2004-05-14 20:58:15 +00:00
b30bc204c9 ChangeLog update 2004-05-13 00:59:25 +00:00
Marcus Boerger
aa7454aba4 - Centralize register and hash operations for startup/register_module
in new zend_register_module_ex().
2004-05-12 23:05:28 +00:00
Marcus Boerger
950ddcc9c2 - Revert to 1.249 2004-05-12 23:03:38 +00:00
8de360fdbe ChangeLog update 2004-05-12 00:33:00 +00:00
Andi Gutmans
4f77a021ce - Don't allow passing NULL to type hinted parameter. 2004-05-11 14:28:40 +00:00
9540037bb7 ChangeLog update 2004-05-11 00:32:24 +00:00
Zeev Suraski
428e722d88 - Fix comparison of objects
- Clarify convert_object_to_type()
2004-05-10 14:56:21 +00:00
Stefan Esser
2224276a13 Checking MEMORY_LIMIT before doing emalloc/erealloc solves several ugly problems. 2004-05-10 12:17:25 +00:00
fd0ec1cb45 ChangeLog update 2004-05-05 01:16:24 +00:00
Wez Furlong
d056b25c3f Add count_elements handler for overloaded objects. 2004-05-04 15:03:28 +00:00
fc4500f7ec ChangeLog update 2004-05-03 00:36:07 +00:00
Andi Gutmans
3317070941 - Fix comparison of two objects in non-compatibility mode. 2004-05-02 15:40:46 +00:00
17a4cea930 ChangeLog update 2004-05-02 00:35:19 +00:00
Marcus Boerger
f571b188f9 Don't load modules twice 2004-05-01 20:34:15 +00:00
66f14d696e ChangeLog update 2004-04-30 00:35:30 +00:00