strspn
|
<?php $password = "3312345"; if (strspn($password, "1234567890") == strlen($password)) echo "The password cannot consist solely of numbers!"; ?>
|
|
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
PHP Function Reference -> Users Code Examples / Notes - > strcspn:
- strcspn
|