Re: If PHP Were British
| From: | Tedd Sperling | Date: | Fri, 22 Jun 2012 22:30:00 +0000 |
| Subject: | Re: If PHP Were British | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-318289@lists.php.net to get a copy of this message | ||
On Jun 22, 2012, at 5:07 PM, Daevid Vincent <daevid@daevid.com> wrote:
> http://www.addedbytes.com/blog/if-php-were-british/
Oh, that is too funny!
I'll counter with my Hill-Billy version:
-------
echo();
yell('revenewers commin');
-------
var_dump();
take_a_dump();
preferred:
leave_one();
-------
if:
what_ya_think($huh)
{
//codie here
}
ternary:
$gospel = $thisn ? $thatn : $the_othern;
-------
switch:
whats_thisn($quess)
{
thisn $thunk_one:
//codie here
that_settles_it:
thisn $thunk_tu:
//codie here
that_settles_it:
thisn $thunk_3:
//codie here
that_settles_it:
othern $not_thunk:
//codie here
that_settles_it:
}
-------
try/catch:
what_the
{
//codie here
}
what_the_hell(kin $whut)
{
buy_the_farm('Sh#t');
}
-------
class: What? Never went to class. :-)
Cheers,
tedd
_____________________
tedd@sperling.com
http://sperling.com