Sebastian Bergmann
ef49b9a8de
MFH: Bump copyright year, 3 of 3.
17 years ago
Sebastian Bergmann
d9f3a1305f
MFH: Bump copyright year, 2 of 2.
18 years ago
Dmitry Stogov
e1814f0dbe
WIN64 support
19 years ago
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
19 years ago
Hannes Magnusson
1e19ee8785
- Fixed incorrect function names on FreeBSD where inet_pton() was named
__inet_pton() and inet_ntop() was named __inet_ntop()
- Fixed bug #39685 (iconv() - undefined function)
- Fixed bug #38852 (XML-RPC Breaks iconv)
20 years ago
Dmitry Stogov
29ed52ffa4
New memory manager
20 years ago
Dmitry Stogov
ada4e506a7
MFH: Added automatic module globals management.
20 years ago
Marcus Boerger
64c353ab79
- MFH zend_fcall_info_*() and parameter parsing option 'f'
# Right now i see this as the best option but we might shuffle code around
# later if someone comes up with a better solution.
20 years ago
Antony Dovgal
9dd24c6d87
fix error messages when converting objects to other types
add new function
MFB will follow soon
20 years ago
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)
20 years ago
Marcus Boerger
35ce5db25e
- Add missing function for completeness
20 years ago
Marcus Boerger
941b0651dc
- MFH: Function deprecation flag
20 years ago
Andi Gutmans
61e93ccfe8
- Update copyright notices to 2006
20 years ago
Marcus Boerger
0cd997d79c
- Simplify and synch is_callable_ex() with actual execution code
. Allow array($this, 'parent::method') for function 'pointers'
. Spit out E_STRICT in case of erroneous use of function 'pointers'
21 years ago
Dmitry Stogov
8768ab94b3
Fixed bug #34729 (Crash in ZTS mode under Apache)
21 years ago
Dmitry Stogov
b05b949a47
Fixed bug #34879 (str_replace, array_map corrupt negative array indexes on 64-bit platforms)
21 years ago
Marcus Boerger
2486b846cc
- MFH zend_is_callable_ex() returns zend_class_entry* if available
21 years ago
Dmitry Stogov
248345d920
Support for class constants and static members for internal classes
21 years ago
foobar
916815b779
Bump up the year
21 years ago
Marcus Boerger
53e5260662
- Add convenience function zend_is_callable_ex() and base zend_is_callable
and zend_make_callable on it. This functions allows to check if a php
variable is a callable function and returns its function pointer as well
as object if possible.
# Commit this now so we can use it in 5.1.* series as discussed with Andi.
21 years ago
Dmitry Stogov
70bd938bbd
Fixed bug in new module statrup mechanism
21 years ago
Dmitry Stogov
345e0255b5
Fixed bug #33512 (Add missing support for isset()/unset() overloading to complement the property get/set methods)
21 years ago
Dmitry Stogov
1d33a3e95e
Fixed bug #31158 (array_splice on $GLOBALS crashes)
21 years ago
Dmitry Stogov
2ca2dc0b08
Restored old behavior of zend_statup_module()
21 years ago
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
21 years ago
Dmitry Stogov
c0c7a9f010
Improved PHP extension loading mechanism with support for module dependencies and conflicts.
21 years ago
Dmitry Stogov
aedbdb087d
Allowed return by refrence from internal functions
21 years ago
Dmitry Stogov
1a72341328
Added array type hinting. (This patch requires full re-make)
21 years ago
Dmitry Stogov
c81db6bc56
Fixed bug #29210 (Function: is_callable - no support for private and protected classes)
21 years ago
Marcus Boerger
67a226d910
- Add ReflectionProperty::getDocComment()
21 years ago
Marcus Boerger
c087f07233
- These must be initailized
21 years ago
Hartmut Holzgraefe
d88c2b18d4
added some missing zend_[declare|update]_property_...() convenience
functions for bool, double and binary safe string data
21 years ago
Marcus Boerger
1d5c13bdad
- Fix #31651 (ReflectionClass::getDefaultProperties segfaults with arrays.)
21 years ago
Andi Gutmans
11bcaedfc8
- Rename delete_global_variable() to zend_delete_global_variable()
22 years ago
Andi Gutmans
db507dd153
- Commit the variable fetch optimization.
- Extensions which delete global variables need to use new special function
- delete_global_variable() (I'm about to rename it) to remove them.
- Will post to internals@ or via commit messages if there's anything else.
22 years ago
Marcus Boerger
e39f3f3f48
Simplify/Optmize magic method calls (__get/__set/__call/__clone/__destruct)
22 years ago
Andi Gutmans
6bd3c36a53
- Recommit:
- Check signature of magic methods
- Register __get/__set/__call for internal classes
22 years ago
Andi Gutmans
96ab56e146
- Roll back VM commit
22 years ago
Marcus Boerger
be24e2455c
- Check signature of magic methods
- Register __get/__set/__call for internal classes
22 years ago
Andi Gutmans
56f8195fe5
- Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
used to return "" and not bool(false). It's not worth keeping it because
STR_FREE() and zval_dtor() always have to check for it and it slows down
the general case. In addition, it seems that empty_string has been abused
quite a lot, and was used not only for setting zval's but generally in
PHP code instead of "", which wasn't the intention. Last but not least,
nuking empty_string should improve stability as I doubt every place
correctly checked if they are not mistakenly erealloc()'ing it or
calling efree() on it.
NOTE: Some code is probably broken. Each extension maintainer should
check and see that my changes are OK. Also, I haven't had time to touch
PECL yet. Will try and do it tomorrow.
22 years ago
Marcus Boerger
c756609658
Add missing declaration
22 years ago
Marcus Boerger
33cdc9ed36
Fix order of macro parameter (synch with other macros)
22 years ago
Marcus Boerger
5230321731
- Fix Reflection class names
- Add ability to get the extension an internal class was defined in
# This is the patch Andi and me used to search for underscrores...
22 years ago
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)
22 years ago
Marcus Boerger
8d45fece42
Fix zend_parse_method_parameters_ex() and make it consistant with
zend_parse_method_parameters().
# Obviously its only place of use is in pdo just right now.
22 years ago
Zeev Suraski
7086634a0b
- Improve ARG_INFO() macros to support supplying required_num_args
- Initial fix for foreach($o->mthd()->arr) crash (now leaks)
22 years ago
Hartmut Holzgraefe
1727c6a2bb
more EXTERN_C wrapping of ZEND_API prototypes
22 years ago
Zeev Suraski
e7e0f7d4b4
- Check return-by-reference bit when implementing interface prototypes
- Add infrastructure for built-in functions to hint whether they
return by reference or not. It is NOT currently used for anything,
except for interface prototypes (you can use it to request that the
function that implements your prototype returns by reference or
doesn't return by reference).
For downwards compatibility - by default, interface prototypes are
agnostic as to whether the function that implements them returns
by reference or not. Use ZEND_BEGIN_ARG_INFO_EX() with
ZEND_RETURN_VALUE/ZEND_RETURN_REFERENCE to change that.
- Fix ArrayAccess::getOffset() to conduct additional checks.
If your getOffset() should work with multidimensional arrays - it
must return by reference.
22 years ago
Marcus Boerger
805dfab890
Add zend_get_module_started() to quickly check whether a module is present
and its MINIT function has been called.
22 years ago
Marcus Boerger
61fc2a9209
Add missing macro
# by popular demand, more and more exts need this
22 years ago