Bug #2284: type conversion in list()

From: Date: Sun, 12 Sep 1999 19:24:00 +0000
Subject: Bug #2284: type conversion in list()
Groups: php.dev 
Request: Send a blank email to php-dev+get-10832@lists.php.net to get a copy of this message
From: tsf@post.cz Operating system: linux PHP version: 3.0.12 PHP Bug Type: Feature/Change Request Bug description: type conversion in list() list is a great construct that can save you many lines of code. however, i often need to do user conversions and then the magic of list() is gone... could you possibly add a syntax extension allowing commands like list((int)$foo, (int)$bar) = $array_of_foo_and_bar; or is it a nonsense? :)

« previous php.dev (#10832) next »