Sorry again , another question about string , especially regarding circular shifts , I cannot find an answer on php web site .
the problem is the following ..
If $oldpassword="test"
the $newpassword must no accept or contain
a circular shift of $oldpassword
estt
ttes
and so on ...
any idea to check this ? Thanks