Felipe Pena
2f26deb0e0
- Fixed Windows build
2008-11-05 11:00:38 +00:00
Marcus Boerger
7126de4912
- Next step in namespaces, using / as namespace separator.
2008-11-04 15:58:55 +00:00
Etienne Kneuss
b879459973
MFH: Use enum alternative instead of explicit value
2008-10-02 19:54:03 +00:00
Antony Dovgal
f5b09f1907
MFH: initialize variable
2008-10-01 14:31:01 +00:00
Dmitry Stogov
e46d328934
Fixed bug #46106 (Memory leaks when using global statement)
2008-09-17 15:11:28 +00:00
Etienne Kneuss
6ebc3a8b9b
MFH: Fix #45656 (new Class silenting exceptions in autoloaders)
2008-09-15 10:19:53 +00:00
Dmitry Stogov
03f4121452
Fixed bug #45910 (Cannot declare self-referencing constant)
2008-08-26 08:38:26 +00:00
Marcus Boerger
32f9d0e180
- MFH Improve exception linking
2008-08-14 10:24:52 +00:00
Nuno Lopes
f87d4530c2
mark empty_fcall_info and empty_fcall_info_cache as constant. a few less bytes in the dirty page :P
2008-08-12 21:45:52 +00:00
Marcus Boerger
3053a62621
- MFH Fix shutdown order
2008-08-11 17:44:15 +00:00
Marcus Boerger
3f7a4b7e90
- MFH error handling, now with save, replace, restore
2008-08-08 17:47:31 +00:00
Marcus Boerger
5a59d41305
- MFH store error handling mode on stack when executing internal
...
or overloaded functions and methods. [...]
2008-08-08 13:21:52 +00:00
Dmitry Stogov
37a769353f
Fixed bug #44100 (Inconsistent handling of static array declarations with duplicate keys).
2008-08-01 14:22:03 +00:00
Dmitry Stogov
64c721e04e
*** empty log message ***
2008-07-26 19:14:38 +00:00
Dmitry Stogov
8ee5b58bbe
Added checks for destroied objects
2008-07-26 18:32:20 +00:00
Dmitry Stogov
b25f9f6a6a
Added support for overloaded functions (e.g. COM) in call_user_func().
2008-07-26 17:01:40 +00:00
Dmitry Stogov
af05ce0af6
Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B"
2008-07-26 13:14:04 +00:00
Dmitry Stogov
691d4a6999
Fixed uninitialised data
2008-07-25 08:23:07 +00:00
Dmitry Stogov
feb8580166
LSB parent/self forwarding
2008-07-24 09:42:18 +00:00
Dmitry Stogov
d5ef2f466c
Added support for lambda functions and closures
2008-07-14 09:49:03 +00:00
Felipe Pena
2af92fa836
- Fixed bug #45180 ('class::method' works differently than array('class', 'method'))
2008-06-05 18:50:29 +00:00
Felipe Pena
cc23d3bade
- Fixed bug #45089 (__callStatic $name case sensitivity)
2008-06-03 18:11:12 +00:00
Dmitry Stogov
5521912b15
Use IS_CV for dirrent access to $this variable
2008-05-07 12:04:39 +00:00
Dmitry Stogov
0639a847ce
Use lazy symbol table initialization for op_arrays called from internal php functions
2008-05-06 17:00:56 +00:00
Dmitry Stogov
833e01343d
GC fix
2008-05-06 16:03:16 +00:00
Dmitry Stogov
3a86a06619
Added missing lazy initialization
2008-04-29 09:18:26 +00:00
Dmitry Stogov
2ecf4bb0a7
Lazy EG(active_symbol_table) initialization
2008-04-29 08:15:20 +00:00
Dmitry Stogov
d9dd1b9e14
Optimized ZEND_RETURN opcode to not allocate and copy return value if it is not
...
used.
2008-04-11 09:43:28 +00:00
Felipe Pena
f66f55edc5
MFH: Implemented "jump label" operator (limited "goto")
...
[DOC]
2008-03-28 14:35:01 +00:00
Rasmus Lerdorf
ea790cef01
On Windows I guess there is no point starting the timeout thread until
...
we actually have a timeout value.
2008-03-19 15:30:49 +00:00
Rasmus Lerdorf
d2f23dbe64
Make sure we set the signal handler when reset_signals is true, regardless
...
of the actual timeout value.
2008-03-19 15:22:17 +00:00
Rasmus Lerdorf
6c158374ba
exit_on_timeout patch
...
After the sigsetjmp change, this is patch #2 in an effort to get some
sanity restored to signal handling in PHP.
This patch does two things. First, it makes it possible to reset the
timeout without resetting the signal handlers. This is important for
cases where an extension may have deferred signals in its MINIT in order
to implement critical sections. It also lays the groundwork for cleaning
up our signal handling and perhaps eventually implementing our own
signal deferring mechanism so we can have true critical sections.
The second thing this does is to make it possible to terminate the current
child process (only for Apache1 at the moment) on a timeout. There are
a number of extensions that are unhappy about being longjmp'ed out of
and when this happens on a timeout they are left in an inconsistent state.
By turning on exit_on_timeout you can now force the process to terminate
on a timeout which will clean up any hanging locks and/or memory left
hanging after the longjmp.
2008-03-18 21:42:50 +00:00
Felipe Pena
2b10c53ae1
MFH: Dropped zend.ze1_compatibility_mode
...
[DOC]
2008-03-18 14:10:45 +00:00
Dmitry Stogov
8c885b8913
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:30 +00:00
Antony Dovgal
1f3b8cccc4
%v -> %s, this is 5_3
2008-03-09 20:52:29 +00:00
Dmitry Stogov
430e54d457
Fixed shared memory corruption of opcode caches
2008-03-04 11:43:51 +00:00
Marcus Boerger
d3e5026564
- MFH Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
...
[DOC] Finally added deprecation messages
2008-02-23 17:06:22 +00:00
Marcus Boerger
da5b979f88
- MFH Add comment that explains why we need E_ERROR in those cases
2008-02-02 15:48:04 +00:00
Marcus Boerger
95a3cccf5f
- Fix flag handling in message generation
2008-02-02 13:56:59 +00:00
Dmitry Stogov
9770b3cb00
Fixed bug #43323 (Wrong count abstract methods). (Felipe, Dmitry)
2008-01-29 11:12:57 +00:00
Dmitry Stogov
0b6825102d
Changed EG(argument_stack) implementation.
2008-01-24 09:41:39 +00:00
Dmitry Stogov
71592cec06
Added garbage collector
2008-01-22 09:27:48 +00:00
Dmitry Stogov
fa47e900e2
Changed exception handling. Now each op_array doesn't contain ZEND_HANDLE_EXCEPTION opcode in the end
2008-01-21 19:39:55 +00:00
Marcus Boerger
ba8acfdfdf
- Fix the fix
2008-01-15 11:47:05 +00:00
Marcus Boerger
22221def71
- Fix memleak (found by colder)
2008-01-14 18:13:12 +00:00
Dmitry Stogov
ed8e2fa031
Added missing warning message
2008-01-10 09:38:23 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Dmitry Stogov
43f6392e90
Fixed bug #43651 (is_callable() with one or more nonconsecutive colons crashes)
2007-12-25 10:58:30 +00:00
Dmitry Stogov
6484b3c458
Fixed bug #43344 (Wrong error message for undefined namespace constant)
2007-12-07 17:11:24 +00:00
Dmitry Stogov
648fbe9d58
Fixed bug #43128 (Very long class name causes segfault)
2007-11-22 13:27:13 +00:00