I understood the first 3 parts with \'2\', %pr and $int (thanks)
I know that { } are not necessary there and I\'ll try to get rid of them if you say that it slows down the script. I wont update the snippet because it would suck (3 updates...) and a script never gets perfect no matter how good it is:) You should post a snippet with prime numbers to see how would yours look like (I\'m not trying to be rude)