$option_weight += (float) $product_option_value_info['weight'];

Dener misiniz.