summaryrefslogtreecommitdiff
path: root/Zend/zend_operators.c
Commit message (Collapse)AuthorAgeFilesLines
* MFH: Fixed compiler warningsJani Taskinen2007-07-211-1/+1
|
* MFH: minor optimization - make sure the objects are not the same instance ↵Antony Dovgal2007-06-061-0/+5
| | | | before we start comparing their properties
* WIN64 supportDmitry Stogov2007-04-231-2/+10
|
* - Avoid sprintf, even when checked copy'n'paste or changes lead to errorsMarcus Boerger2007-02-241-12/+6
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* Simplify & optimize codeIlia Alshanetsky2006-12-301-4/+8
| | | | | # Patch by Matt Wilmas
* is_numeric_string() optimizationIlia Alshanetsky2006-12-261-23/+21
| | | | | # Original Patch by Matt Wilmas
* Fixed possible memory leakIlia Alshanetsky2006-12-211-0/+2
|
* Fixed typoIlia Alshanetsky2006-12-111-1/+1
|
* Removed bool<>long optimization as it causes issues with strict type checksIlia Alshanetsky2006-12-111-1/+1
|
* Minor optimization (2-3%) from Brian ShireIlia Alshanetsky2006-12-111-7/+10
|
* Improve tolower()-related functions on Windows and VC2005 by caching locale ↵Stanislav Malyshev2006-12-041-6/+22
| | | | | | | | | and using tolower_l function. # Gives 10-18% speedup on bench.php # Does not change behaviour for non-windows
* fix leak appearing when converting object to NULLAntony Dovgal2006-11-151-0/+1
| | | | | add test
* MFH: throw a warning when doing modulus by 0 (fr #39027)Antony Dovgal2006-10-031-0/+1
|
* MFH: use if() instead of ?:Antony Dovgal2006-09-271-1/+6
|
* New memory managerDmitry Stogov2006-07-181-1/+0
|
* fix logicAntony Dovgal2006-07-181-1/+1
|
* MFH: fix DVAL_TO_LVAL() on AIX with old gccAntony Dovgal2006-07-181-1/+1
|
* - MFH Fix issue with comparing objects with objectsMarcus Boerger2006-07-091-10/+14
|
* - MFH:Marcus Boerger2006-07-091-44/+41
| | | | | | . Fix comparision edgecases involving objects (Tony, Marcus) . Use ZVAL_LONG() where appropriate
* Restore ZE1 compatibility mode (Zend Engine part - the modules patchesZeev Suraski2006-06-051-3/+33
| | | | | will follow later today)
* fix error messages when converting objects to other typesAntony Dovgal2006-05-251-1/+2
| | | | | | add new function MFB will follow soon
* - MFH as discussedMarcus Boerger2006-05-091-41/+23
| | | | | | | | | | | | | | | | | | | | | . 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)
* - MFHMarcus Boerger2006-02-051-15/+39
|
* - Update copyright notices to 2006Andi Gutmans2006-01-041-1/+1
|
* - Enforce termination to prevent possible SEGVsMarcus Boerger2005-12-121-1/+1
|
* Fixed bug #34199 (if($obj)/if(!$obj) inconsistency)Dmitry Stogov2005-09-121-1/+1
|
* Fixed bug #33999 (object remains object when cast to int)Dmitry Stogov2005-08-051-6/+5
|
* Bump up the yearfoobar2005-08-031-1/+1
|
* Reverted wrong fix for bug #30572.Dmitry Stogov2005-05-311-3/+3
| | | | | | Seems the bug was already fixed in other way. But reverted patch produced a lot of valgrind errors, because IS_TMP_VAR operands don't initialize refcount.
* - Fix memory corruption found by robMarcus Boerger2005-04-081-3/+5
|
* - Added "G" modifier to ini setting number format.Derick Rethans2004-12-131-4/+8
|
* - MFH: Revert Joe's work around a bug in GCC patch as it breaks too many things.Derick Rethans2004-11-291-9/+1
|
* - Fixed bug #30630: Added a BSD based strtod function that isDerick Rethans2004-11-031-10/+4
| | | | | locale-independent.
* - For Ilia:Andi Gutmans2004-10-291-3/+3
| | | | | | - MFH: Fixed bug #30572 (crash when comparing SimpleXML attribute to a boolean). - Hope this works well. I will MFH tomorrow if no one complains.
* - Revert Fixed bug #30228 (crash when comparing SimpleXML attribute to a ↵Andi Gutmans2004-10-271-5/+1
| | | | | | | boolean). - Need to discuss where the real problem is.
* Fixed bug #30228 (crash when comparing SimpleXML attribute to a boolean).Ilia Alshanetsky2004-10-261-1/+5
|
* - If object handles are equal then save the comparison of properties inAndi Gutmans2004-10-201-6/+6
| | | | | - the == operator.
* - Small improvement to DVAL_TO_ZVAL macroAndi Gutmans2004-09-301-1/+1
|
* - MFB: Added the sorting flag SORT_LOCALE_STRING to the sort() functions whichDerick Rethans2004-09-111-0/+29
| | | | | makes them sort based on the current locale. (Derick)
* - Resolve undefined behavior (joe at redhat)Andi Gutmans2004-09-111-1/+9
|
* - Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()Andi Gutmans2004-07-191-13/+6
| | | | | | | | | | | | | | | 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.
* - Fix comparison of objectsZeev Suraski2004-05-101-20/+48
| | | | | - Clarify convert_object_to_type()
* - Fix comparison of two objects in non-compatibility mode.Andi Gutmans2004-05-021-5/+2
|
* - Nuke more old junkAndi Gutmans2004-04-031-4/+0
|
* - Nuke code which hasn't been in use for ages.Andi Gutmans2004-04-031-28/+0
|
* centralize object-to-scalar conversion, make it work with get handlerStanislav Malyshev2004-03-281-58/+71
|
* Use macros for object parts accessStanislav Malyshev2004-03-281-10/+10
|
* - Revert bogus commitDerick Rethans2004-03-241-4/+6
|
* - Fixed NEWSDerick Rethans2004-03-241-6/+4
| | | | | #- Can we *please* keep this in order?