com php-src: urm ... we'll want a return value that makes sense: Zend/zend_execute.c
| From: | Bob Weinand | Date: | Tue, 08 Mar 2016 17:00:26 +0000 |
| Subject: | com php-src: urm ... we'll want a return value that makes sense: Zend/zend_execute.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95608@lists.php.net to get a copy of this message | ||
Commit: 6e961f0b4851d585f520848b55ba79a5055623c2
Author: Joe Watkins <krakjoe@php.net> Tue, 8 Mar 2016 17:00:26 +0000
Parents: 607717185fcc0421810b29cf6d073dfd759b6013
Branches: typed_ref_properties
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6e961f0b4851d585f520848b55ba79a5055623c2
Log:
urm ... we'll want a return value that makes sense
Changed paths:
M Zend/zend_execute.c
Diff:
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c
index 82632d8..ebed2d7 100644
--- a/Zend/zend_execute.c
+++ b/Zend/zend_execute.c
@@ -810,9 +810,10 @@ zend_bool zend_verify_property_type(zend_class_entry *scope, zend_string *name,
ZSTR_VAL(Z_OBJCE_P(property)->name) :
zend_get_type_by_const(Z_TYPE_P(property)));
}
+ return 0;
}
return 1;
- } break;
+ }
case IS_LONG:
if (Z_TYPE_P(property) == IS_DOUBLE)
@@ -839,6 +840,7 @@ zend_bool zend_verify_property_type(zend_class_entry *scope, zend_string *name,
ZSTR_VAL(Z_OBJCE_P(property)->name) :
zend_get_type_by_const(Z_TYPE_P(property)));
}
+ return 0;
}
return 1;
}