Re: Re: PHP 4.0 Bug #5984 Updated: "define" function seems toignore the optional third parameter
| From: | @work) | Date: | Sat, 05 Aug 2000 15:36:00 +0000 |
| Subject: | Re: Re: PHP 4.0 Bug #5984 Updated: "define" function seems toignore the optional third parameter | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-27837@lists.php.net to get a copy of this message | ||
Jared Weinberger wrote:
>
> No, the Manual is quite clearly speaking about both, as indicated by the
> qualifier "(PHP3 , PHP4 )" after the name of the function and nowhere else.
> If PHP 3 doesn't have it, this should be indicated, e.g. "PHP4 Only" before
> the paragraph speaking about the optional third parameter.
The version qualifier is only for the function itself. If you look into
the function tables (http://zend.com/phpfunc/) for version 3 and 4 the
function prototypes looks identical for both versions. So there is no
need to change the documentation. If it is not working in version 3.0.16
so it is a bug.
-Egon
--
SIX Offene Systeme GmbH · Stuttgart - Berlin - New York
Sielminger Straße 63 · D-70771 Leinfelden-Echterdingen
Fon +49 711 9909164 · Fax +49 711 9909199 http://www.six.de