#!/usr/bin/php $max) { if ($p > $max) $max = $p; $p2 = p_n(2, $z, true, true); $p3 = p_n(3, $z, true, true); $z = strtolower($z); echo date('d.m.Y H:i:s').' - '; echo "($x) $z\n"; echo "\t--> (P4) $p\n"; echo "\t--> (P3) $p3\n"; echo "\t--> (P2) $p2\n"; $schritte = 1; } else { # echo "Nein: $p\n"; $x1 = $x1_bak; $x2 = $x2_bak; $x3 = $x3_bak; $x4 = $x4_bak; $x5 = $x5_bak; $schritte += 0.1; // TODO: const } // --- }