diff options
author | Andrea Faulds <ajf@ajf.me> | 2014-12-14 18:20:23 +0000 |
---|---|---|
committer | Andrea Faulds <ajf@ajf.me> | 2014-12-21 13:23:02 +0000 |
commit | e5eb9530ab13a174feee83a81d87bfceee37bd88 (patch) | |
tree | 76ba0f9806f6ad369cacb9c0e9b408fc0a8ba721 /Zend/zend_object_handlers.c | |
parent | e20cbdbe97cbda010fd386cb35a474aa255cd7f6 (diff) | |
download | php-git-e5eb9530ab13a174feee83a81d87bfceee37bd88.tar.gz |
Use "float" and "integer" in typehint and zpp errors
Diffstat (limited to 'Zend/zend_object_handlers.c')
-rw-r--r-- | Zend/zend_object_handlers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_object_handlers.c b/Zend/zend_object_handlers.c index d18ee1c8ee..a0f3bfc45b 100644 --- a/Zend/zend_object_handlers.c +++ b/Zend/zend_object_handlers.c @@ -1488,7 +1488,7 @@ ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int ty return SUCCESS; case IS_DOUBLE: ce = Z_OBJCE_P(readobj); - zend_error(E_NOTICE, "Object of class %s could not be converted to double", ce->name->val); + zend_error(E_NOTICE, "Object of class %s could not be converted to float", ce->name->val); if (readobj == writeobj) { zval_dtor(readobj); } |