On Jan 10, 2008, at 8:00 PM, Arlen Christian Mart Cuss <[EMAIL PROTECTED] > wrote:

Hi there,

Why is it that if I try to evaluate an index of an array returned by a
function immediately, a syntax error is produced? (unexpected '[',
expecting ',' or ';')

Thanks,
Arlen.

I've run into this problem. (It works in Javascript >.>)

While I don't know why, you could store it in a temporary variable or use the list() language construct.

-Casey

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to