Bug #2284 Updated: type conversion in list()
| From: | Bug Database | Date: | Tue, 21 Sep 1999 17:22:30 +0000 |
| Subject: | Bug #2284 Updated: type conversion in list() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11159@lists.php.net to get a copy of this message | ||
ID: 2284
User Update by: tsf@post.cz
Status: Open
Bug Type: Feature/Change Request
Description: type conversion in list()
and thinking about it more now... how about empty variables
(like in prolog?)
list($a, _, $c) = $myarray;
the underscore is probably not o.k. here (it would collide
with a constant named _ , i guess) but it should do as an
example. I used it because that is what is used in
Prolog. So those of you familiar with that language should
know what i mean.
Full Bug description available at: http://bugs.php.net/?id=2284