}
/* }}} */
-ZEND_API zval *zend_std_write_property(zval *object, zval *member, zval *value, void **cache_slot) /* {{{ */
+ static zend_always_inline zend_bool property_uses_strict_types() {
+ zend_execute_data *execute_data = EG(current_execute_data);
+ return execute_data
+ && execute_data->func
+ && ZEND_CALL_USES_STRICT_TYPES(EG(current_execute_data));
+ }
+
+ZEND_API zval *zend_std_write_property(zend_object *zobj, zend_string *name, zval *value, void **cache_slot) /* {{{ */
{
- zend_object *zobj;
- zend_string *name, *tmp_name;
zval *variable_ptr, tmp;
uintptr_t property_offset;
zend_property_info *prop_info = NULL;