View Single Post
Old 03-01-2008, 03:23 AM   #6 (permalink)
Wildhoney
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

Slightly unrelated, but I cannot wait for PHP 5.3's adaptation of the ternary operator. Currently you have to do like the following:

php Code:
$myVar = isset($_GET['myVar']) ? $_GET['myVar'] : 'Unset';

Whereas in PHP 5.3 you will be able to do:

php Code:
$myVar = isset($_GET['myVar']) ?: 'Unset';

I don't know why because it's so simple, but I am really looking forward to that! Maybe more so than namespaces !
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote