Cynic writes: > $a['x'] = 'one' ; > $a['y'] = 'two' ; > $a['z'] = 'three' ; > > list( $x , $y , $z ) = $a ; > > Warning: Undefined offset: 2 in ... > Warning: Undefined offset: 1 in ... > Warning: Undefined offset: 0 in ... You mean that this: $a['x'] = 'one'; $a['y'] = 'two'; $a['z'] = 'three'; list($x, $y, $z) = $a; ...should work like this? $x = current(each($a)); $y = current(each($a)); $z = current(each($a)); Given that numeric indices doen't necessarily indicate element positions, I don't see why that your request wouldn't be reasonable. -- +----------------------------------------------------------------+ |Torben Wilson <[EMAIL PROTECTED]> Adcore Finland| |http://www.coastnet.com/~torben http://www.adcore.com| |Ph: 1.604.709.0506 [EMAIL PROTECTED]| +----------------------------------------------------------------+ -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]