Commit Graph

807 Commits

Author SHA1 Message Date
Felipe Pena
4ed88343cc - Fixed bug #46701 (Creating associative array with long values in the key fails on 32bit linux)
Patch by Shire
2009-01-05 19:47:13 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Felipe Pena
1b893ea4bc - Fixed bug #46749 (Crash when repeatedly attempting to assign to property of non-object) 2008-12-04 15:50:48 +00:00
Felipe Pena
2985b4f9e3 - Removed some TSRMLS_FETCH()s 2008-08-15 19:45:25 +00:00
Felipe Pena
a5f867f3d5 - Constness (Added const qualifier to several function parameters) 2008-08-12 17:15:59 +00:00
Dmitry Stogov
1e355b4173 Fixed bug #44660 (Indexed and reference assignment to propery of non-object don't trigger warning) 2008-07-26 18:00:18 +00:00
Dmitry Stogov
60daaf792f Fixed crashes and memory leak for objects with NULL write_property/has_property/unset_property handlers 2008-07-26 14:09:05 +00:00
Dmitry Stogov
8d2e0a7e0f Added closures support 2008-07-08 07:05:04 +00:00
Dmitry Stogov
87e1cc3cb0 Removed redundant code 2008-07-01 13:21:12 +00:00
Dmitry Stogov
b8d7c7e91d - Removed direct executor recursion.
- Use fastcall calling convention in executor on x86.
2008-06-11 13:19:14 +00:00
Matt Wilmas
f76e17331e Fixed bug #44681 (Resources used as array keys get converted to 0) 2008-05-09 09:22:21 +00:00
Dmitry Stogov
c9652e94f5 GC fix 2008-05-06 16:02:50 +00:00
Dmitry Stogov
c1b01f7318 - Use ZEND_FREE() opcode instead of ZEND_SWITCH_FREE(IS_TMP_VAR)
- Fixed bug #44913 (Segfault when using return in combination with nested loops and continue 2)
2008-05-05 11:02:46 +00:00
Dmitry Stogov
1d0f893b49 Lazy EG(active_symbol_table) initialization 2008-04-29 08:15:49 +00:00
Dmitry Stogov
00b006ce74 Optimized handlers for ZEND_RECV and ZEND_RECV_INIT opocdes 2008-04-24 15:46:28 +00:00
Felipe Pena
038849e071 Cosmetics (removed space on error message) 2008-03-08 11:49:24 +00:00
Felipe Pena
634bcfac43 MFB: Fixed bug #39018 (Error control operator '@' fails to suppress "Uninitialized string offset") 2008-03-08 11:41:35 +00:00
Dmitry Stogov
30bd877237 Fixed wrong result of cascading assignment to string offset
Fixed memory corruption on cascading assignment of IS_TMP_VAR into string offset
Fixed opcode caches shared memory corruption on cascading assignment of IS_CONST into string offset
2008-03-04 10:06:22 +00:00
Felipe Pena
ff8e13dd86 Add "Strict error" when assigning value to property of inexistent object 2008-02-28 19:33:40 +00:00
Dmitry Stogov
429b9e5d24 Removed redundant refcount manipulations 2008-02-18 12:11:57 +00:00
Dmitry Stogov
2971e13836 Changed EG(argument_stack) implementation. 2008-01-24 09:41:48 +00:00
Dmitry Stogov
21fde27151 typo 2008-01-23 19:15:11 +00:00
Dmitry Stogov
b9dcdd409d Additional executor specialization 2008-01-23 17:56:15 +00:00
Dmitry Stogov
6847c18150 Added garbage collector 2008-01-22 09:29:29 +00:00
Dmitry Stogov
27d1e925e2 Changed exception handling. Now each op_array doesn't contain ZEND_HANDLE_EXCEPTION opcode in the end 2008-01-21 19:41:41 +00:00
Dmitry Stogov
a71b7e452a Fixed compilation warning 2008-01-21 19:11:22 +00:00
Dmitry Stogov
2d8f3f9b72 Fixed bug #43851 (Memory corrution on reuse of assigned value) 2008-01-15 11:53:13 +00:00
Dmitry Stogov
02cbdbe853 Simplified assignment to string offset 2008-01-11 15:10:50 +00:00
Dmitry Stogov
350a3daee4 Fixed bug #39346 (Unsetting a static variable inside a destructor causes segfault later on) 2008-01-11 08:42:19 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Dmitry Stogov
d107ebec58 Fixed possible memory corruption 2007-12-28 15:32:25 +00:00
Dmitry Stogov
a692ca857e executor optimization 2007-12-14 14:15:23 +00:00
Dmitry Stogov
47dc82ecb9 Fixed bug #43128 (Very long class name causes segfault) 2007-11-22 13:33:53 +00:00
Dmitry Stogov
21f68908b9 Safe exit from executor() 2007-11-21 12:28:30 +00:00
Dmitry Stogov
6947bc31a3 ZEND_FETCH_DIM optimization 2007-11-20 11:01:48 +00:00
Dmitry Stogov
3f247aaf10 Fixed bug #43136 (possible crash on script execution timeout. The EG(function_state_ptr) is completely removed, EG(current_execute_data)->function_state must be used instead) 2007-11-20 09:51:44 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Dmitry Stogov
8d8d86eb7a Fixed bug #42802 (Namespace not supported in typehints) 2007-10-01 10:37:36 +00:00
Dmitry Stogov
189ac4f201 Late Static Binding (Dmitry, Etienne Kneuss) 2007-09-26 07:16:33 +00:00
Jani Taskinen
3f319ed27e - Use the SEPARATE_ZVAL_IF_NOT_REF macro (cleanup code) 2007-07-19 15:29:05 +00:00
Antony Dovgal
dd8af0654a fix folding, CS and WS 2007-07-11 11:19:58 +00:00
Dmitry Stogov
2d39376219 Fixed bug #41919 2007-07-09 08:56:29 +00:00
Antony Dovgal
057dd32f22 MFB: fix #41813 (segmentation fault when using string offset as an object)
patch by judas dot iscariote at gmail dot com
2007-06-27 08:53:05 +00:00
Antony Dovgal
b81d63d74a fix #41608 (segfault on a weird code with objects and switch()) 2007-06-06 08:33:54 +00:00
Antony Dovgal
46e31cf72e fix arrays with NULL keys in Unicode mode 2007-05-04 11:48:08 +00:00
Dmitry Stogov
2908322c14 WIN64 support 2007-04-16 09:43:53 +00:00
Antony Dovgal
3002349e55 fix #41075 (memleak when creating default object caused exception) 2007-04-13 14:39:34 +00:00
Dmitry Stogov
d7df9badf6 Added runtime JIT auto-globals fetching and caching 2007-02-16 19:36:45 +00:00
Marcus Boerger
bd7d5b527c - No reason not to pass return_value_ptr for non return-by-reference functions 2007-02-08 14:47:32 +00:00
Sara Golemon
57da96bb42 Resolve autoglobals as global-fetch CVs when possible 2007-01-20 20:36:55 +00:00