Script Analysis (was Conclusion of "use strict"...)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 aaaarghhh :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:  "use strict" or similar in PHP?
> To: "Hans Schultz" 
> Cc: php-general@xxxxxxxxxxxxx
> 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?
> 


_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux