summaryrefslogtreecommitdiff
path: root/Zend/zend_operators.c
Commit message (Collapse)AuthorAgeFilesLines
* 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?
* - Apply Ard's patch to support multiplication & overflow on both 32bitAndi Gutmans2004-03-171-10/+5
| | | | | and 64bit machines
* - Restore E_NOTICE for longs and doubles.Andi Gutmans2004-03-151-0/+4
|
* - Nuke E_NOTICE. This caused a notice when doing if ($obj == NULL)Andi Gutmans2004-03-151-6/+0
|
* - Improve compatibility mode and compare objects according to propertyAndi Gutmans2004-03-141-0/+5
| | | | | - comparison (sucky but this is how PHP 4 behaved).
* - Support old style of converting objects to long/double/bool.Andi Gutmans2004-03-141-19/+65
| | | | | | | | | - This is only enabled in compatibility mode, else it calls cast_object() - and if that is not available we return 1 (true) so that the following - code would work: if ($obj) { }
* Fix: Add return type voidMarcus Boerger2004-03-141-1/+1
|
* - Support Cast operator in convert_to_* so that we support internalAndi Gutmans2004-03-141-2/+6
| | | | | - extensions such as SimpleXML. This is for Sterling.
* - Fix memory leak in the following code (Dmitry):Andi Gutmans2004-03-141-0/+6
| | | | | | | | <?php $a = array(); $a .= "x"; ?>
* - Initial commit which allows comparing overloaded objects with nativeAndi Gutmans2004-03-141-13/+41
| | | | | - types (only for internal classes and not for user-land classes).
* - Fixed bug #27354 (Modulus operator crashes PHP).Derick Rethans2004-02-221-0/+5
|
* Remove conflictZeev Suraski2004-01-101-5/+0
|
* Added error mask to set_error_handler()Zeev Suraski2004-01-101-0/+5
| | | | | Patch by Christian Schneider <cschneid@cschneid.com>
* - 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?