Re: Re: [ANNOUNCEMENT] Structures_DataGrid-0.7.0 (beta) Released.

From: Date: Tue, 20 Jun 2006 19:52:58 +0000
Subject: Re: Re: [ANNOUNCEMENT] Structures_DataGrid-0.7.0 (beta) Released.
References: 1 2 3 4 5 6 7 8 9  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-3847@lists.php.net to get a copy of this message
Pierre wrote: > [...] That's what php_compat should be, a copy/paste package (in most > cases) :-) Just to avoid another QA issue: http://pear.php.net/manual/en/standards.naming.php states that function names should be prefixed by the package name. While Olivier used for the 0.7.1 Structures_DataGrid_http_build_query() as the name for the copied function from PHP_Compat, for efficiency reasons it would be better to directly use the PHP_Compat and do it like this: if (!function_exists('http_build_query')) { function http_build_query($formdata, $numeric_prefix = null) { This would use the native http_build_query() when people use PHP 5. Can we therefore ignore the following warning that the PEAR installer gives while packaging? | Warning: in Renderer.php: function "http_build_query" not prefixed | with package name "Structures_DataGrid" Regards, Mark

« previous php.pear.qa (#3847) next »