Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21231 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13449 invoked by uid 1010); 15 Dec 2005 14:45:55 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 13434 invoked from network); 15 Dec 2005 14:45:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Dec 2005 14:45:55 -0000 X-Host-Fingerprint: 194.109.193.120 unknown Linux 2.4/2.6 Received: from ([194.109.193.120:46676] helo=mx1.moulin.nl) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 36/4E-23096-2A181A34 for ; Thu, 15 Dec 2005 09:45:55 -0500 Received: from localhost (localhost [127.0.0.1]) by mx1.moulin.nl (Postfix) with ESMTP id 5D88D1732CF; Thu, 15 Dec 2005 15:45:55 +0100 (CET) Received: from mx1.moulin.nl ([127.0.0.1]) by localhost (moulin [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06647-14; Thu, 15 Dec 2005 15:45:52 +0100 (CET) Received: from [192.168.1.16] (bspr.xs4all.nl [194.109.161.228]) by mx1.moulin.nl (Postfix) with ESMTP id 7AA7F154E6A; Thu, 15 Dec 2005 15:45:52 +0100 (CET) Message-ID: <43A1819B.5090407@iamjochem.com> Date: Thu, 15 Dec 2005 15:45:47 +0100 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: scuzzy@reverseorder.net Cc: PHP References: <20051215121357.M36075@reverseorder.net> In-Reply-To: <20051215121357.M36075@reverseorder.net> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at moulin.nl Subject: Re: [PHP-DEV] php 5.1.1 syntax errors From: jochem@iamjochem.com (Jochem Maas) internals, it may be a badly worded (and inappropriately directed) post BUT I can categorically say that php5+ does have problems with displaying errors under certain circumstances - you see nothing anywhere regardless of ini/log/display settings. I have had such issues since php.5.0.3beta, I have never been able to reproduce the issue in a simple script (certain degree of code complexity is required - in practice that means running a 'production' framework of some sort). examples of the sort of problems that cause NOTHING to be reported, NOTHING to be logged and NOTHING to be displayed: 1. failed require/require_once statements. 2. non-abstract class with abstract methods (as declared in a base class). 3. method signature incompatibilities. when faced with such an error (like I just spent another 2 hours figuring out a newly developed class was missing a method [no. 2] - not the first time!) the only recourse I have it to start at the first line of php that is run and write something like: die("WTF IS GOING ON!?!?! :-("); and then keep moving it a line or 2 down at a time (stepping into all/any include files, of which there are normally about 25-50) until I find the offending line/file (at which point I can try to figure out what is actually wrong). Daine Mamacos wrote: > Is there any reason why the php 5.1.1 command processor does not report syntax > errors despite all errors being on in the .ini file? > > Maybe I'm doing something stupid. mee too - wish I knew what it was. > > -- > random signature >