Biggest 'WTF' in PHP 6

Posted by crayz

From the unofficial PHP 6 changelog:

With ternary operator, the "true" expression is no longer required - this can be done: $a = $s ?: 'b';

How this is still a ternary operation, I have no idea

puts "Can they get anything right?" if php.still_sucks?
Comments

Leave a response