[PHP] "use strict" or similar in PHP?
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 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. Is there some way for PHP to cache some data on the page? I like very much PHP's speed but it would be even better to be able to cache some frequently used data from database? Also regarding databases, I liked a lot java's way of sending data to database using parameters ("select * from user where username = ?" and then passing parameter separately with database doing necessary escaping and everything). Is there something like PHPDBC similar to JDBC? TIA, Hans -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] "use strict" or similar in PHP?
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: 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. see error_reporting(E_ALL|E_STRICT); :) Is there some way for PHP to cache some data on the page? I like very much PHP's speed but it would be even better to be able to cache some frequently used data from database? Also regarding databases, I liked a lot java's way of sending data to database using parameters ("select * from user where username = ?" and then passing parameter separately with database doing necessary escaping and everything).. Is there something like PHPDBC similar to JDBC? You can use sprintf("select * from `user` where `username`=%s",$user); Also you can look into the great frameworks of PHP like ZendFramework, CodeIgniter, CakePHP etc. TIA, Hans -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] "use strict" or similar in PHP?
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 PHP? To: "Hans Schultz" 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 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 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. > Is there some way for PHP to cache some data on the page? I like very much > PHP's speed but it would be even better to be able to cache some frequently > used data from database? > Also regarding databases, I liked a lot java's way of sending data to > database > using parameters ("select * from user where username = ?" and then passing > parameter separately with database doing necessary escaping and everything). > Is there something like PHPDBC similar to JDBC? > > TIA, > Hans > > > -- > Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >
Re: [PHP] "use strict" or similar in PHP?
Thanks a lot for your info, I will check that IDE too. But those warning levels give me warning only when they encounter offending code? Are you telling me that it can be setup to fail entire script prior to any execution if there are errors in it? Can you please point me how to setup my PHP installation that way? --- On Thu, 2/26/09, 9el wrote: From: 9el Subject: Re: [PHP] "use strict" or similar in PHP? To: h.schult...@yahoo.com Date: Thursday, February 26, 2009, 9:34 PM --- Use 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 wrote: 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, Thats why E_ALL E_STRICT are there. Read the Zend Guide for Zend Certified Programmer to know the gists at a glance. I'm becoming a ZCE soon :) www.twitter.com/nine_L www.lenin9l.wordpress.com
Re: [PHP] "use strict" or similar in PHP?
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 revolutionary e-mail client: http://www.opera.com/mail/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] "use strict" or similar in PHP?
Sorry, I didn't want to offend anyone :-) It was just very weird argument - to quote: "There is no "compile" time. PHP is interpreted so it is compiled and then executed." Sounds like contradiction in this very sentence :-). My apologies On Fri, 27 Feb 2009 10:22:44 +0100, 9el wrote: --- Use 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: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.ini. It is compiled in no time, so there is no compile time? LOL If you are a programmer you should know the difference between Compiler and Interpreter. PHP is interpretted. You are using term without knowing the meaning. Just like javascript is run in browser ... PHP is run at server while the page is being served to the visitor clear? Now tell us your question again. www.twitter.com/nine_L www.lenin9l.wordpress.com -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] "use strict" or similar in PHP?
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 Fri, 2009-02-27 at 14:04 +0100, Hans Schultz wrote: > Sorry, I didn't want to offend anyone :-) It was just very weird argument > - to quote: > "There is no "compile" time. PHP is interpreted so it is compiled and > then executed." > Sounds like contradiction in this very sentence :-). > > My apologies > But if it never compiles, it can never run, but it can't run without compiling? Arggh, my head. So does that mean if I go back in time and shoot my grandfather, then nobody is in the woods to hear PHP try to compile? Ash www.ashleysheridan.co.uk
RE: [PHP] "use strict" or similar in PHP?
So, in the end, following should output something in php? Anyway we are far off topic now :-) Cheers --- On Fri, 2/27/09, Bob McConnell wrote: From: Bob McConnell Subject: RE: [PHP] "use strict" or similar in PHP? To: h.schult...@yahoo.com, a...@ashleysheridan.co.uk Cc: php-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? > To: "Hans Schultz" > Cc: php-general@lists.php.net, "9el" > Date: Friday, February 27, 2009, 1:11 PM > > On Fri, 2009-02-27 at 14:04 +0100, Hans Schultz wrote: >> Sorry, I didn't want to offend anyone :-) It was just very weird > argument >> - to quote: >> "There is no "compile" time. PHP is interpreted so it is > compiled and >> then executed." >> Sounds like contradiction in this very sentence :-). >> >> My apologies >> > But if it never compiles, it can never run, but it can't run without > compiling? Arggh, my head. So does that mean if I go back in time and > shoot my grandfather, then nobody is in the woods to hear PHP try to > compile? The compile process parses the text of the source file and translates it into an alternate form. This can by byte code, ala Pascal and Java, or executable code, ala COBOL and C. An interpreter, on the other hand, simply parses the source file, line by line and executes each line as it reads it, usually without saving it in an alternate form. This is the way JavaScript works. Some languages, such as Perl, are somewhere between the two. Perl parses the whole file, then executes only if it did not find any syntax errors or undefined variables (if certain strictures are turned on). Otherwise it prints out only the error message. >From what I have seen of PHP, it is strictly interpreted. i.e. a line is read, and executed. Then the next line is read, and executed. etc. So there is no way to get it to block execution from the beginning even when there are fatal errors. It will already have printed out as much of the page as it executed before it finds those errors. This works fine in a development or test environment, but is a serious problem in production. So, I believe the question that was actually asked, is there any way to induce PHP to completely parse the source file(s) and report any errors before printing out anything, even the HTTP headers? Or can I set it to redirect to an error page instead of sending an incomplete target page with error messages that might reveal information I don't want exposed? Bob McConnell
[PHP] Re: "use strict" or similar in PHP?
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 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 Netbeans 6.5 with the PHP extension, but there are alternatives... Is there some way for PHP to cache some data on the page? I like very much PHP's speed but it would be even better to be able to cache some frequently used data from database? Generally it's not worth the trouble, but you could cache in the session... Remember that PHP is largely stateless, so one page call knows nothing of any other page calls. This is different to Java, where you can hold state in the underlying virtual machine and recover it later... Also regarding databases, I liked a lot java's way of sending data to database using parameters ("select * from user where username = ?" and then passing parameter separately with database doing necessary escaping and everything). Is there something like PHPDBC similar to JDBC? With PostgreSQL (and probably MySQL too) you can do either a prepared statement (see http://www.php.net/manual/en/function.pg-prepare.php) and then execute that, or a simpler parameterised query (see http://www.php.net/manual/en/function.pg-query-params.php) Something like $sql = 'SELECT * FROM user WHERE username=$1'; $params = Array('pete'); $result = pg_query_params($sql,$params); That way you get the safest handling of values without any tedious messing about with manually escaping strings. I suspect that under the hood it actually prepares a statement and then executes it, but I might be wrong... -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Conclusion of "use strict"...
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 if php at all has compile time etc. Today one thing crossed my mind -- if there is compiler for php maybe it can catch these errors natively, like java compiler for java? Unfortunatelly there is no recent version available for windows so I can't test it myself (http://www.roadsend.com/home/index.php?pageID=compiler). I am interesting if someone is using it, and if it can detect this simple mistakes (I am using eclipse + php plugin, but I feel there is something wrong in depending on editor to detect programming errors :-) ) Regards to all, --- On Thu, 2/26/09, Ovidiu Rosoiu wrote: From: Ovidiu Rosoiu Subject: Re: [PHP] "use strict" or similar 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 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 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. > Is there some way for PHP to cache some data on the page? I like very much > PHP's speed but it would be even better to be able to cache some frequently > used data from database? > Also regarding databases, I liked a lot java's way of sending data to database > using parameters ("select * from user where username = ?" and then passing > parameter separately with database doing necessary escaping and everything). > Is there something like PHPDBC similar to JDBC?
Re: [PHP] Conclusion of "use strict"...
Thanks for reply, I completely understood your answer even in previous thread, but you should understand few very simple things1. I am not working alone, so I can't make other people use tools I use (eclipse + PDT at the moment) 2. even if somehow I manage to do number 1 we also have some legacy code from where ocassionally popup some idiotic bug (like that I mentioned with typo in property name)I hope (because of 1 and 2) you can understand that eclipse + PDT is not answer to my problem. Now, since I need some way to do these checks for all code paths (and not just currently running one) that is why I am more interested for something able to do those checks in compile time (ie, my javac will report to me uninitialized variable if I have some code path that could miss initialization of variable I am using later); since almost everyone agreed that could be done by some compiler I found php compiler (that for fact really exist, and I even posted llnk to it), since I need to use windows for development and compiler has trial version for linux I was curious if someone used it and if it could help me with my problems.. So, question is NOT whether php is interpreted or compiled, or is there a compiler, question is rather is that compiler useful for my problem.Best regards --- On Wed, 3/4/09, 9el wrote: From: 9el Subject: Re: [PHP] Conclusion of "use strict"... To: h.schult...@yahoo.com Cc: php-general@lists.php.net Date: Wednesday, March 4, 2009, 4:20 PM You got it all wrong. As explained, php dont have real compile time like other languages. And if you want to learn a language, you have to start the way it acts. the E_STRICT setting will tell you most of the errors possible from a php script. At production level programmers keep the errors away from visitors eyes by redirecting them all to log files. If you use PDT like NetBeans (which is regarded as the best one yet... there's one version of Visual PHP for Visual Studio developers as well) As you have got to check the errors for typos its the best way to get aid of the PDT IDEs. Thats my personal opinion. Lenin www.twitter.com/nine_L www.lenin9l.wordpress.com --- Use 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 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 mistakes). And we were talking also about being able to catch them at compile time, then if php at all has compile time etc. Today one thing crossed my mind -- if there is compiler for php maybe it can catch these errors natively, like java compiler for java? Unfortunatelly there is no recent version available for windows so I can't test it myself (http://www.roadsend.com/home/index.php?pageID=compiler). I am interesting if someone is using it, and if it can detect this simple mistakes (I am using eclipse + php plugin, but I feel there is something wrong in depending on editor to detect programming errors :-) ) Regards to all, --- On Thu, 2/26/09, Ovidiu Rosoiu wrote: From: Ovidiu Rosoiu Subject: Re: [PHP] "use strict" or similar 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 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 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. > Is there some way for PHP to cache some data on the page? I like very much > PHP's speed but it would be even better to be able to cache some frequently > used data from database? > Also regarding databases, I liked a lot java's way of sending data to database > using parameters ("select * from user where username = ?" and then passing > parameter separately with database doing necessary escaping and everything). > Is there something like PHPDBC similar to JDBC?
Re: [PHP] Conclusion of "use strict"...
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 ... which is as natural as it is inevitable ;-) LOL, right :)
[PHP] Re: Conclusion of "use strict"...
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 rghhh :P). It is Codenizer (http://www.softwarehood.com/Codenizer/), I am still checking it, if someone uses it it would be nice to share 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 if php at all has compile time etc. Today one thing crossed my mind -- if there is compiler for php maybe it can catch these errors natively, like java compiler for java? Unfortunatelly there is no recent version available for windows so I can't test it myself (http://www.roadsend.com/home/index.php?pageID=compiler). I am interesting if someone is using it, and if it can detect this simple mistakes (I am using eclipse + php plugin, but I feel there is something wrong in depending on editor to detect programming errors :-) ) Regards to all, --- On Thu, 2/26/09, Ovidiu Rosoiu wrote: From: Ovidiu Rosoiu Subject: Re: [PHP] "use strict" or similar 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 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 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. Is there some way for PHP to cache some data on the page? I like very much PHP's speed but it would be even better to be able to cache some frequently used data from database? Also regarding databases, I liked a lot java's way of sending data to database using parameters ("select * from user where username = ?" and then passing parameter separately with database doing necessary escaping and everything). Is there something like PHPDBC similar to JDBC? -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Script Analysis (was Conclusion of "use strict"...)
On Fri, 20 Mar 2009 15:45:09 +0100, Virgilio Quilario wrote: On Fri, Mar 20, 2009 at 6:47 PM, Pierre Lilliman wrote: I have been using same program for some (not very long time), and I find it very useful, although it has some annoying 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 errors in PHP at compile time (compile time rghhh :P). It is Codenizer (http://www.softwarehood.com/Codenizer/), I am still checking it, if someone uses it it would be nice to share experience :) Hi guys, Check out Netbeans IDE for PHP. http://www.netbeans.org/features/php/ Your wishes answered. Though it doesn't have "use strict" but it tracks variables for you. Virgil http://www.jampmark.com Can you please elaborate on this (using Netbeans to track variables), I know what Codenizer does, but I didn't manage to make Netbeans to do this "variable track"? Few guys also mentioned that but I couldn't really find that feature? TIA -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Script Analysis (was Conclusion of "use strict"...)
Thanks, I downloaded Netbeans week or two ago and I found all that. I thought there is something more advanced (these things have any decent editor/ide (for example eclipse + pdt also have all that)). We are talking completely different level of checks :-) In the end I may switch to non-free version of Codenizer (unless someone points me how to check for at least non-initialized variables with Netbeans, and save me 20$ :-) On Sat, 21 Mar 2009 01:17:20 +0100, George Larson wrote: Ooops! Those were v5.5 videos.. A little newer stuff is here: http://www.netbeans.org/kb/docs/screencasts.html On Fri, Mar 20, 2009 at 7:44 PM, George Larson wrote: Netbeans does have some sick fanciness... Auto-suggest, leaving your cursor over a variable momentarily highlights it everywhere in the code and define labeled folding points. You can press CTRL-R to rename that variable everywhere it is used in the code. If you can figure out how to set it up with xdebug (I'm working on it) then you can have step-by-step debugging. NetBeans is well worth giving a chance, in my opinion. You can check out some videos 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 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 (not very long time), and I find it very useful, although it has some annoying 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 errors in PHP at compile time (compile time rghhh :P). It is Codenizer (http://www.softwarehood.com/Codenizer/), I am still checking it, if someone uses it it would be nice to share experience :) Hi guys, Check out Netbeans IDE for PHP. http://www.netbeans.org/features/php/ Your wishes answered. Though it doesn't have "use strict" but it tracks variables for you. Virgil http://www.jampmark.com Can you please elaborate on this (using Netbeans to track variables), I know what Codenizer does, but I didn't manage to make Netbeans to do this "variable track"? Few guys also mentioned that but I couldn't really find that feature? TIA -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Script Analysis (was Conclusion of "use strict"...)
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 can inspect local variables, set watches, set breakpoints, and evaluate code live. Navigate to declarations, types and files using Go To shortcuts and hypertext links. It is from this url: http://www.netbeans.org/features/php/ Or maybe this. It highlights those variables not initialized. See the screencast. http://www.netbeans.org/kb/docs/php/php-editor-screencast.html Maybe should try it sometime. Best wishes, Virgil http://www.jampmark.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP checkstyle
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:02:36 +0100, Dipen wrote: Hi list, After searching google for 1 hr I am still unable to find an equivalent for java checkstyle for PHP which would play nice with eclipse. I could find this http://developer.spikesource.com/wiki/index.php?title=Projects:phpcheckstyleNewsand one abandoned project with no releases on sourceforge. Does anyone know of checkstyle eclipse plugin for PHP (doesnt need to be all featureful). Also how do you manage this kind of task? Checkstyle eclipse plugin for java - http://eclipse-cs.sourceforge.net/ Thanks Dipen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php