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'
Emil Hernvall wrote:
> 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
Hi, what are the chances this patch can be committed to the 5.2.x
branch? I'm working on a project which can benefit from this patch but
5.3 sounds to be a ways out.
Thanks,
Ryan Panning
Etienne Kneuss wrote:
Hello,
Thanks! I've that dynamic access of static members patch that is waiting to
On Sun, 2007-10-07 at 19:04 -0500, Ryan Panning wrote:
> Hi, what are the chances this patch can be committed to the 5.2.x
> branch? I'm working on a project which can benefit from this patch but
> 5.3 sounds to be a ways out.
Zero. 5.2 is a stable branch which can't get any new language feature
On 08.10.2007 03:44, Rasmus Lerdorf wrote:
>> $result = $pdo->fetchAll(PDO::FETCH_ASSOC);
>> $result = array_combine(result[]['my_id'], $result);
>>
>> If I prepared a patch that made this possible, would it be considered
>> for inclusion? Is there any issues I've overlooked or other
>> objections