For your query you please  refer codespeedy.com ..In this they provide full article on your query " How to Validate Phone Numbers in PHP? "..
Hope this will help you..
All the Best