Commit Graph

746 Commits

Author SHA1 Message Date
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
Dmitry Stogov
343af548a6 Fixed SIGSEGV on 'global ${"{$blah}_ID"};' 2005-07-04 13:24:46 +00:00
Stanislav Malyshev
fb0c96d07b fix conditions for freeing 2005-06-29 08:44:01 +00:00
Antony Dovgal
aa88cd901f fix leak: when dup was <success>ful zend_std_object_get_class_name() returns SUCCESS aka 0 2005-06-28 22:04:07 +00:00
Stanislav Malyshev
b95ec3528a fix previous patch 2005-06-28 12:42:56 +00:00
Stanislav Malyshev
e3601d22a7 fixes for non-php objects 2005-06-28 10:49:56 +00:00
Dmitry Stogov
2037023874 Fixed bug #27268 (Bad references accentuated by clone). 2005-06-23 08:21:03 +00:00
Marcus Boerger
7f544adbb5 - Fix TSRM build 2005-06-16 17:29:29 +00:00
Dmitry Stogov
aedbdb087d Allowed return by refrence from internal functions 2005-06-16 14:56:13 +00:00
Stanislav Malyshev
999998ecaa rename to zend_ 2005-06-16 14:27:08 +00:00
Dmitry Stogov
faacd7f865 Compilation warnings 2005-06-16 12:26:44 +00:00
Stanislav Malyshev
87c9e68c91 export zval getters 2005-06-16 11:50:08 +00:00
Dmitry Stogov
14b80ad199 Specializer optimization 2005-06-13 17:50:07 +00:00
Dmitry Stogov
cec2347c96 Fixed bug #33212 ([GCC 4]: 'zend_error_noreturn' aliased to external symbol 'zend_error').
The fix is not tested on Solaris and DARWIN!
2005-06-13 11:22:59 +00:00
Dmitry Stogov
84b96e9b03 Fix so that extensions like xdebug, can overload opcodes in all execution modes including goto/switch 2005-06-10 09:54:38 +00:00
Dmitry Stogov
4658513d70 fixed memory leak in bug #28972 ([] operator overflow treatment is incorrect), not the bug itself. 2005-06-07 10:21:52 +00:00
Dmitry Stogov
3d7b0bab28 Fixed memory allocation bugs related to magic object handlers (__get(), __set(),
...)
2005-06-03 11:16:19 +00:00
Dmitry Stogov
1a72341328 Added array type hinting. (This patch requires full re-make) 2005-05-26 13:46:17 +00:00