oops... una svista mia... puoi ripetere il test così come di seguito?
Codice PHP:
<?php
$ts = time(); // debug
// example of how to use basic selector to retrieve HTML contents
include('simple_html_dom.php');
$te = time()-$ts; print "#01: $te\"
"; // debug
$html = new simple_html_dom();
$te = time()-$ts; print "#02: $te\"
"; // debug
// get DOM from URL or file
$html = file_get_html('.....');
$te = time()-$ts; print "#03: $te\"
"; // debug
// find all span tags with class=gb1
foreach($html->find('span.price') as $e)
$UE40ES7000 = $e->outertext;
@$car = "€";
@$UE40ES7000 = str_replace($car,€,$UE40ES7000);
$te = time()-$ts; print "#04: $te\"
"; // debug
exit;
?>
...cmq dovrebbero essere 0", 0", 9" e 0" quindi non ci sarebbe traccia dei lunghi tempi di cui sopra... riprova cmq e rivediamo...