[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

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

2009-03-21 Thread Hans Schultz
if you don't want to risk the time. ( http://www.netbeans.org/kb/55/flash.html) On Fri, Mar 20, 2009 at 5:07 PM, Hans Schultz h.schult...@yahoo.comwrote: 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

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 virgilio.quila...@gmail.com wrote: Hi Hans, Is this what you are looking for? Debug

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

2009-03-20 Thread Hans Schultz
things (inability to work with all kinds of 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

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

2009-03-19 Thread Hans Schultz
experience :) On Wed, 04 Mar 2009 11:03:04 +0100, Hans Schultz h.schult...@yahoo.com 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

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 ...

[PHP] Conclusion of use strict...

2009-03-04 Thread Hans Schultz
: Re: [PHP] use strict or similar in PHP? To: Hans Schultz h.schult...@yahoo.com 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

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

2009-03-04 Thread Hans Schultz
without any cost. Visit : www.ubuntu.com -- On Wed, Mar 4, 2009 at 4:03 PM, Hans Schultz h.schult...@yahoo.com wrote: Concluding,  and one idea...I think I received satisfying advices on everything but first question (Detection

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 nos...@mckenzies.net 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 --

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 h.schult...@yahoo.com wrote: On Thu, 26 Feb 2009 22:38:13 +0100, Shawn McKenzie nos...@mckenzies.net wrote: There is no compile time. PHP is interpreted so it is compiled and then executed. If you always want error reporting

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 a...@ashleysheridan.co.uk wrote: From: Ashley Sheridan a...@ashleysheridan.co.uk Subject: Re: [PHP] use strict or similar in PHP? To: Hans Schultz h.schult...@yahoo.com Cc: php-general@lists.php.net, 9el le

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

2009-02-27 Thread Hans Schultz
or similar in PHP? To: h.schult...@yahoo.com, a...@ashleysheridan.co.uk Cc: php-general@lists.php.net, 9el le...@phpxperts.net 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 a...@ashleysheridan.co.uk wrote

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

2009-02-27 Thread Hans Schultz
wrote: Hans Schultz wrote: Is there in PHP something like use strict from perl? I find it pretty annoying to need to run script over and over again just to find out that I made typo in variable name. I find that my IDE catches most of the typos before I even try to run the page. I use

[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

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

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

2009-02-26 Thread Hans Schultz
or similar in PHP? To: Hans Schultz h.schult...@yahoo.com Cc: php-general@lists.php.net Date: Thursday, February 26, 2009, 9:07 PM Yes you can use: error_reporting(E_ALL); Which will enable notices. You can even do: error_reporting(E_ALL | E_STRICT); To enable strict messages. Lewis. 2009/2/26

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

2009-02-26 Thread Hans Schultz
FreeOpenSourceSoftwares, Stop 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 h.schult...@yahoo.com wrote