Re: [PATCH] for oci8 and some improvement proposals
| From: | Antony Dovgal | Date: | Mon, 08 Dec 2003 11:11:07 +0000 |
| Subject: | Re: [PATCH] for oci8 and some improvement proposals | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6283@lists.php.net to get a copy of this message | ||
On Mon, 8 Dec 2003 11:46:02 +0100
"Thies C.Arntzen" <thies@thiesos.org> wrote:
> Am 08.12.2003 um 10:12 schrieb Antony Dovgal:
> >
> > so should I add oci_lobgetlen() instead of OCILobGetLength calls after
> > this statement?
> > or this code is considered to be working and should not be changed
> > anymore?
> >
> > and what about deprecating old syntax, that doesn't meet naming
> > conventions?
> >
>
> i don't think we should break the current style. so just use
> "OCILobGetLength" and
It seems, that you misunderstood me.
I meant this:
Almost every function, that deals with Lobs, calls OciLobGetLength every time it's being
called.
And I propose to use oci_lobgetlen(), which will decide - is it necessary to call OciLobGetLength or
we can get length from Lob's descriptor.
> - if you feel like it - then change all the
> function names to match the std naming-conventions but keep the old
> names as aliases for bc.
ok, it's obvious.
> as jani has taken me out of the MAINTAINER file (without asking me)
> you're welcome to take over maintainership for this piece of code. i'd
> be willing to assist you if you have any questions.
indeed, oci8 extension is marked as orphaned ATM..
but for some reasons I thought, that you and Maxim are current maintainers of it.
and I don't think I'm currently able to maintain it (especially without your and Maxim
active help).
> quick note about deprecating "old" syntax: we have a long history of
> keeping deprecated things in forever. would you change functions names
> in a big php-site you have created just for the sake of it? i
> certainly woudn't. don't get me wrong, if you want to create new names
> for the functions that's fine by me, but make _very_ sure you don't
> screw people.
I suppose, it's a kind of deprecation, that will last till PHP6 =)
---
WBR,
Antony Dovgal aka tony2001
tony2001@phpclub.net