Antony Dovgal
8dc895b64a
remove semicolons and make SunCC happy
2007-05-30 16:31:47 +00:00
Antony Dovgal
93ecf75a1f
fix folding, mark functions as unicode safe
2007-01-18 12:13:05 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Dmitry Stogov
128548a5c0
Disabled autoconversion of hash keys (from string to unicode) for PHP arrays
2006-09-19 10:38:31 +00:00
Antony Dovgal
f5715ee86f
implement zend_unicode_to_string() and zend_string_to_unicode()
...
part #1 (of 2)
2006-08-08 16:58:06 +00:00
Dmitry Stogov
881258ad6e
Fixed wrong "type" argument to read_property() handler
2006-07-21 08:39:43 +00:00
Marcus Boerger
032dfa1bc4
- Fix issues with __get() returning arrays (might need to be revised)
2006-07-10 00:07:36 +00:00
Marcus Boerger
55086233ce
- Arginfo fix (Hannes)
2006-06-13 20:56:52 +00:00
Marcus Boerger
482d57d5a3
- zend_spprintf() is actually used elsewhere in the engine
2006-05-09 22:09:49 +00:00
Marcus Boerger
4bfc5ff54c
- MFB WS/CS, zend_spprintf() must not be exported
2006-05-09 21:30:11 +00:00
Dmitry Stogov
bdfa3b1d36
Fixed ZTS build
2006-03-27 06:02:42 +00:00
Andrei Zmievski
c2bca6239d
Fix a case where we could have an encoding conversion exception thrown
...
while building exception trace args!
2006-03-27 03:47:50 +00:00
Andrei Zmievski
90d03ff1e2
Use (unsigned char) to make sure that only the control chars are
...
replaced with '?';
2006-03-27 03:41:39 +00:00
Marcus Boerger
a9ea7e81c6
- Fix issue with uncaught exceptions in unicode mode
2006-03-03 21:58:56 +00:00
Dmitry Stogov
3d0da6184a
Unicode support: fixed __toString() in user defined exceptions
2006-02-22 11:38:32 +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
Dmitry Stogov
09ca61c125
Made server wide switch for unicode on/off (according to PDM).
2006-02-13 10:23:59 +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
Antony Dovgal
43536d38e6
MF51: improve error messages
2005-12-05 13:41:14 +00:00
Antony Dovgal
ced6ef40cd
fix #35539 (typo in error message for ErrorException)
2005-12-04 11:45:45 +00:00
Marcus Boerger
a40a48fbd4
- Move Reflection into its own extension
2005-11-17 22:59:39 +00:00
Sebastian Bergmann
5d671dd4b2
Add an additional field $frame['object'] to the result array of debug_backtrace() that contains a reference to the respective object when the frame was called from an object. This revised patch has been reviewed by Dmitry and Zeev.
2005-11-01 13:18:34 +00:00
Dmitry Stogov
8f6f97a77d
Unicode support
2005-08-23 12:53:31 +00:00
Dmitry Stogov
90393d675f
Unicode support
2005-08-19 13:20:16 +00:00
Dmitry Stogov
0475054c7c
Unicode support
2005-08-19 11:56:03 +00:00
Dmitry Stogov
8a749ee333
Suppoer for unicode exception messages
2005-08-18 15:42:46 +00:00
Dmitry Stogov
0f026c9fb7
Unicode support
2005-08-18 10:18:40 +00:00
Dmitry Stogov
8063984f4b
Fixed memory leak
2005-08-16 10:49:38 +00:00
Marcus Boerger
7c14b0169a
- Unicode
...
# We probably might want to move spprintf.c/h into Zend now
2005-08-13 01:31:14 +00:00
Sebastian Bergmann
52b001cc05
ZTS fixes.
2005-08-12 14:08:28 +00:00
Dmitry Stogov
21c1109e0c
Unicode support
2005-08-12 11:29:33 +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
foobar
9f6e05964f
- Fixed bug #33967 (misuse of Exception constructor doesn\'t display errorfile)
2005-08-02 16:31:53 +00:00
Stanislav Malyshev
d5a1296008
fix various "Class entry requested for an object without PHP class" messages
...
when working with non-PHP objects.
# Using Z_OBJCE(object)->name is usually bad idea unless you know it's
# a pure PHP object
2005-06-27 18:13:13 +00:00
foobar
0e57528666
No c++ comments in C code
2005-04-19 11:41:04 +00:00
Dmitry Stogov
5b18b931d0
Fixed bug #30904 (segfault when recording soapclient into session).
2004-12-07 07:46:12 +00:00
Marcus Boerger
8bf02ee681
- Fix protos
2004-10-30 10:18:10 +00:00
Marcus Boerger
f775ea0ae3
- Fix memeleak
2004-09-27 22:06:10 +00:00
Andi Gutmans
96ab56e146
- Roll back VM commit
2004-09-09 16:47:22 +00:00
Andi Gutmans
8eb8850c90
- Some architectural changes:
...
a) We specialize opcodes according to op_type fields. Each opcode has to
be marked with which op_type's it uses.
b) We support different execution methods. Function handlers, switch()
and goto dispatching. goto seems to be the fastest but it really
depends on the compiler and how well it optimizes. I suggest playing
around with optimization flags.
- Warning: Things might break so keep us posted on how things are going.
(Dmitry, Andi)
2004-09-08 22:14:12 +00:00
Marcus Boerger
e9549a4f9c
- Be specific about visibility
2004-07-27 16:21:56 +00:00
Marcus Boerger
2b9c90efd3
- Add optional parameters $filename and $lineno to ErrorException
...
constructor to allow overwriting automatically retrieved information.
# It may be reasonable to delete the trace in case that feature is used.
2004-07-25 07:05:48 +00:00
Zeev Suraski
8a153add90
Fix prototypes
2004-07-20 10:43:19 +00:00
Zeev Suraski
7601484612
Add descriptions
2004-07-20 09:24:22 +00:00
Marcus Boerger
1cdf7e66f4
- Add new class ErrorException to encapsulate errors in exceptions
2004-07-15 22:21:36 +00:00
Wez Furlong
3ec72d3ed9
Revert; obviously I missed the function at the bottom of the file...
2004-05-20 17:59:27 +00:00