You are here: Re: Finding Unused Variables « PHP Programming Language « IT news, forums, messages
Re: Finding Unused Variables

Posted by ralphNOSPAM on 10/12/05 07:20

On Tue, 11 Oct 2005 18:45:23 +0200, Janwillem Borleffs
<jw@jwscripts.com> wrote:

>ralphNOSPAM@primemail.com wrote:
>> Is there a PHP script that can find unused variables? I'd like to
>> 'clean up' my scripts.
>>
>> Thanks...
>>
>
>There must be out-of the box scripts out there, try Google to trace them
>(e.g. by searching for php+checkstyle).
>
>Meanwhile, I have been playing around a bit and created the following
>(probably useless) script, which uses the simple criteria "if the var is
>mentioned once, it must be unused".
>
>The source:
>
>http://playground.jwscripts.com/double-vars.phps
>
>
>Enjoy :-)
>
>JW

I ran your script but it didn't display anything!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация