Du hattest z. B. nach issued; ein Leerzeichen weggelassen...
Damit tut's:
PHP-Code:
<?php
$f=file('foo.txt');
for ($i=0; $i<count($f); $i++) {
if (strstr($f[$i], 'Total of')) {
preg_match_all("/Total of (d*) licenses? issued; Total of (d*) licenses? in use/isU", $f[$i], $temp);
print_r($temp);
}
}
exit;
?>