[PHP] Re: PHP checkstyle

2009-03-24 Thread Hans Schultz
Hello Dipen, I recently found Codenizer (http://www.softwarehood.com/Codenizer/) to do similar (only code syntax & semantics analysis - no formatting) thing for PHP. However I couldn't find out how to use it with eclipse, so I switched to Netbeans for now. Regards On Mon, 23 Mar 2009 11:0

Re: [PHP] Script Analysis (was Conclusion of "use strict"...)

2009-03-21 Thread Hans Schultz
Hi Virgilio, Thanks for that last link, I just know need to figure out why my Netbeans doesn't work like that (although I am using latest version) On Sat, 21 Mar 2009 10:56:46 +0100, Virgilio Quilario wrote: Hi Hans, Is this what you are looking for? Debug PHP code using Xdebug: You ca

Re: [PHP] Script Analysis (was Conclusion of "use strict"...)

2009-03-21 Thread Hans Schultz
me. ( http://www.netbeans.org/kb/55/flash.html) On Fri, Mar 20, 2009 at 5:07 PM, Hans Schultz wrote: On Fri, 20 Mar 2009 15:45:09 +0100, Virgilio Quilario < virgilio.quila...@gmail.com> wrote: On Fri, Mar 20, 2009 at 6:47 PM, Pierre Lilliman wrote: I have been using same program for some (no

Re: [PHP] Script Analysis (was Conclusion of "use strict"...)

2009-03-20 Thread Hans Schultz
include expressions). Still I think every serious PHP developer should consider using something like this. Cheers --- On Thu, 3/19/09, Hans Schultz  wrote: If someone is still interested in problem I found litle tool that is pretty close to detecting errors in PHP at compile time (compile time

[PHP] Re: Conclusion of "use strict"...

2009-03-19 Thread Hans Schultz
experience :) On Wed, 04 Mar 2009 11:03:04 +0100, Hans Schultz wrote: Concluding,  and one idea...I think I received satisfying advices on everything but first question (Detection of typos and other simple mistakes). And we were talking also about being able to catch them at compile time, then

Re: [PHP] Conclusion of "use strict"...

2009-03-06 Thread Hans Schultz
Hehe,I don't agree with either :-) But I am still searching for some solution, and when (and if) I find it I will be happy to share with you (btw, obviously nobody shared experiences about that compiler) Hans is the OP, the one you thought "got it all wrong.", you're actually agree with me ..

Re: [PHP] Conclusion of "use strict"...

2009-03-04 Thread Hans Schultz
hout any cost. Visit : www.ubuntu.com -- On Wed, Mar 4, 2009 at 4:03 PM, Hans Schultz wrote: Concluding,  and one idea...I think I received satisfying advices on everything but first question (Detection of typos and other simple mi

[PHP] Conclusion of "use strict"...

2009-03-04 Thread Hans Schultz
ilar in PHP? To: "Hans Schultz" Cc: php-general@lists.php.net Date: Thursday, February 26, 2009, 9:14 PM Hans Schultz wrote: > Hello, > I am beginner with PHP and prior to PHP I have worked with java for some time > and with perl for very short period. I can't help

[PHP] Re: "use strict" or similar in PHP?

2009-02-27 Thread Hans Schultz
Thanks, this is the most useful answer I got. I will try to use that IDE and to see if it works for me. Regarding databases I was hopping for some abstraction layer like dbx only better (to allow parameters). Regards, Hans On Fri, 27 Feb 2009 15:41:55 +0100, Peter Ford wrote: Hans

RE: [PHP] "use strict" or similar in PHP?

2009-02-27 Thread Hans Schultz
hp-general@lists.php.net, "9el" Date: Friday, February 27, 2009, 1:43 PM From: Hans Schultz > > Hahahah,I was thinking the same thing :D > > --- On Fri, 2/27/09, Ashley Sheridan wrote: > From: Ashley Sheridan > Subject: Re: [PHP] "use strict" or similar in PHP? >

Re: [PHP] "use strict" or similar in PHP?

2009-02-27 Thread Hans Schultz
Hahahah,I was thinking the same thing :D --- On Fri, 2/27/09, Ashley Sheridan wrote: From: Ashley Sheridan Subject: Re: [PHP] "use strict" or similar in PHP? To: "Hans Schultz" Cc: php-general@lists.php.net, "9el" Date: Friday, February 27, 2009, 1:11 PM On

Re: [PHP] "use strict" or similar in PHP?

2009-02-27 Thread Hans Schultz
On Fri, Feb 27, 2009 at 3:08 PM, Hans Schultz wrote: On Thu, 26 Feb 2009 22:38:13 +0100, Shawn McKenzie wrote: There is no "compile" time. PHP is interpreted so it is compiled and then executed. If you always want error reporting, then set it in php.in

Re: [PHP] "use strict" or similar in PHP?

2009-02-27 Thread Hans Schultz
On Thu, 26 Feb 2009 22:38:13 +0100, Shawn McKenzie wrote: There is no "compile" time. PHP is interpreted so it is compiled and then executed. If you always want error reporting, then set it in php.ini. It is compiled in no time, so there is no compile time? LOL -- Using Opera's revolut

Re: [PHP] "use strict" or similar in PHP?

2009-02-26 Thread Hans Schultz
top piracy, Let the developers live. Get a Free CD of Ubuntu mailed to your door without any cost. Visit : www.ubuntu.com -- On Fri, Feb 27, 2009 at 3:13 AM, Hans Schultz wrote: Oh, I didn't mentioned that I tried that,

Re: [PHP] "use strict" or similar in PHP?

2009-02-26 Thread Hans Schultz
Oh, I didn't mentioned that I tried that, I was thinking  something like failing at compile time (like perl with "use strict" in programs)Thanks for reply, Hans --- On Thu, 2/26/09, Lewis Wright wrote: From: Lewis Wright Subject: Re: [PHP] "use strict" or similar in PH

Re: [PHP] "use strict" or similar in PHP?

2009-02-26 Thread Hans Schultz
I was thinking more of something to fail at compile time if possible :-)regarding second, that solution with sprintf is vulnerable to SQL injection, that is why I wanted something with parameters, instead of escaping everything myself Thanks for your help anyway --- On Thu, 2/26/09, 9el wrote:

[PHP] "use strict" or similar in PHP?

2009-02-26 Thread Hans Schultz
Hello, I am beginner with PHP and prior to PHP I have worked with java for some time and with perl for very short period. I can't help to notice some things that are little annoyance for me with PHP, but I am sure someone more experienced can help me :-) Is there in PHP something like "use