ID: 8595 Updated by: david Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Operating system: PHP Version: 4.0.4 Assigned To: Comments: see also #8447 Previous Comments: --------------------------------------------------------------------------- [2001-01-08 09:26:49] [EMAIL PROTECTED] I'd like to use list() for other things that assigning to, ie. this works: list($a,$b)=$c; But the following example doesn't work (among others): $str="I think this is a stupid example, but it should show what I want to know"; preg_match( "/(this) is a (stupid) example/", $str, list($whole,$first,$second) ); Somebody generalized this feature request as 'more effective parser'. Otherwise, thanks a lot for a good job! --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8595&edit=2 -- 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]