Re: Ranges for case statement and a WTF moment.

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

 



On Thu, Apr 7, 2011 at 2:16 AM, Richard Quadling <rquadling@xxxxxxxxx>wrote:

> And all this is shown when you ...
>
> php -r "print_r(array_map(function(&$token){if(is_array($token)){$token[0]
> = token_name($token[0]);} return $token;},token_get_all('<?php echo
> 10...19;')));"
>

Woah, that's a very nifty trick! I like PHP more and more each day . . . I
can *almost* overlook the $ now. :p

David

[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