03-01-2008, 03:23 AM
|
#6 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
|
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.
|
|
|