||*()*|| Hi, Antony.

>> >> >> The problem: Is there oci_collection_append() function in PHP5
>> >or> >> there is only a class method?
>> >> AD> There is only a class method both in PHP4 & PHP5.

>> >> You mean  OCI-Collection->ocicollappend() in PHP4 and
>> >>  OCI-Collection->append() in PHP5?
>> 
>> no, OCI-Collection->>append() in both cases.
>> 
>> Well, then what's the difference between oci_collection_append() and
>> ocicollappend() ?  Why ocicollappend() is deprecated?

AD> oci_* functions were introduced because old-style oci* doesn't comply with 
AD> common PHP naming conventions.
AD> as you can see, ocicollappend() was left just as alias.

I can see, that ocicollappend is non-functional, because it is not connected to
object. Does this function name exist only in documentation?
Is oci_collection_append() not a real function too and can't be called
from PHP?

I mean can we safely rename them to OCI-Collection->append and forget
about oci_collection_append() and ocicollappend() without breaking
something and confusing users since it is impossible to call these
functions from PHP?
      

t
-- 

Reply via email to