public Memory assignValue(Environment env, TraceInfo trace, Object object, String name, Memory value) {
        return ((IObject) object).getProperties().refOfIndex(name).assign(typedValue(env, trace, value));
    }
0 - success
1 - invalid protected
2 - invalid private
@param env
@return
jphp-runtime/src/php/runtime/reflection/PropertyEntity.java