On a related note. Code like:
$foo = array("a" => range(1,10), "b" => range(11,20));
print_r($foo[][0]);
results in
Fatal error: Cannot use [] for reading in Command line code on line 3
It would be incredibly useful when handling regular two-dimensional
database-resultsets. Essentially, what I'
(I realize that I haven't got any karma here. Just want to offer a
users point of view. :))
I think this would make a great addition. Just not for educational
purposes, but also to help experienced developers avoid missing holes.
Ilia wrote:
safe_mode is/was off by default to, and yet a good c
Talking about type hinting. It would be nice to be able to declare
variables as a certain type once and for all (like c, although
optional). I don't if this has been discussed and dismissed before,
and if that is the case, please don't kill me. You're just
brainstorming anyway, right? :)
Emil
--