Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class Usuario {
- public $name, $birthday, $email;
- function validate() {
- if (strlen($name) * strlen($name) > 0 && is_date($birthday))
- return true
- else
- return false
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement