original_string: private function getAgeWhoIs($domain)
      {
          $data = $this->getUrl('https://www.who.is/whois/' . urlencode($domain));
          preg_match('#(?:Creation Date|Created On|created|Registered on)\.*:\s*([ \ta-z0-9\/\-:\.]+)#si', $data, $p);
          if (!empty($p[1])) {
              $value = strtotime(trim($p[1]));
              if ($value === false) {
                  return 0;
              }
              return $value;
          }
          return 0;
      }
code: private function getAgeWhoIs($domain)
      {
          $data = $this->getUrl('https://www.who.is/whois/' . urlencode($domain));
          preg_match('#(?:Creation Date|Created On|created|Registered on)\.*:\s*([ \ta-z0-9\/\-:\.]+)#si', $data, $p);
          if (!empty($p[1])) {
              $value = strtotime(trim($p[1]));
              if ($value === false) {
                  return 0;
              }
              return $value;
          }
          return 0;
      }
code_tokens: private function getAgeWhoIs ( $ domain ) { $ data = $ this -> getUrl ( 'https://www.who.is/whois/' . urlencode ( $ domain ) ) ; preg_match ( '#(?:Creation Date|Created On|created|Registered on)\.*:\s*([ \ta-z0-9\/\-:\.]+)#si' , $ data , $ p ) ; if ( ! empty ( $ p [ 1 ] ) ) { $ value = strtotime ( trim ( $ p [ 1 ] ) ) ; if ( $ value === false ) { return 0 ; } return $ value ; } return 0 ; }
docstring: Returns the domain age who.is lists for the current url
  
  @param string $domain
  @return int
docstring_tokens: Returns the domain age who . is lists for the current url