chrishacia.com
PHP Strong Password
If you want to prompt your users to create password that is a certain length more or less, that is also strong by today's definition then here is a good example. This can be elaborated on even more but for common use in most practices this is more than enough. You can comment out like