Php Assign Function To Variable Resistor