Commit Graph

79 Commits

Author SHA1 Message Date
Felipe Pena
94ae97b524 - Fixed expected data type for class name (%s -> %v) 2009-07-29 14:27:43 +00:00
Pierre Joye
b908c70fa1 - silent compilation warnings (no MFH yet) 2009-06-15 14:06:30 +00:00
Dmitry Stogov
145b60e7f8 Fixed bug #47699 (autoload and late static binding) 2009-03-25 10:39:36 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Etienne Kneuss
4e5c7990ce Fix #46646 (Implement zend functions to restrict serialization or internal classes) 2008-12-22 13:50:43 +00:00
Dmitry Stogov
e5454b359a Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:02:45 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Etienne Kneuss
b48e65f5bf - Fix the order, and avoid overwriting when implementing Serializable 2008-08-24 18:20:03 +00:00
Etienne Kneuss
74afa13d16 - Export zend_user_(un)serialize functions to be used by custom callbacks
- Transfer custom (un)serialize callbacks through inheritance
2008-08-24 17:01:22 +00:00
Dmitry Stogov
72dfe66661 LSB parent/self forwarding 2008-07-24 10:14:01 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +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
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Sara Golemon
b1bc911cee Add support got zend_class_entry->get_static_method() and matching __callStatic() userspace method @doc 2007-07-21 05:27:07 +00:00
Antony Dovgal
8dc895b64a remove semicolons and make SunCC happy 2007-05-30 16:31:47 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Marcus Boerger
9103d6b5fe - Implement ezstrndup() 2006-12-22 00:56:59 +00:00
Marcus Boerger
7acd10fb2c - Make custom serializing work with zstr (as discussed with andrei) 2006-12-22 00:29:11 +00:00
Marcus Boerger
063fe11d25 -Serialization doesn't work with unicode data 2006-12-21 22:54:20 +00:00
Marcus Boerger
dcc6a0e511 - Changed macro once again 2006-12-19 22:27:15 +00:00
Marcus Boerger
745b01794f - Fix macro param order 2006-12-19 22:20:16 +00:00
Marcus Boerger
0caec1601a - Implement zend_u_call_method to deal with situations where the function
name type is already known
2006-12-19 22:14:35 +00:00
Antony Dovgal
dd9165d60a fix #38624 (Strange warning when incrementing an object property and exception is thrown from __get method) 2006-08-28 10:25:49 +00:00
Antony Dovgal
3a4028c39e fix error message in Unicode mode 2006-05-31 18:59:42 +00:00
Marcus Boerger
623df04877 - Drop a few superflous if conditions 2006-05-11 21:11:54 +00:00
Marcus Boerger
b967992116 - Allowing to pass in ce as NULL has its charme, too 2006-04-10 22:49:09 +00:00
Marcus Boerger
36b3b8ef63 - Fix coverity issue 49: ce might be forwarded as NULL without an exception
being thrown in case the Zend API is being used wrong (in custom exts for
  instance).
2006-04-10 22:37:55 +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
Dmitry Stogov
09ca61c125 Made server wide switch for unicode on/off (according to PDM). 2006-02-13 10:23:59 +00:00
Marcus Boerger
50b243babb - Missed one to be public 2006-02-06 01:58:45 +00:00
Marcus Boerger
1630242347 - The next get_iterator() call is supposed to do the check itself 2006-02-06 01:40:42 +00:00
Marcus Boerger
dcf5862221 - Make all default implementations public 2006-02-06 00:49:33 +00:00
Marcus Boerger
2fba438e06 - Need one more thing exported 2006-02-05 23:42:53 +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
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
Marcus Boerger
12dbad3a5c - Fix warnings 2005-10-05 18:57:40 +00:00
Marcus Boerger
4d09d0b819 - Allow uncached global functions too 2005-10-03 12:34:57 +00:00
Dmitry Stogov
48def9a6ad Unicode support 2005-08-17 13:10:04 +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
Marcus Boerger
897090c01e - Dont't warn in case an exception is pending - in this case it'd superflous 2005-07-19 19:46:21 +00:00
Marcus Boerger
d77945ef78 - Just return FAILURE & allow NULL without emmidiate error 2005-04-05 09:16:27 +00:00
Andi Gutmans
e9dbeabd38 - Fix typos 2005-03-19 01:11:48 +00:00