|
Posted by Toby A Inkster on 05/09/07 08:53
Krustov wrote:
> $jazz, $junk, $zdummy, $qaz, $zstring, $gimmie
WTF?! This isn't Scrabble[TM]; you don't get bonus points for including Z,
Q and J in your variable names.
As far as I can tell, your entire 40-line include file can be replaced with:
$p = preg_replace('/[^0-9]/', '', $p);
which is only 40 characters.
--
Toby A Inkster BSc (Hons) ARCS
http://tobyinkster.co.uk/
Geek of ~ HTML/SQL/Perl/PHP/Python/Apache/Linux
Navigation:
[Reply to this message]
|