Php Create Object From Variable Resistor