Daley said his position on pill testing had not changed, but that he was open to hearing evidence it worked, pointing to injecting rooms being established after the historic 1999 drug summit convened by former Premier Bob Carr.

"People were furiously opposed to that, but no one could say now that it didn't work," Daley said.

"Community views move, and they change with time. Nothing is constant."

NSW Premier Gladys Berejiklian has remained firm in her position against pill testing, saying she fears it would do more harm than good. She was not present at a demonstration of a pill testing machine by the Noffs Foundation this week.

“Supported by a significant volume of international evidence, Australian experts, nurses, doctors and others working in drug and alcohol services, are increasing their calls for pill-testing trials,” ANMF general secretary Annie Butler said.

“Policing and law enforcement strategies, while necessary at times, are simply not effective in preventing harm.

"Australia has an internationally recognised reputation in its approach to harm minimisation with regard to drug and alcohol use but we are falling way behind in our approach to pill-testing."