Code Comments
Programming Forum and web based access to our favorite programming groups.> By the way, does php.net search allow to search through function aliases? > In PHP5 ocilogon() is alias of oci_connect() and I know, I need to mention this in doc, but how it can help? > > --- > WBR, > Antony Dovgal aka tony2001 > tony2001@phpclub.net || antony@dovgal.com > Take a look at reference/filesystem/fputs.xml for example or http://php.net/manual/en/function.fputs.php Nuno
Post Follow-up to this message> > Take a look at reference/filesystem/fputs.xml for example or > > I believe, this is somewhat different. > In PHP5 old names were left only for BC, so this example looks closer for me (look at the bottom of the page): > http://www.php.net/manual/en/functi...-field-name.php I don't know. Which do you prefer? Maybe having just that bottom note its ok.
Post Follow-up to this message> Maybe. > Will it be enough to mention, that function names were changed in PHP5, but old names still can be used ? > Or it's better to restore previously removed files with old names and change them to point to new names? We will not receive many answers because it seems that everybody is off the w. Restoring all the files will create lots of confusion, because I think they were many. Just add a note saying that the function was preveously named xxx. And has he name of the functions are exactly the name, excluding the _, people will find the new funtions easily. Nuno
Post Follow-up to this message>>Restoring all the files will create lots of confusion, because I think they > > No, they will not find ocilogon(), because now it's called oci_connect(). > And there are some more similar examples. > > But I agree, this looks like the best way to do it. A more problematic question is how people using PHP 4 for a long time find the old functions... Goba
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.