Murmelin: Fehlermeldung von PCFTP

Beitrag lesen

Sorry, habe den falschen if markiert. So ist's richtig:

  function getHtmlDomArray($html) {  
    // array of CSS styles ( selector => properties).  
    $css = array();  
    // get CSS array defined at previous call  
    $matches = array();  
18566if (preg_match_all('/<cssarray>([^\<]*)<\/cssarray>/isU', $html, $matches) > 0) {  
      if (isset($matches[1][0])) {  
        $css = array_merge($css, unserialize($this->unhtmlentities($matches[1][0])));  
      }  
      $html = preg_replace('/<cssarray>(.*?)<\/cssarray>/isU', '', $html);  
    }  
    // extract external CSS files  
    $matches = array();