summaryrefslogtreecommitdiff
path: root/ext/pdo/pdo_stmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdo/pdo_stmt.c')
-rw-r--r--ext/pdo/pdo_stmt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c
index 162b47ee6c..37e7a4c403 100644
--- a/ext/pdo/pdo_stmt.c
+++ b/ext/pdo/pdo_stmt.c
@@ -2165,7 +2165,7 @@ out:
static int dbstmt_compare(zval *object1, zval *object2)
{
- return -1;
+ return ZEND_UNCOMPARABLE;
}
zend_object_handlers pdo_dbstmt_object_handlers;
@@ -2585,7 +2585,7 @@ static zend_string *row_get_classname(const zend_object *object)
static int row_compare(zval *object1, zval *object2)
{
- return -1;
+ return ZEND_UNCOMPARABLE;
}
void pdo_row_free_storage(zend_object *std)