Hartmut Holzgraefe wrote:
> Yasuo Ohgaki wrote:
> 
>> Hi,
>>
>> I've updated function name that has been changed for PHP 4.2.0.
>> I need to know how to set appropriate version info to ref?
>>
>> I need to show
>>
>> pg_affected_rows
>> (PHP3, PHP 4.0.0)
>>
>> instead of
>>
>> pg_affected_rows
>> (PHP 4 CVS only)
> 
> 
> 
> the availability information is created by checking out *all*
> previous releases from CVS and parsing the source code
> 
> the function isn't known under its current name in previous
> versions, so the output is absolutely correct, and no, you
> *don't* want to change it
> 
> we might talk about adding stuff like
> 
>  pg_affected_rows
>  (PHP 4 CVS only, known as pg_cmdtuples in PHP3, PHP 4.0.0 - 4.1.2)
> 
> when i finally rewrite the function table generator that
> also generates the version files for the manual, but printing
> 
>  pg_affected_rows
>  (PHP3, PHP 4.0.0)
> 
> would be a ly, so no way this will ever happen

That's fine. I save a little time.

MySQL functions have also renamed recently. They
have fake version as you mentioned, I suppose.

So there should be is inconsistency. I don't mind
this inconsistency much, though.

We need to some poilcy, since I'm going to rename
remaining functions that do not confirm current
naming standard sometime before 4.3.0.

I hope I don't have to care about version, but

php_version
(PHP 4 CVS only)

does not look good to me...

 >  pg_affected_rows
 >  (PHP 4 CVS only, known as pg_cmdtuples in PHP3, PHP 4.0.0 - 4.1.2)

If this is possible, it would be great.

--
Yasuo Ohgaki


Reply via email to