Sebastian Bergmann
35e83d2afb
sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.php
2010-01-05 20:46:53 +00:00
Rasmus Lerdorf
415795f827
Please review this one. It seems pretty fundamental.
...
When $str is a binary string and you do: $str[4]=0;
there should be no unicode conversion.
2009-07-26 15:53:36 +00:00
David Soria Parra
28f7ed9365
- Add DTrace support.
2009-07-19 14:00:25 +00:00
Pierre Joye
b908c70fa1
- silent compilation warnings (no MFH yet)
2009-06-15 14:06:30 +00:00
Matt Wilmas
8aa9727037
Restored double->long conversion behavior to that of PHP 5.2 (on most platforms) and prior:
...
* Out-of-range numbers overflow/preserve least significant bits (no LONG_MAX/MIN limit)
* See bug #42868 (presumably-rare platform with different results in 5.2)
* On 32-bit platforms with 64-bit long type, a zend_long64 cast has been added,
otherwise it's the same as 5.2
* Use this conversion method everywhere instead of some plain (long) casts
Added 'L' parameter parsing specifier to ensure a LONG_MAX/MIN limit:
* Essentially what 5.3's new conversion was doing in most cases
* Functions with "limit" or "length" type params could be updated to use this,
and prevent confusing overflow behavior with huge numbers (*also* in 5.2)
- See bug #47854 , for example; or even #42868 again
# Test updates coming
2009-06-04 18:18:47 +00:00
Dmitry Stogov
c951268912
Fixed bug #48004 (Error handler prevents creation of default object)
2009-04-21 09:40:33 +00:00
Dmitry Stogov
d4f6ab748d
Fixed bug #48004 (Error handler prevents creation of default object)
2009-04-21 08:12:23 +00:00
Felipe Pena
8ecf8ede1f
- Removed:
...
- UG(unicode) checks
- pcre_cache_entry.unicode_mode
- Changed:
- ZEND_STR_TYPE -> IS_UNICODE
- convert_to_text -> convert_to_unicode
- convert_to_text_ex -> convert_to_unicode_ex
(Felipe, Steph)
2009-03-26 20:02:53 +00:00
Dmitry Stogov
37ecbbf388
Inline only the most useful code
2009-03-18 14:15:59 +00:00
Dmitry Stogov
ac1ccb1331
Fixed bug #47704 (crashes on some "bad" operations with string offsets)
...
Removed unnecessary checks
2009-03-18 12:52:58 +00:00
Dmitry Stogov
95066c10d2
Fixed speed degradation on gcc-4.3 because of less agressive inlining
2009-03-11 12:14:55 +00:00
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