Hi,
Mir fällt da höchstens ein, einen weiteren Prozess zu starten, bei dem mit dem Kommandozeilen-Client von PHP die Syntax der Datei geprüft wird.
Man koennte den Code auch noch eval-en - muss sich aber im klaren sein, dass das kein einfacher "Syntax-Check" ist, sondern sofortige Ausfuehrung (fehlerfreien) Codes mit allen aktuellen Berechtigungen zur Folge hat, mit allen denkbaren Konsequenzen.
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“
„This is the author's opinion, not necessarily that of Starbucks.“