Re: Code Validator

From: Date: Tue, 04 Mar 2003 00:32:53 +0000
Subject: Re: Code Validator
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-138001@lists.php.net to get a copy of this message
PHP is not text markup, it is a kind of programming language. You can't just validate code for "correctness", only for valid syntax. It may still contain bugs. The syntax is checked by the parser, which is invoked when you run your script. Regarding HTML-output from your script, you can make sure that it is valid using HTML templates. Validate the templates and make sure that your script does not insert invalid content into it. Use htmlentities() when in doubt. "Beauford.2002" <beauford.2002@rogers.com> wrote in message news:000901c2e1d7$7fba01b0$6401a8c0@p1... > Hi, > > Is there a code validater for HTML/PHP. I have one for just HTML, but once > you introduce PHP it doesn't work. > > TIA > >

« previous php.general (#138001) next »