Re: deprecated functions

From: Date: Thu, 06 Oct 2011 14:50:28 +0000
Subject: Re: deprecated functions
References: 1 2 3 4  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-12325@lists.php.net to get a copy of this message
On Thu, Oct 6, 2011 at 4:45 PM, Hannes Magnusson <hannes.magnusson@gmail.com> wrote: > On Thu, Oct 6, 2011 at 16:39, Ferenc Kovacs <tyra3l@gmail.com> wrote: >> On Thu, Oct 6, 2011 at 4:32 PM, Hannes Magnusson >> <hannes.magnusson@gmail.com> wrote: >>> On Tue, Oct 4, 2011 at 03:50, Arthur Berkell <berkell@seattleluxe.com> wrote: >>>> You are quick to point out deprecated functions.  But you never give a clue as to >>>> what might be used instead!!! >>>> >>> >>> Is there a specific function that info is missing? >>> I think we generally point to the preferred alternatives. >> >> maybe ereg? >> Deprecated: Function split() is deprecated in Command line code on line 1 > > Ouh, I thought he meant in the docs. > We don't mention which alternatives available in the errormsg as there > could be so many. > > You should "get more info" by looking up the docs, just like you would > with any other error. Deprecated: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of foo(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in Command line code on line 1 or dl() is deprecated - use extension=%s in your php.ini so occasionally we do, and maybe we could for those cases where the migration is easy/straightforward (split-> explode/preg_split) but from Arthurs reply it seems that he also referred the manual. -- Ferenc Kovács @Tyr43l - http://tyrael.hu

« previous php.webmaster (#12325) next »