Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #12122

Re: request for error checking feature

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 <usenet@arnowelzel.de>
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> (permalink)
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

Show key headers only | View raw


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 <http://www.apachefriends.org/en/xampp.html>.

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

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

request for error checking feature richard <noreply@example.com> - 2013-12-03 16:52 -0500
  Re: request for error checking feature "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2013-12-03 22:21 +0000
    Re: request for error checking feature Arno Welzel <usenet@arnowelzel.de> - 2013-12-04 12:23 +0100
      Re: request for error checking feature "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2013-12-04 12:54 +0000
  Re: request for error checking feature Christoph Michael Becker <cmbecker69@arcor.de> - 2013-12-04 00:32 +0100
    Re: request for error checking feature Ben Bacarisse <ben.usenet@bsb.me.uk> - 2013-12-04 00:02 +0000
      Re: request for error checking feature Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-12-04 01:24 +0100
      Re: request for error checking feature Jerry Stuckle <jstucklex@attglobal.net> - 2013-12-03 20:39 -0500
        Re: request for error checking feature Ben Bacarisse <ben.usenet@bsb.me.uk> - 2013-12-04 02:42 +0000
          Re: request for error checking feature Jerry Stuckle <jstucklex@attglobal.net> - 2013-12-03 22:45 -0500
            Re: request for error checking feature Ben Bacarisse <ben.usenet@bsb.me.uk> - 2013-12-04 14:41 +0000
              Re: request for error checking feature Jerry Stuckle <jstucklex@attglobal.net> - 2013-12-04 10:37 -0500
  Re: request for error checking feature Arno Welzel <usenet@arnowelzel.de> - 2013-12-04 12:20 +0100
  Re: request for error checking feature Denis McMahon <denismfmcmahon@gmail.com> - 2013-12-04 20:19 +0000

csiph-web