ID: 40591 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Assigned +Status: Closed Bug Type: Scripting Engine problem PHP Version: 5CVS-2007-02-22 (snap) Assigned To: dmitry New Comment:
The bug is fixed in CVS HEAD and PHP_5_2. But the behavoirs of the following scripts are still different: 1) list($a, $b) = "ab"; // $a = $b = NULL; 2) list($a, $b) = "a"."b"; // $a = $b = NULL; 3) $s = "ab"; list($a, $b) = $s; // $a = "a"; $b = "b"; 4) list($a, $b) = foo(); // $a = "a"; $b = "b"; Previous Comments: ------------------------------------------------------------------------ [2007-02-22 15:13:32] [EMAIL PROTECTED] Description: ------------ . Reproduce code: --------------- list($a,$b,$c)="abc"; ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40591&edit=1