Now ten years ago or so, I had five plus gallon of gasoline that was over ten years old.
It came in the tank of a car I bought.
My driveway parking lot was full of weeds so I put it in a watering can and covered the driveway.
It did not spread out and kill the lawn next to the driveway and was dry in minutes.
Lasted for several years and for awhile my driveway smelled like fresh varnished table top, literally.
Gasoline, unlike weed killers, loses toxicity quickly; the components you smell are the most dangerous ones and they evaporate.
This is only for non-garden weeds and the older the gasoline the more effective it is as it sticks.