summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
Commit message (Collapse)AuthorAgeFilesLines
* MFH signature check/method registrationMarcus Boerger2004-09-091-9/+74
| | | | | # the new function is no ZEND_API in 5.0.* to prevent bumping API
* - MFHAndi Gutmans2004-09-091-5/+6
|
* - MFHAndi Gutmans2004-09-041-0/+1
|
* Fix #28641: Instance of InterfaceMarcus Boerger2004-06-051-0/+5
|
* - Need to operate on module pointer in hash tableMarcus Boerger2004-05-181-1/+3
|
* Z_TYPE_P is for zvalsStanislav Malyshev2004-05-181-1/+1
|
* Register according to the type specified by the module.Wez Furlong2004-05-181-1/+1
| | | | | (Helps to fix dl() bug)
* - Centralize register and hash operations for startup/register_moduleMarcus Boerger2004-05-121-29/+45
| | | | | in new zend_register_module_ex().
* - Revert to 1.249Marcus Boerger2004-05-121-24/+5
|
* Don't load modules twiceMarcus Boerger2004-05-011-5/+24
|
* - Fix Reflection class namesMarcus Boerger2004-03-301-0/+4
| | | | | | - Add ability to get the extension an internal class was defined in # This is the patch Andi and me used to search for underscrores...
* Use lowercasing hereMarcus Boerger2004-03-281-1/+7
|
* Force destructors to have empty signaturesMarcus Boerger2004-03-261-0/+4
|
* Clearify the different method/class flags (as discussed with Andi).Marcus Boerger2004-03-091-3/+4
|
* Fix zend_parse_method_parameters_ex() and make it consistant withMarcus Boerger2004-03-021-32/+21
| | | | | | zend_parse_method_parameters(). # Obviously its only place of use is in pdo just right now.
* Add some commentsMarcus Boerger2004-02-271-0/+3
|
* Fixes for abstract classes/methodsMarcus Boerger2004-02-271-3/+6
|
* - Improve ARG_INFO() macros to support supplying required_num_argsZeev Suraski2004-02-251-1/+5
| | | | | - Initial fix for foreach($o->mthd()->arr) crash (now leaks)
* - Abstract methods cannot have defaults for argumentsZeev Suraski2004-02-251-0/+3
| | | | | | - Make function foo($a, $b=null) satisfy both foo($a) and foo($a, $b) prototypes
* Fix class flags when handling abstract methodsMarcus Boerger2004-02-241-1/+1
|
* - Check return-by-reference bit when implementing interface prototypesZeev Suraski2004-02-121-0/+2
| | | | | | | | | | | | | | | | - 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.
* Switch from ZEND_ACC_DYNAMIC to ZEND_ACC_ALLOW_STATIC and disallow callingMarcus Boerger2004-01-241-3/+6
| | | | | | | | | | | internal non-static methods statically. # As discussed with Zeev: # - For BC standard userspace methods allow this with an E_STRICT message. # - If you want to implement an internal method taht can be called both # statically and non-statically then use flag ZEND_ACC_ALLOW_STATIC. # - Magic user space methods __*() cannot and __construct, __destruct, # __clone can never be called statically.
* Simplify detection of methods that must be called dynamic (with object)Marcus Boerger2004-01-231-3/+3
|
* Disallow static declaration of cloneMarcus Boerger2004-01-231-0/+6
|
* Add zend_get_module_started() to quickly check whether a module is presentMarcus Boerger2004-01-191-0/+8
| | | | | and its MINIT function has been called.
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-1/+1
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* Fix bug #26543 - check parent:: and self:: in class namesStanislav Malyshev2004-01-051-2/+2
|
* - Fixed var_export() to show public, protected and private modifiers properly.Derick Rethans2004-01-031-3/+3
| | | | | - Exported (un)mangle_property_name.
* WSMarcus Boerger2003-12-281-4/+6
|
* export these symbols for use by SPL as a shared extensionWez Furlong2003-12-221-2/+2
|
* - Revert the revert of these patches. This overloading can only be usedAndi Gutmans2003-12-021-1/+8
| | | | | | - by C extensions such as SimpleXML and *NOT* PHP code. Reasons given - on the mailing list and problem with reentrancy inside the opcodes.
* - Revert auto-conversion in parameter APIAndi Gutmans2003-12-011-8/+1
|
* Add removed lcname, it is still needed.Ilia Alshanetsky2003-11-281-0/+2
|
* Convert objects to string if string is required by newer parameter parsingMarcus Boerger2003-11-271-1/+8
| | | | | since we do this for older parameter parsing does so too.
* - Fix __autoload() to preserve class case.Andi Gutmans2003-11-241-3/+1
| | | | | | - Heads up, this patch might break stuff so please let me know if you - bump into any problems.
* Add zend_make_callable() which allows to make zval's callable zval's.Marcus Boerger2003-10-251-1/+28
| | | | | | At the moment this function only converts strings of the form class::method to an array(class,method).
* Revert accidental commitMarcus Boerger2003-10-241-16/+1
|
* Zend/ZEND_CHANGESMarcus Boerger2003-10-241-1/+16
|
* Expand Interface C API.Marcus Boerger2003-10-221-16/+29
| | | | | | In short: zend_class_entry->interface_gets_implemented() allows to modify the class entry of a class when an interface gets implemented.
* Add oo support function zend_class_implements()Marcus Boerger2003-10-151-0/+20
|
* Fixed bug #24766 (strange result array from unpack())Moriyoshi Koizumi2003-10-031-10/+10
|
* Add missing checkMarcus Boerger2003-09-181-0/+4
|
* Tests show updating consts must happen once at runtime (revert optimization).Marcus Boerger2003-09-041-2/+1
| | | | | Add tests for static properties.
* Fix handling of static properties initialized to arraysMarcus Boerger2003-09-031-7/+9
|
* Fix static properties.Marcus Boerger2003-09-031-1/+0
| | | | | | | | | # # There's only an errormessage missing which i'll wommit as soon as i find out # how to do it best. But besides that damn message everything works now and all # inheritance rules apply. #
* Allow redeclaring of protected properties as public (for internal classes).Marcus Boerger2003-09-021-0/+8
| | | | | | # See http://news.php.net/article.php?group=php.zend-engine.cvs&article=1737 # for the part not fixed (e.g. property redeclaration of userland classes)
* Currently we cannot support static ctor/dtorMarcus Boerger2003-09-021-0/+6
|
* - Add zend_merge_properties() which is designed to serve *_fetch_object().Marcus Boerger2003-08-291-0/+38
| | | | | | | | | - Explain drawbacks of object_and_properties_init and zend_merge_properties. # # I guess we can live with the purity problem of potentially calling __set() # of an object which wasn't already ctored. #
* Add missing checkMarcus Boerger2003-08-241-9/+11
|
* Fix memory source of string duplication for non internal propertiesMarcus Boerger2003-08-241-1/+2
|