Advertisement
Guest User

Untitled

a guest
Oct 10th, 2015
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.19 KB | None | 0 0
  1. <?php
  2. class Usuario {
  3.     public $name, $birthday, $email;
  4.     function validate() {
  5.         if (strlen($name) * strlen($name) > 0 && is_date($birthday))
  6.             return true
  7.         else
  8.             return false
  9.     }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement