Andrei Zmievski
930bde5897
* Remove unicode.from_error_mode and unicode.from_subst_char from INI
...
settings.
* Add unicode_set_error_mode() and unicode_set_subst_char() functions to
manipulate these global settings.
2006-03-26 01:48:33 +00:00
Andrei Zmievski
1c09ef8e37
Update conversion error behavior and add some new modes.
...
# The various escape modes are what ICU calls them. We may want to come
# up with different names for UNICODE/ICU/JAVA ones..
2006-03-23 22:00:42 +00:00
Dmitry Stogov
53e1f2adfb
Optimization of module unloading (temporary modules can be only in the end)
2006-03-17 08:34:34 +00:00
Dmitry Stogov
9d7ca01c8b
Dropped allow_call_time_pass_reference, the error is maden E_STRICT.
2006-03-16 11:32:00 +00:00
Dmitry Stogov
7c0e534157
Dropped zend.ze1_compatibility_mode
2006-03-16 10:33:23 +00:00
Marcus Boerger
cd35eae1aa
- Use object handler get in the same way as the rest of the engine does
2006-03-02 00:40:19 +00:00
Marcus Boerger
9158218d3a
- Must use return as in 5.1 after recursion
2006-03-01 16:18:35 +00:00
Marcus Boerger
bf086dff71
- Fix string conversion issues
2006-03-01 16:15:40 +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
b424a32610
Preparation for portable string API (use macroses to access zval).
2006-02-20 19:03:43 +00:00
Dmitry Stogov
09ca61c125
Made server wide switch for unicode on/off (according to PDM).
2006-02-13 10:23:59 +00:00
Marcus Boerger
5a4b6845dc
- Fix ini unicode_semantics (patch by Brion Vibber)
2006-02-13 09:23:13 +00:00
Andrei Zmievski
d8db0d6a15
unicode_semantics cannot be set on per-request basis
2006-02-08 18:52:13 +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
feaa2501d0
Fixed bug #34729 (Crash in ZTS mode under Apache)
2005-12-01 11:49:51 +00:00
Dmitry Stogov
c58d4c590a
Fixed bug #35373 (HP-UX "alias not allowed in this configuration")
2005-11-30 10:25:51 +00:00
Marcus Boerger
a40a48fbd4
- Move Reflection into its own extension
2005-11-17 22:59:39 +00:00
Dmitry Stogov
32fe5f2c3b
Fixed bug #35009 (ZTS: Persistent resource destruct crashes when extension is compiled as shared)
2005-11-07 12:24:20 +00:00
Dmitry Stogov
8ac7004ea7
Unicode support
2005-10-12 10:12:15 +00:00
Marcus Boerger
7c083fcc07
- Have __toString() be called if available in all places an object is used
...
as a string.
#
# Note that "Object #<id>" is no longer afallback for debugging purpose use
# var_dump, which was made for debugging. If you used this to grab the id
# of an object you can never rely on this. For object storage look at SPL's
# ObjectStorage class.
#
# Note the signature change in the cast handler:
#
# int (*cast_t)(zval *readobj, zval *writeobj, int type, int should_free TSRMLS_DC);
# int (*cast_t)(zval *readobj, zval *retval, int type TSRMLS_DC);
2005-10-05 19:02:27 +00:00
Dmitry Stogov
f94344d7fd
Changed __toString() behavior to call it in all necessary places
2005-09-27 07:59:18 +00:00
Derick Rethans
0f391bb0b3
- Add E_RECOVERABLE.
...
#- Thought I did this before already actually...
2005-09-15 16:19:48 +00:00
Dmitry Stogov
3c2e00f903
Fixed huge memory leaks in ZTS mode
2005-09-09 08:19:56 +00:00
Dmitry Stogov
0638374ec9
Avoid unnecessary copying/freeing
2005-09-08 16:15:16 +00:00
Dmitry Stogov
7b7551085b
Support for class constants and static members for internal classes
2005-09-01 10:05:01 +00:00
Dmitry Stogov
c75b5a798f
Fixed unicode support bug
2005-08-30 07:19:05 +00:00
Dmitry Stogov
fc03492c0b
Fixed memory leaks
2005-08-25 13:53:38 +00:00
Dmitry Stogov
b01df7d793
Fixed access to uninitialized variables
2005-08-25 07:56:15 +00:00
Dmitry Stogov
e47587e189
Fixed several unicode related bugs
2005-08-15 14:39:18 +00:00
Dmitry Stogov
fceb6086b2
Fixed another print_r() bug
2005-08-15 07:12:52 +00:00
Dmitry Stogov
feff569e96
Fixed print_r() in unicode mode.
2005-08-15 06:34:20 +00:00
Marcus Boerger
bc4202473e
- Simplify and make work in all modes
2005-08-14 21:26:01 +00:00
Marcus Boerger
444befd82b
- Treat class_name in the exact same manner as prop_name before
2005-08-14 15:19:45 +00:00
Dmitry Stogov
21c1109e0c
Unicode support
2005-08-12 11:29:33 +00:00
Ilia Alshanetsky
f0bf07f2ad
Fixed build, zend_error_noreturn was being defined twice.
2005-08-12 02:11:03 +00:00
Andrei Zmievski
b80cb7bd2f
Unicode support
2005-08-11 23:35:03 +00:00
foobar
916815b779
Bump up the year
2005-08-03 13:30:58 +00:00
Dmitry Stogov
1c82ec11a1
Fixed bug #33802 (throw Exception in error handler causes crash)
2005-07-22 07:33:03 +00:00
foobar
990aa7456e
- Fixed bug #31358 (Older GCC versions do not provide portable va_copy()).
2005-06-27 22:04:41 +00:00
Dmitry Stogov
47676bc067
Fixed OS X compatibility
2005-06-15 19:05:55 +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
59a46c34fa
Fixed double call to php_stream_close() on compiler errors
2005-06-09 16:57:43 +00:00
Dmitry Stogov
e0b0ae9ce7
Fixed bug #25922 (In error handler, modifying 5th arg (errcontext) may result in seg fault)
2005-06-09 10:32:08 +00:00
Stanislav Malyshev
6ba1dd9cbc
fix leak
2005-05-22 11:10:38 +00:00
Stanislav Malyshev
92c8c09da5
fix for #29890 - part 2
2005-05-18 18:10:24 +00:00
Antony Dovgal
5d8394879b
fix bug #29975 (memory leaks when set_error_handler() is used inside error handler)
2005-05-13 23:08:43 +00:00
Stanislav Malyshev
7b34bb2be7
fix bug #32924 : prepend does not add file to included files
2005-05-04 16:17:33 +00:00
Wez Furlong
35b0b8de99
fix shutdown so that dl()'d modules are unloaded after all the dtors have
...
been called.
2005-03-15 23:46:29 +00:00