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

From: Date: Mon, 08 Jan 2001 14:26:49 +0000
Subject: PHP 4.0 Bug #8595: More effective parsing of list() (+other)
Groups: php.dev 
Request: Send a blank email to php-dev+get-43375@lists.php.net to get a copy of this message
From: antti.boman@helsinki.fi Operating system: Any PHP version: 4.0.4 PHP Bug Type: Feature/Change Request Bug description: More effective parsing of list() (+other) 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! -- Edit Bug report at: http://bugs.php.net/?id=8595&edit=1

« previous php.dev (#43375) next »