Re: [PHP-DEV] E_NOTICE should warn of uninitialized arrays

2005-11-01 Thread Sharif Ibrahim
On 11/1/05, Jakub Vrana <[EMAIL PROTECTED]> wrote: > Hello! > > E_NOTICE warns of uninitialized variables but doesn't warn of adding > elements to an uninitialized array ($a[] = 5). It is a very similar > problem so E_NOTICE should warn of it either. > > It's the same bad practice as working with u

[PHP-DEV] http_build_query and arg_separator.output

2005-03-23 Thread Sharif Ibrahim
In the manual, http_build_query's documented behavior is to generate a "URL-encoded query string." The documentation does not specify what is used as a separator between the array elements, but testing and/or source perusal easily show that it is arg_separator.output. This makes sense when genera