コード例 #1
0
 private static function getMaxWindClean($htmlValue)
 {
     if (preg_match('#[[:alpha:]]*Raf.(?<windMax>[0-9]+)#', $htmlValue, $value) > 0) {
         $windMax = $value['windMax'];
         return WebsiteGetData::transformeKmhByNoeud($windMax);
     } else {
         return "?";
     }
 }