For Programmers: Free Programming Magazines  


Home > Archive > PHP PEAR Questions and Answers > June 2006 > Re: [PEAR] [ANNOUNCEMENT] Structures_DataGrid-0.7.0 (beta) Released.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] [ANNOUNCEMENT] Structures_DataGrid-0.7.0 (beta) Released.
Justin Patrin

2006-06-19, 7:04 pm

On 19 Jun 2006 16:20:04 -0000, PEAR Announce <pear-dev@lists.php.net> wrote:
> The new PEAR package Structures_DataGrid-0.7.0 (beta) has been released at http://pear.php.net/.


Sorry for the cross-post, but this is both a QA and a dev issue possibly.

[snip]
> The query building process has been optimized, and is now more
> flexible due to the use of http_build_query(). This adds a
> new dependency: PHP_Compat >= 1.4.1.


This is troubling for 2 reasons:

1) NO package should depend on PHP_Compat. PHP_Compat is a package
which allows people to try to run packages on an earlier version of
PHP than is required. If you want to use PHP's http_build_query please
update the PHP dependency to PHP5 and suggest PHP_Compat (optional
dep) or drop the PHP_Compat and have your own version of
http_build_query which you use if PHP < 5. Again, I may be wrong, but
PHP_Compat was IIRC never supposed to be a dependency for any package.

2) Well, we covered this before and there is a workaround to the
arg_sep.output thing due to my previous nagging. :-) Thanks. One
thing, though, I think it might be more appropriate to use:
ini_get('arg_separator.output') != '&'


[snip]

--
Justin Patrin
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com