Changeset 5934 for trunk/expressoAdmin1_2/inc/class.functions.inc.php
- Timestamp:
- 04/12/12 15:18:08 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.functions.inc.php
r5593 r5934 729 729 730 730 /* Retira todos os caracteres que nao sejam 0-9 */ 731 $cpf = ereg_replace("[^0-9]", "", $cpf);731 $cpf = preg_replace('/[^0-9]/', '', $cpf); 732 732 733 733 /*Retorna falso se houver letras no cpf */
Note: See TracChangeset
for help on using the changeset viewer.