Bug #8595 Updated: More effective parsing of list() (+other)

From: Date: Sat, 23 Jun 2001 00:20:40 +0000
Subject: Bug #8595 Updated: More effective parsing of list() (+other)
Groups: php.dev 
Request: Send a blank email to php-dev+get-57718@lists.php.net to get a copy of this message
ID: 8595 Updated by: david Reported By: antti.boman@helsinki.fi 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] antti.boman@helsinki.fi 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

« previous php.dev (#57718) next »