Find prime number in php

Find prime number in php from a given number .

source