Re: Why PHP sucks - farce or is there a bit of truth?

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

 



On 18 October 2013 14:05, Tim-Hinnerk Heuer <th.heuer@xxxxxxxxx> wrote:

> (a == 1) ? "one" : (a == 2) ? "two" : "three"


Same in JS:
$ node
> a = 1;
1
> (a == 1) ? "one" : (a == 2) ? "two" : "three"
'one'


Tim-Hinnerk Heuer

Twitter: @geekdenz
Blog: http://www.thheuer.com

[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