diff options
Diffstat (limited to 'Zend/zend_operators.c')
-rw-r--r-- | Zend/zend_operators.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index 70de104975..23f3ddcf7f 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -353,7 +353,7 @@ ZEND_API void convert_to_double(zval *op) /* {{{ */ if (Z_TYPE(dst) == IS_DOUBLE) { ZVAL_COPY_VALUE(op, &dst); } else { - zend_error(E_NOTICE, "Object of class %s could not be converted to double", Z_OBJCE_P(op)->name->val); + zend_error(E_NOTICE, "Object of class %s could not be converted to float", Z_OBJCE_P(op)->name->val); ZVAL_DOUBLE(op, 1.0); } |