Mailinglisten-Archive |
2. Anlauf ;-))
Hallo Liste,
folgendes Script l=F6st einen Parseerror aus. Ich seh da nur keinen Fehler.=
=20
Bin ich nun Blind oder wie ???
------------
<?php
function stop_timer($stellen) { <- In dieser Zeile wird, laut Parser, der=
=20
Fehler erzeugt. ?!?!?!?!?
global $script_start_time;
$t =3D microtime();
$mtime=3Dexplode(" ", $t);
$script_stop_time=3D$mtime[1]+$mtime[0];
return number_format(($script_stop_time-$script_start_time),$stellen);
}
function start_timer() {
global $script_start_time;
$t =3D microtime();
$mtime=3Dexplode(" ", $t);
$script_start_time=3D$mtime[1]+$mtime[0];
}
?>
---------------
Gru=DF
Michael
--=20
Phone +49 5723 98077 - 0
Fax +49 5723 98077 - 1
Mobil +49 173 4315914
Home http://www.macbyte-computing.de/
PGP-Key http://www.macbyte-computing.de/shared/mykey.pkr
php::bar PHP Wiki - Listenarchive