Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54506 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44820 invoked from network); 11 Aug 2011 11:26:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Aug 2011 11:26:08 -0000 Authentication-Results: pb1.pair.com smtp.mail=juzna.cz@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=juzna.cz@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.172 as permitted sender) X-PHP-List-Original-Sender: juzna.cz@gmail.com X-Host-Fingerprint: 209.85.210.172 mail-iy0-f172.google.com Received: from [209.85.210.172] ([209.85.210.172:57609] helo=mail-iy0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A7/01-37300-F4CB34E4 for ; Thu, 11 Aug 2011 07:26:07 -0400 Received: by iye7 with SMTP id 7so1454159iye.31 for ; Thu, 11 Aug 2011 04:26:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=MEmBaZs6Aq+q9JSPwRe01uhXuzBs80XlrK4BdDx6x4c=; b=RBKq55eQblYRcVoVUxwjhobo2MP55BdkGgL61VA7C1SlEnZf4udix2OYYAPsjvqU9g lkfajeJyo9HUoFaaUobrdu3BVC3rjCLMXz0uPp+I3c8OclTLJwfFKpa9mWbolfrEkweS OqSwY5E9OkHd4bE/gjFr6FEM7ZVcIbN+bfuJU= Received: by 10.231.117.21 with SMTP id o21mr9830030ibq.62.1313061965110; Thu, 11 Aug 2011 04:26:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.32.134 with HTTP; Thu, 11 Aug 2011 04:25:45 -0700 (PDT) Date: Thu, 11 Aug 2011 12:25:45 +0100 Message-ID: To: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: What happened to error details in stat From: juzna.cz@gmail.com (Jan Dolecek) I remember that if error happened in stat- related functions, error message contained also system errno and message, like in following line: Warning: fileatime(): Stat failed for /tmp\lost+found (errno=2 - No such file or directory) in /home/rfresh/public_html/whosonline_form.php on line 93 But now it says only: Warning: filesize(): stat failed for non-existing-file in shell code on line 1 Why PHP doesn't report reason of stat failure anymore? It makes solving such problems much more difficult, as I don't know why stat failed. Note: first error message was copied from a forum post written in 2005. Jan Dolecek juzna.cz@gmail.com