mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
Even though it is uncommented it should be right
This commit is contained in:
parent
9018537919
commit
63338975d4
@ -218,7 +218,7 @@ ZEND_API void zend_make_printable_zval(zval *expr, zval *expr_copy, int *use_cop
|
||||
TSRMLS_FETCH();
|
||||
#if 0
|
||||
/* Standard PHP objects */
|
||||
if (expr->value.obj.handlers == &std_object_handlers) {
|
||||
if (Z_OBJ_HT_P(expr) == &std_object_handlers || !Z_OBJ_HT_P(expr)->cast_object) {
|
||||
if (zend_std_cast_object_tostring(expr, expr_copy, IS_STRING, 0 TSRMLS_CC) == SUCCESS) {
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user