Re: If PHP Were British

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jun 22, 2012, at 5:07 PM, Daevid Vincent <daevid@xxxxxxxxxx> 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@xxxxxxxxxxxx
http://sperling.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux