Re: PHP 4.0 Bug #6267 Updated: parse_str fails to parse strings

From: Date: Mon, 21 Aug 2000 14:25:44 +0000
Subject: Re: PHP 4.0 Bug #6267 Updated: parse_str fails to parse strings
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-30058@lists.php.net to get a copy of this message
Yes, please. :) This would make QA on 4.0.2 much easier. On Mon, 21 Aug 2000, Stanislav Malyshev wrote the following to Rasmus Lerdorf : > RL>> It should probably return an array in either case. When register_globals > RL>> is on it would also populate the current symbol table. One could even > RL>> argue that when register_globals is off then parse_str() should still be > RL>> able to populate the current symbol table as long as that current symbol > RL>> table is not the global one. ie. if used in a function it would create > RL>> variables in that function's scope. That would probably confuse people > RL>> though. > > I think returning an array (in either case) is a logical thing to do. This > will require some changes to php_treat_variables, so maybe it should be > done after 4.0.2. > >

« previous php.dev (#30058) next »