Re: [PATCH] Deprecate use of stdio
| From: | Rasmus Lerdorf | Date: | Sun, 04 May 2003 16:14:45 +0000 |
| Subject: | Re: [PATCH] Deprecate use of stdio | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1213@lists.php.net to get a copy of this message | ||
On Sun, 4 May 2003, Jani Taskinen wrote:
> Anyway, after testing 4.2.3, it might be better to revert the 20796 fix
> after all. It's less of PITA having them all in both POST/GET than
> not having some at all in REQUEST nor in the global variable.
>
> Best of course would be if this was fixed properly.. :I
I think Ilia's fix needs to stay in. It looks to me like the correct fix
is to do an is_array() check on the symboltable2 assignment. If it is an
array, then do a hash_find to see if it is already there. If it is, we
add to that array, otherwise we just use the given zval as it is the first
array element in that case.
Ok, now to code my pseudo-code...
-Rasmus