The devil is in the details. A buck-boost regulator will give you the widest range of input variability, since the solar voltage could be below or above the load voltage. In a simple (cheap) arrangement, you may just use a linear or buck regulator to convert the higher panel voltage down t the load voltage. A solar panel makes so much less power when poorly lit, it's not worth trying to regulate the low end of its voltage range.if i have a variable input voltage (for example from solar) and I want the output voltage will be stable , what I can use?
If you aren't talking about a lot of power, another option is to use a battery at the desired voltage and use a diode so that the solar cells dump charge into the battery whenever their lit strongly enough to do so. If you are concerned about potential overcharging, you could but a zener bypass circuit to dump the charge if the battery rises above a certain voltage. That would be a simple solution using only a couple of passive components.if i have a variable input voltage (for example from solar) and I want the output voltage will be stable , what I can use?