Commit Graph

763 Commits

Author SHA1 Message Date
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
Dmitry Stogov
f6387758c6 - Fixed bug #35106 (nested foreach fails when array variable has a reference).
- Fixed bug #36214 (__get method works properly only when conditional operator is used).
- Fixed bug #39449 (Overloaded array properties do not work correctly).
- Fixed bug #39990 (Cannot "foreach" over overloaded properties).
2007-01-10 15:59:56 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Dmitry Stogov
326fcd0261 Fixed bug #39944 (References broken) 2006-12-25 14:16:38 +00:00
Dmitry Stogov
f37ad2e146 Fixed bug #39775 ("Indirect modification ..." message is not shown) 2006-12-08 16:23:04 +00:00
Ilia Alshanetsky
d5c7a2d9c6 MFB: Fixed bug #33282 (Re-assignment by reference does not clear the is_ref
flag)
2006-11-07 20:28:40 +00:00
Antony Dovgal
36b78b78a4 fix #39003 (__autoload() is called for type hinting) 2006-10-02 11:05:02 +00:00
Antony Dovgal
33ad684e86 fix off-by-one in zend_fetch_dimension_address_inner() 2006-08-30 09:58:10 +00:00
Andrei Zmievski
0667864631 Callable checks and class fetching and lookup should support identifer
normalization now. (Marcus, Andrei)
2006-07-18 17:52:45 +00:00
Dmitry Stogov
6687f0377b New memory manager 2006-07-18 09:08:06 +00:00
Marcus Boerger
97b35cabb0 - Drop unused var 2006-07-10 00:32:23 +00:00
Marcus Boerger
032dfa1bc4 - Fix issues with __get() returning arrays (might need to be revised) 2006-07-10 00:07:36 +00:00
Antony Dovgal
57566a78b5 throw a warning when using invalid offset types with strings 2006-06-01 11:56:23 +00:00
Marcus Boerger
cc56405cb9 - Sync error messages and simplify error message generation code 2006-05-26 00:26:45 +00:00
Marcus Boerger
7628f08017 - Improve error messages (part 2) 2006-05-21 12:38:28 +00:00
Marcus Boerger
426b40fc77 - Improved error messages 2006-05-21 11:23:35 +00:00
Dmitry Stogov
fb1a172cae Optimized require_once/include_once (eliminated fopen() on second usage) 2006-05-15 15:31:50 +00:00
Marcus Boerger
0638c67dab - MFB: WS 2006-05-09 21:26:39 +00:00
Dmitry Stogov
30ff22ca47 Fixed bug #37251 (deadlock when custom error handler is to catch array type hint error). 2006-05-05 08:04:55 +00:00
Dmitry Stogov
7c0e534157 Dropped zend.ze1_compatibility_mode 2006-03-16 10:33:23 +00:00
Dmitry Stogov
e3b7f3fd0d Unicode support: MS Visual C compatibility 2006-02-26 11:57:14 +00:00
Dmitry Stogov
0f1209ab3d Portable unicode string API:
- use the same type (int) for zval.value.usr.len and zval.value.str.len
  - use union "zstr" as char*/UChar* mixture instead of void*
  - Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
  - nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Dmitry Stogov
2e5d0a3a9d WS 2006-02-21 08:00:39 +00:00
Dmitry Stogov
b424a32610 Preparation for portable string API (use macroses to access zval). 2006-02-20 19:03:43 +00:00
Marcus Boerger
b60c8056b3 - Fix possible memory corruption/memleak issue with foreach and iterators
- Fix warnings
2006-02-18 17:36:41 +00:00
Marcus Boerger
c8d78028b5 - Disallow foreach($v as &$ref) when $v is an object that implements
interface Iterator. The signature of Iterator::current() doesn't allow
  that. Maybe ppl also want IteratorByReference or similar. Unfortunatley
  this comes with an API change but there is no easier way.
2006-02-05 23:26:55 +00:00
Dmitry Stogov
d90873d3ce Fixed bug #36071 (Engine Crash related with 'clone') 2006-01-19 07:26:58 +00:00
Dmitry Stogov
227295a4f1 Unicode stuff is changed according to decision maden on PDM.
Now IS_BINRAY data type is removed and IS_STRING starts behave as IS_BINARY in unicode mode. IS_STRING is incompatible with IS_UNICODE, so ALL functions should be improved to support unicode mode.
2006-01-17 12:18:53 +00:00
Andi Gutmans
5de7cc3194 - Update copyright notices to 2006 2006-01-04 23:54:12 +00:00
Dmitry Stogov
39a540f75f Reverted invalid fix for bug #35785 2005-12-26 08:21:29 +00:00
Marcus Boerger
1edb0395ab - Fixed Bug #35785 (SimpleXML memory read error) 2005-12-23 20:31:39 +00:00
Dmitry Stogov
69200c9baf Fixed memory leak and typo 2005-12-22 09:31:40 +00:00
Dmitry Stogov
97190ee606 Removed support for continue and break operators with non-constant operands 2005-11-17 08:27:25 +00:00
Dmitry Stogov
8373809e2e Fixed bug #35239 (Objects can lose references) 2005-11-16 11:52:53 +00:00
Dmitry Stogov
372d59b648 Fixed bug #35017 (Exception thrown in error handler may cause unexpected behavior) 2005-10-31 19:29:48 +00:00
Dmitry Stogov
4d8290d000 Unicode support 2005-09-19 07:23:47 +00:00
Derick Rethans
0f391bb0b3 - Add E_RECOVERABLE.
#- Thought I did this before already actually...
2005-09-15 16:19:48 +00:00
foobar
1a1f97ee7e MFB 2005-09-15 13:20:24 +00:00
Marcus Boerger
acae6a3810 - Improve error message 2005-09-14 18:21:11 +00:00
Sara Golemon
87bcf776f7 Plug leak of 1/2 bytes when converting from string/unicode 2005-09-12 17:42:43 +00:00
Dmitry Stogov
bd307bc0bd Fixed bug #34137 (assigning array element by reference causes binary mess) 2005-09-01 13:21:04 +00:00
Andrei Zmievski
b80cb7bd2f Unicode support 2005-08-11 23:35:03 +00:00
Dmitry Stogov
32d69c853a Fixed bug #33996 (No information given for fatal error on passing invalid value to typed argument) 2005-08-05 09:35:09 +00:00
foobar
916815b779 Bump up the year 2005-08-03 13:30:58 +00:00
Dmitry Stogov
7aca138456 Fixed bug #33710 (ArrayAccess objects doen't initialize $this) 2005-07-19 07:33:00 +00:00