Yiduo (David) Wang
4b4d634cb9
MFH: Added macros for managing zval refcounts and is_ref statuses
2007-10-07 05:22:07 +00:00
Dmitry Stogov
fedf2eddfd
Updated API version numbers
2007-09-29 11:25:16 +00:00
Dmitry Stogov
6c810b0d4c
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
2007-09-27 18:00:48 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Antony Dovgal
1757bf8822
fix typo
2006-06-22 21:24:23 +00:00
Dmitry Stogov
ada4e506a7
MFH: Added automatic module globals management.
2006-06-15 14:03:21 +00:00
Marcus Boerger
637a40423c
- MFH as discussed
...
. zend_exception_get_default() -> zend_exception_get_default(TSRMLS_D)
. zend_get_error_exception() -> zend_get_error_exception(TSRMLS_D)
. added E_RECOVERABLE_ERROR
. added ZEND_TOSTRING_FUNC_NAME
. added __tostring function cache to zend_class_entry
. added ZEND_NAMED_ME
. modified ZEND_ME_MAPPING to support method flags
. added ZEND_MN
. method entries now use prefix "zim_" instead of "zif_"
. drop EG(ze1_compatibility_mode)
. changed cast handler, now without (int should_free):
typedef int (*zend_object_cast_t)(zval *readobj, zval *retval, int type TSRMLS_DC);
. changed get_iterator, now receives whether value is by ref:
zend_object_iterator *(*get_iterator)(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC);
. added zend_objects_store_add_ref_by_handle
. added zend_objects_store_del_ref_by_handle
. convert_to_explicit_type(pzv, type)
2006-05-09 23:53:23 +00:00
Andrei Zmievski
d288f66c7c
Fix a bug that would not fill in the fifth argument to preg_replace()
...
properly, if the variable was not declared previously.
2006-04-06 21:10:45 +00:00
Andi Gutmans
61e93ccfe8
- Update copyright notices to 2006
2006-01-04 23:53:05 +00:00
Antony Dovgal
eef28dacec
bump API number
2005-09-22 19:13:32 +00:00
foobar
916815b779
Bump up the year
2005-08-03 13:30:58 +00:00
Dmitry Stogov
c0c7a9f010
Improved PHP extension loading mechanism with support for module dependencies and conflicts.
2005-06-17 09:36:26 +00:00
Dmitry Stogov
aedbdb087d
Allowed return by refrence from internal functions
2005-06-16 14:56:13 +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
Andi Gutmans
de9206a9e9
- Need zend_Compile.h for struct _zend_arg_info definiton (thanks to Joe
...
Orton)
2005-02-24 03:11:29 +00:00
Marcus Boerger
260fb777e2
- Bump API version
2004-10-30 19:27:42 +00:00
Anantha Kesari H Y
d608f1a0e0
including zend_compile.h for NetWare as NetWare uses MetroWerks Code warrior compiler which does not allow declarations of following kind before defining the types.
...
extern struct _zend_arg_info first_arg_force_ref[2];
2004-10-18 12:06:57 +00:00
Andi Gutmans
f17aba3062
- Bump API number due to empty_string change
2004-07-19 14:19:21 +00:00
Andi Gutmans
67502a2e7d
- modifyable -> modifiable
2004-04-12 12:22:26 +00:00
Derick Rethans
6535933f7c
- Replaced the exec_finished hook by the zend_post_deactive hook for
...
extensions. The new hook will be run after the symbol table and destructors
are run. (Derick)
2004-03-16 22:27:26 +00:00
Derick Rethans
f59ac64430
- Bump API number so that it actually differs from PHP 4. This is needed
...
because we don't want PHP 4 and PHP 5 extensions to be in the same directory
when doing "make install" for shared, or phpize'd extensions.
2004-03-16 21:32:40 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Zeev Suraski
f1b80b9210
Attempt at fixing the linkage problem in Win32
2003-08-31 12:38:50 +00:00
Zeev Suraski
f8bbafd604
ntroduce infrastructure for supplying information about arguments,
...
including:
- Whether or not to pass by ref (replaces the old arg_types, with arg_info)
- Argument name (for future use, maybe introspection)
- Class/Interface name (for type hints)
- If a class/interface name is available, whether to allow a null instance
Both user and builtin functions share the same data structures.
To declare a builtin function that expects its first arg to be an instance
of class 'Person', its second argument as a regular arg, and its third by
reference, use:
ZEND_BEGIN_ARG_INFO(my_func_arg_info, 0)
ZEND_ARG_OBJ_INFO(0, someone, Person, 1)
ZEND_ARG_PASS_INFO(0)
ZEND_ARG_PASS_INFO(1)
ZEND_END_ARG_INFO();
and use my_func_arg_info as the arg_info parameter to the ZEND_FE() family
of macros.
The first arg to each ZEND_ARG_*() macro is whether or not to pass by ref.
The boolean arg to ZEND_BEGIN_ARG_INFO() tells the engine whether to treat
the arguments for which there's no explicit information as pass by reference
or not.
The boolean argument to ZEND_ARG_OBJ_INFO() (4th arg) is whether or not to allownull values.
2003-08-03 17:40:44 +00:00
Zeev Suraski
2fd4ffce17
Add exec_finished() callback for modules - this is the last place where the
...
modules may touch the symbol table reliably
2003-07-30 16:13:52 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
foobar
333406bdc2
- Added some missing CVS $Id$ tags, headers and footers.
2003-02-01 01:49:15 +00:00
Harald Radi
58d3451c75
fix wrong dereferenciation
2003-01-12 21:59:57 +00:00
Harald Radi
2f7f1dd1b8
#@!$$grml*$%
2003-01-12 13:18:05 +00:00
Harald Radi
13c2254e21
partially revert previous commit and
...
change zend_modules.h to include
a forward declaration to zend_ini_entry
2003-01-12 13:14:23 +00:00
Harald Radi
814045bba6
added zend_ini_entry to zend_modules_entry as
...
discussed with zeev
2003-01-12 13:00:28 +00:00
Sebastian Bergmann
2c5d4b8c23
Bump year.
2002-12-31 15:59:15 +00:00
Derick Rethans
bf4e59449b
- MFZE1
2002-06-30 11:18:43 +00:00
Andi Gutmans
180f91bac8
- Nice catch by Derick. GINIT is dead.
2002-02-02 16:56:17 +00:00
Sebastian Bergmann
62dc854bb0
Happy New Year.
2002-01-06 15:21:36 +00:00
Sebastian Bergmann
d863d52a5d
Update headers.
2001-12-11 15:16:21 +00:00
Sebastian Bergmann
01850714ee
MFZE1: Introduced extension version numbers (Stig)
2001-10-12 18:40:30 +00:00
Andi Gutmans
279b468bf7
- Bump it up in the right place
2001-09-27 08:08:33 +00:00
Zeev Suraski
d76cf1da18
More TSRMLS_FETCH work
2001-07-31 04:53:54 +00:00
Zeev Suraski
e8ac55d03c
More TSRMLS_FETCH work
2001-07-30 06:12:15 +00:00
Zeev Suraski
b52554951f
More TSRMLS_FETCH work, and get rid of redundant ParametersPassedByRef
2001-07-30 05:34:21 +00:00
Zeev Suraski
2c254ba762
Get rid of ELS_*(), and use TSRMLS_*() instead.
...
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
2001-07-27 10:10:39 +00:00
Andi Gutmans
d2c9e8074c
- Update copyright year
2001-02-26 05:43:27 +00:00
Andi Gutmans
7513a2f972
- Fix dll linkage warnings
2001-02-25 05:21:31 +00:00
Andi Gutmans
0bed994531
- Add exports from Daniel Beulshausen
2001-02-24 21:16:58 +00:00
Sascha Schumann
c334058412
Set the floating-point exception mask on FreeBSD to 0 (as do other
...
FreeBSD system applications). Also bump up the module API number
as the zend_hash_get_current_key change affects source and binary
compatibility.
2000-12-22 21:11:34 +00:00
Zeev Suraski
98ce9ed699
Update module_api_no
2000-12-14 00:23:18 +00:00
Andi Gutmans
2946f87f00
- Fix new -m on Windows
2000-10-26 23:50:17 +00:00
Zeev Suraski
7dcf456dd6
that too
2000-08-09 19:25:01 +00:00
Sascha Schumann
b982307dd1
Change header protection macros to conform to standard.
...
Draft 3 of IEEE 1003.1 200x, "2.2 The Compilation Environment"
All identifiers that begin with an underscore and either an uppercase
letter or another underscore are always reserved for any use by the
implementation.
2000-07-02 23:54:19 +00:00