Re: Why is some_function()[some_index] invalid syntax?

From: Date: Fri, 11 Jan 2008 14:43:49 +0000
Subject: Re: Why is some_function()[some_index] invalid syntax?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-267078@lists.php.net to get a copy of this message
On Jan 11, 2008 3:45 AM, Zoltán Németh <znemeth@alterationx.hu> wrote: > and call it Java ;) > or perhaps javascript :) function cool() { return [1, 2, 3]; } alert(cool()[0]); -nathan

« previous php.general (#267078) next »