Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.php Subject: Re: request for error checking feature Date: Wed, 04 Dec 2013 12:20:36 +0100 Lines: 44 Message-ID: <529F1004.507@arnowelzel.de> References: <2743udm6pirr$.1n6dsoxy797rv$.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: individual.net h6SVy6AB/CBU3zGYI1i1DAvPU/5PupeKsA0NPFhgLY9PtZv/Ab Cancel-Lock: sha1:uqDUoy8jo5N+Mz5WCgNj7VQtjCI= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 In-Reply-To: <2743udm6pirr$.1n6dsoxy797rv$.dlg@40tude.net> Xref: csiph.com comp.lang.php:12122 Am 03.12.2013 22:52, schrieb richard: > How about making it so that when you check documents for errors, ALL of the > errors get listed in one shot! > I'm tired of having to correct errors one by one. > Correcting errors one at a time, uploading, and doing that a few hundred > times is tedious, time consuming, and damn boring. Why don't you use Apache with PHP on your computer - then you can test your stuff before uploading anything. Having a test system is wise anyway. Also see . I don't recommend using XAMPP in production, but for development it should be fine. > And knowing more precisely what caused the error. > e.g. ""theme song"" generates > Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting > ') > > WTF does that mean? Usually there is a line number as well, not just the error message. > Why can't it just say "Double quotes not allowed here". Because this is not the error. The double quotes just caused the error but there is no thing like "double quotes not allowed". > I've been spending nearly two hours correcting all the damn double quotes > I wound up with. > So use find and replace. > Can't. That would destroy the double quotes that legal. > As in a null srring. Hopefully this will teach you to be more accurate in writing your code. -- Arno Welzel http://arnowelzel.de http://de-rec-fahrrad.de