note 24920 rejected from ref.array by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Thu, 05 Sep 2002 01:26:25 +0000 |
| Subject: | note 24920 rejected from ref.array by jmcastagnetto | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-36143@lists.php.net to get a copy of this message | ||
why this gives an error?
$var = array( function1(), function2() );
"...parse error, unexpected '(', expecting ')'..."
can't we put method calls inside the array ???