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?

PHP awesomeness

Posted by crayz

From the source of the php.net home page:
// DO NOT REMOVE THIS COMMENT (the RSS parser is dependant on it)

PHP SOAP - just a friendly note

Posted by crayz

The shit seems to be horribly broken. Use the most bleeding edge thing you can find(5.1b3 atm) if you want things to have the best chance of working. This is really making me angry

php, you dissapoint me

Posted by crayz

For fucks sake, what is mssql.datetimeconvert?

I’ll tell you what it is, it’s 30 wasted minutes trying to figure out why the hell I’m not seeing seconds specified when I grab a datetime field from an MS SQL database in a script