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
Stanislav Malyshev
239ae7b5fc
Fix bug #27876
2004-04-29 09:47:29 +00:00
17d544632e
ChangeLog update
2004-04-29 00:36:06 +00:00
Marcus Boerger
63a490cd90
Fix c++ builds
2004-04-28 19:20:28 +00:00
b97ecc1820
ChangeLog update
2004-04-28 00:33:46 +00:00
Marcus Boerger
953a09969f
- Optional parameter to class_exists() that can be used to bypass
...
__autoload() which can be helpfull in __autoload() itself.
2004-04-27 18:09:40 +00:00
Marcus Boerger
11ce65aeaf
- Fix warnings
2004-04-27 15:47:55 +00:00
Marcus Boerger
e1cd098925
- no unneccessary retval initialization
...
- new c-level iterator handler invalidate_current that is optionally
used to clear internal caching like in implementation of Iterator
2004-04-27 15:38:07 +00:00
Andi Gutmans
e780c42f21
- Fix prototypes
2004-04-27 15:18:33 +00:00
e744a448ab
ChangeLog update
2004-04-27 00:35:21 +00:00
Marcus Boerger
54e5ad6b6e
Fix prototype
2004-04-26 18:54:18 +00:00
210244b339
ChangeLog update
2004-04-26 00:35:44 +00:00
Marcus Boerger
5fff6fa361
Skip correct amount of stack entries
2004-04-25 11:28:46 +00:00
Marcus Boerger
c5abb9b24c
Capture potential problem by error message
2004-04-25 11:25:25 +00:00
Marcus Boerger
286f75c891
Show number of classes
2004-04-25 11:22:56 +00:00
Andi Gutmans
87a9f7bdbb
- RC3-dev
2004-04-25 10:13:08 +00:00
Andi Gutmans
94c44ea9eb
- RC2
2004-04-25 08:32:50 +00:00
f977f8a90b
ChangeLog update
2004-04-24 00:34:14 +00:00
Andi Gutmans
399073f9d4
- Fixed bug #27923 . foreach() without a key should not check if the key
...
- is a reference (Adam)
2004-04-23 21:53:46 +00:00
f52e75742b
ChangeLog update
2004-04-22 00:35:20 +00:00
Andi Gutmans
206f0da25a
- RC2-dev
2004-04-21 10:34:27 +00:00
Andi Gutmans
40c20d3d72
- Prepare for RC2RC2 (if everything is OK especially Zeev's interface
...
- patch I'll roll RC2 tomorrow).
2004-04-21 09:59:52 +00:00
Zeev Suraski
242aa98b0a
Restore fatal error in case a method that's supposed to implement an
...
interface/abstract method, breaks its prototype
2004-04-21 08:44:37 +00:00
42f26b6fae
ChangeLog update
2004-04-21 00:35:41 +00:00
Andi Gutmans
173782b73e
- Fix bug #27283 - Exceptions where the last catch() statement was sometimes
...
- skipped.
2004-04-20 14:14:55 +00:00
e9c3ac04f5
ChangeLog update
2004-04-20 00:35:29 +00:00
Marcus Boerger
be85c9049b
show ini entries and classes for extensions.
2004-04-19 18:02:49 +00:00
20d52aa8dc
ChangeLog update
2004-04-18 00:34:17 +00:00
Marcus Boerger
d58fe0357d
Retval may not be set when zend_execute() is overloaded
2004-04-17 14:02:40 +00:00
355678208d
ChangeLog update
2004-04-16 00:36:43 +00:00
Marcus Boerger
a455d7846d
Handle failure in get_current_data
2004-04-15 21:32:34 +00:00
c4435ad7b2
ChangeLog update
2004-04-15 00:35:44 +00:00
Andi Gutmans
4774563966
- Add comment
2004-04-14 17:12:04 +00:00
Andi Gutmans
245dd7367d
- RC2-dev
2004-04-14 11:24:17 +00:00
Andi Gutmans
acc4cd17ce
- RC2RC1
2004-04-14 11:03:47 +00:00
66f5637723
ChangeLog update
2004-04-14 00:35:36 +00:00
Marcus Boerger
087ed66b69
Classnames shall start with an uppercase character
2004-04-13 20:25:49 +00:00
Zeev Suraski
2310acb57a
Fix debug_backtrace to show arguments again
...
We need to merge code from debug_backtrace & debug_print_backtrace at
some point!
2004-04-13 16:07:19 +00:00
Andi Gutmans
4f47f33402
- Fix API no of Engine 2. The first number is the engine version and the
...
- rest is the API_NO. This way engine2_api_no is always greater than
- engine1_api_no.
2004-04-13 15:27:36 +00:00
Andi Gutmans
979da66118
- Add hook for exception handler (Derick)
2004-04-13 15:19:21 +00:00
9d10977fd7
ChangeLog update
2004-04-13 00:34:35 +00:00
Marcus Boerger
33cdc9ed36
Fix order of macro parameter (synch with other macros)
2004-04-12 13:02:54 +00:00
Andi Gutmans
67502a2e7d
- modifyable -> modifiable
2004-04-12 12:22:26 +00:00
f95488a3c9
ChangeLog update
2004-04-10 00:34:29 +00:00
Andi Gutmans
4a24cbe276
- Fix bug #26441 (When __set() returned a value it corrupted it)
2004-04-09 14:42:06 +00:00
ca8dc5aca3
ChangeLog update
2004-04-09 00:33:16 +00:00
Marcus Boerger
8ccfca0c41
Bugfix #27519 Reflection_Function constructor crashes with non-existant
...
function's name
2004-04-08 20:37:06 +00:00
456c023e83
ChangeLog update
2004-04-08 00:35:41 +00:00
Andi Gutmans
c534a9e782
- Hopefully fix the debug_backtrace() code.
2004-04-07 15:29:09 +00:00
Andi Gutmans
7264ffe50d
- Fix crash bug in zend_debug_backtrace(). No idea how come this survived
...
- for so long....
2004-04-07 14:02:29 +00:00
1bee9e12fb
ChangeLog update
2004-04-05 00:35:43 +00:00
Ilia Alshanetsky
bf997c3eb3
Removed unused variable.
2004-04-04 18:28:59 +00:00
1ca4aca8fb
ChangeLog update
2004-04-04 01:32:18 +00:00
Andi Gutmans
8838b38fcb
Patch by Timm Friebe:
...
It changes
set_exception_handler() to accept the pseudo-type "callable" (instead of
a string referring to a global function).
Examples:
set_exception_handler('function_name');
set_exception_handler(array('class_name', 'static_method'));
set_exception_handler(array($instance, 'instance_method'));
This also makes set_exception_handler() more consistent with all the
other callback functionality, e.g. set_error_handler().
2004-04-03 21:50:12 +00:00
Andi Gutmans
911922432f
- Nuke more old junk
2004-04-03 17:01:13 +00:00
Andi Gutmans
1c7cfe739d
- Nuke code which hasn't been in use for ages.
2004-04-03 11:09:39 +00:00
9a6dad867d
ChangeLog update
2004-04-02 01:32:15 +00:00
Ilia Alshanetsky
c85843aec1
MFB: Revert patch for bug #27782 .
2004-04-01 22:07:42 +00:00
Ilia Alshanetsky
962c8cc9ef
Fixed reversed condition for error reporting.
2004-04-01 22:05:35 +00:00
1d5a6d3f9f
ChangeLog update
2004-04-01 01:32:08 +00:00
Dmitry Stogov
d00b6c7c99
Fixed BUG in zend_post_incdec_property
2004-03-31 15:16:00 +00:00
Andi Gutmans
1c5ea0d7df
- Fix typo
2004-03-31 13:11:19 +00:00
5de30d1066
ChangeLog update
2004-03-31 01:32:01 +00:00
Ilia Alshanetsky
ec4655f864
Fixed bug #27782 (Wrong behaviour of next(), prev() and each()).
2004-03-30 19:08:43 +00:00
Marcus Boerger
b4bc994680
TSRM fix
2004-03-30 18:39:53 +00:00
Marcus Boerger
5230321731
- Fix Reflection class names
...
- Add ability to get the extension an internal class was defined in
# This is the patch Andi and me used to search for underscrores...
2004-03-30 18:36:53 +00:00
ddb1fdaaa9
ChangeLog update
2004-03-30 01:31:57 +00:00
Marcus Boerger
dddf796edf
NAN==NAN doest work (Ard)
2004-03-29 23:08:36 +00:00
Marcus Boerger
afe794c0d6
Allow mixed case search for extensions
2004-03-29 18:48:59 +00:00
Sebastian Bergmann
c29e9277d0
-clonning+cloning
2004-03-29 15:20:50 +00:00
Dmitry Stogov
75d1e4ca7d
Implicit clonning strict warning was added for ze1_compatibility_mode
2004-03-29 15:00:31 +00:00
31b042714e
ChangeLog update
2004-03-29 01:32:05 +00:00
Ilia Alshanetsky
62c80d5e6e
Fixed bug #27731 (error_reporting() inside @ block fails to set
...
error_reporting level).
2004-03-29 00:50:52 +00:00
Marcus Boerger
16a4376f53
Use lowercasing here
2004-03-28 23:56:18 +00:00
Marcus Boerger
1bf1b64c37
Initialize the complete struct
2004-03-28 21:09:37 +00:00
Stanislav Malyshev
1293330175
check writability on =& too
2004-03-28 16:37:57 +00:00
Stanislav Malyshev
9be3c9388b
- call set handler if assigning to object having this handler
...
- cleanup: use macros to access object internal vars
2004-03-28 14:57:29 +00:00
Stanislav Malyshev
1cc4a69bbe
preserve ZEND_API in definition
2004-03-28 14:32:32 +00:00
Stanislav Malyshev
d61d11381b
declare as extern
2004-03-28 14:30:49 +00:00
Marcus Boerger
83675b6622
Fix memleak found by Timm
2004-03-28 13:55:06 +00:00
Stanislav Malyshev
9091bf8e5f
centralize object-to-scalar conversion, make it work with get handler
2004-03-28 12:08:26 +00:00
Stanislav Malyshev
3b8b43a947
try get handler on printable conversion
2004-03-28 12:06:10 +00:00
Stanislav Malyshev
bcf30a04f5
some more clear comments
2004-03-28 12:05:36 +00:00
Stanislav Malyshev
c331afa267
Use macros for object parts access
2004-03-28 10:44:48 +00:00
Dmitry Stogov
09d1d232fc
fix of fix related to __autoload. (ext/standard/tests/network/bug20134.phpt passes again)
2004-03-28 09:37:30 +00:00
3a836aafd9
ChangeLog update
2004-03-28 01:33:56 +00:00
Marcus Boerger
63338975d4
Even though it is uncommented it should be right
2004-03-27 14:06:28 +00:00
78900ab0f9
ChangeLog update
2004-03-27 01:32:30 +00:00
Marcus Boerger
aea24b2a79
Force destructors to have empty signatures
2004-03-26 20:05:35 +00:00
33b6d03bfe
ChangeLog update
2004-03-26 01:34:48 +00:00
Andi Gutmans
43d04ee291
- Fix build (thanks to Timm)
2004-03-26 00:26:19 +00:00
Derick Rethans
b2ac395957
- Remove old and deprecated <?php_track_vars?> scanner token.
2004-03-25 21:11:57 +00:00
Andi Gutmans
e3eb8bdd78
- If __construct() is defined then it will always take precedence over
...
- old style constructors.
2004-03-25 18:00:50 +00:00
Stanislav Malyshev
7a98f60e1b
no need to use result for RECV's - as in PHP4
2004-03-25 14:03:34 +00:00
Stanislav Malyshev
3c3dbc8873
Use get/set handlers for increment.decrement ops on objects
2004-03-25 13:03:04 +00:00
Andi Gutmans
d6d52f6f2e
/* The compiler is not-reentrant. Make sure we __autoload() only during run-time
...
* (doesn't impact fuctionality of __autoload()
*/
2004-03-25 11:30:02 +00:00
Dmitry Stogov
2bbba73606
Using ALLOC_HASHTABLE/FREE_HASHTABLE instead of emalloc/free.
2004-03-25 08:14:33 +00:00
e973875d98
ChangeLog update
2004-03-25 01:35:42 +00:00
Dmitry Stogov
55cf45abf5
New autoload protection schema was implemented (Using HashTable instead of boolean flag)
2004-03-24 14:30:59 +00:00
Derick Rethans
9ff10d086a
- Revert bogus commit
2004-03-24 14:28:41 +00:00
Derick Rethans
2face60bef
- Fixed NEWS
...
#- Can we *please* keep this in order?
2004-03-24 13:31:20 +00:00