Re: tedd's Friday Post ($ per line)
| From: | Robert Cummings | Date: | Thu, 07 Oct 2010 19:04:06 +0000 |
| Subject: | Re: tedd's Friday Post ($ per line) | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-308547@lists.php.net to get a copy of this message | ||
On 10-10-07 02:04 PM, Joshua Kehn wrote:
In the case payment does come down to lines of code written I'm already covered. if( count> 5) {I hope your $count var is being incremented properly under this model: <?php function increment( &$count ) {/* Bracing Style}
$count = 0;
if( $count == 0 )
{
$count = 1;
}
else
if( $count == 1 )
{
$count = 2;
}
else
if( $count == 2 )
{
$count = 3;
}
else
if( $count == 3 )
{
$count = 4;
}
else
if( $count == 4 )
{
$count = 5;
}
else
{
throw new Exception( 'Increment out of bounds' );
}
}
?>
Just think how much money could be made if you need to support large datasets!!! CHAAAAAAAAAAAAAA-CHING!
Cheers,
Rob.
--
E-Mail Disclaimer: Information contained in this message and any
attached documents is considered confidential and legally protected.
This message is intended solely for the addressee(s). Disclosure,
copying, and distribution are prohibited unless authorized.