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

Posted by Janwillem Borleffs on 10/12/05 12:53

ralphNOSPAM@primemail.com wrote:
> I ran your script but it didn't display anything!
>

Then, there where probably no unused vars detected (as in all vars where
found more than once).

Be aware that the script is *very* basic and certainly not failproof and
has a lot of limitations. As an example, the following script will pass
while it shouldn't:

<?php

$myvar = 1;
function test($myvar) {
// Do stuff
}

?>


JW

 

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

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