Complex password validation in php

Complex password validation in php